# Marten 0.2 has been released!

**URL:** https://forum.crystal-lang.org/t/marten-0-2-has-been-released/5372
**Category:** News
**Created:** [February 11, 2023, 6:01pm UTC](https://forum.crystal-lang.org/t/marten-0-2-has-been-released/5372 "2023-02-11T18:01:53Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ellmetha](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.crystal-lang.org/ellmetha/32/1797_2.png) [@ellmetha](https://forum.crystal-lang.org/u/ellmetha)
#### Post date: [February 11, 2023, 6:01pm UTC](https://forum.crystal-lang.org/t/marten-0-2-has-been-released/5372/1 "2023-02-11T18:01:53Z")

</div>

Hey everyone! 👋

I am glad to announce that [Marten **0.2**](https://martenframework.com/docs/the-marten-project/release-notes/0.2) has been released! 🚀

**TL;DR**

[Marten](https://martenframework.com) is a Crystal web framework that makes building web applications easy, productive, and fun. The **0.2** release adds key features to the framework such as authentication, email sending, raw SQL query capabilities, … You can check out the [full changelog](https://martenframework.com/docs/the-marten-project/release-notes/0.2) for an overview of all the new features and changes that are part of this release.

**Main new features**

- [**Email sending**](https://martenframework.com/docs/emailing) - Marten now allows the definition of [emails](https://martenframework.com/docs/emailing) that can be fully customized (properties, header values, etc) and whose bodies (HTML and/or text) are rendered by leveraging [templates](https://martenframework.com/docs/templates).
- [**Authentication**](https://martenframework.com/docs/authentication) - The framework now provides the ability to generate projects with a [built-in authentication application](https://martenframework.com/docs/authentication) that handles basic user management needs: signing in/out users, resetting passwords, etc. This can be achieved through the use of the `--with-auth` option of the [`new`](https://martenframework.com/docs/development/reference/management-commands#new) management command.
- [**Raw SQL capabilities**](https://martenframework.com/docs/models-and-databases/raw-sql) - Query sets now provide the ability to perform raw SQL queries that are mapped to actual model instances.
- **Email field for models and schemas** - It is now possible to define `email` fields in [models](https://martenframework.com/docs/models-and-databases/reference/fields#email) and [schemas](https://martenframework.com/docs/schemas/reference/fields#email). These allow you to easily persist valid email addresses in your models but also to expect valid email addresses in data sets validated through the use of schemas.
- **Transaction callbacks** - Models now support the definition of transaction callbacks by using the [`#after_commit`](https://martenframework.com/docs/models-and-databases/callbacks#aftercommit) and [`#after_rollback`](https://martenframework.com/docs/models-and-databases/callbacks#afterrollback) macros.

**What’s next?**

The Marten framework is still young, and as such, I am still looking for feedback from people who would like to play with it and/or leverage it in simple projects!

If you find a bug or if you want to contribute and share ideas regarding the framework, don’t hesitate to open an issue/discussion in the [project’s issue tracker on GitHub](https://github.com/martenframework/marten/issues/new/choose) or chat with us in our [Discord](https://martenframework.com/chat). Any help will be greatly appreciated! 🙏

And if you are new to Marten, here are a few ideas on how you can get started:

- Check out the [Marten GitHub repository](https://github.com/martenframework/marten)
- Check out the [official documentation](https://martenframework.com/docs)
- Ask for help or chat with the community in our [Discord](https://martenframework.com/chat)

_Thanks for reading me!_
