Whenever I want the official word on what Allah's will is in any matter, I reach right for the authoritative, officially approved exposition of shari'ah, the 14th century "Reliance of the Traveller." And there I find this, under part "o", entitled "Justice":
o8.1 When a person who has reached puberty and is sane voluntarily apostasizes from Islam, he deserves to be killed.
o8.2 In such a case, it is obligatory for the Caliph (or his representative) to ask him to repent and return to Islam. If he does, it is accepted from him, but if he refuses, he is immediately killed.
Allah doesn't take kindly to fornication or sodomy, either. We are told in o12.2 that if the offender is sane, has reached the age of puberty, and has the capacity to remain chaste--meaning the person has had sexual intercourse at least once with their spouse in a legal marriage--then "he or she is stoned to death." You get off lighter if you did not have the capacity to remain chaste, which can happen under several circumstances. In that case, the penalty is being scourged one hundred stripes and then being banished to a distance of at least fifty miles for one year.