What does the Church teach about suicide?

Did the Catholic Church EVER teach that committing suicide you would go to hell?
and if so, when was this teaching change?

The following link links should assist you in better understanding the Catholic Church’s teaching on the salvation of those who commit suicide. If you have any further questions or concerns that are not answered by these links, please contact Catholic Answers directly.
Recommended Reading:

*]Is my grandmother in hell because she committed suicide?
*] Can culpability be completely mitigated in a suicide?
*] How do I answer my children’s questions about suicide?

DISCLAIMER: The views and opinions expressed in these forums do not necessarily reflect those of Catholic Answers. For official apologetics resources please visit www.catholic.com.