Releases: crbelaus/trans
Releases · crbelaus/trans
3.0.1
3.0.0
This release bumps the major version as there are multiple backwards incompatible changes with the 2.x series:
- Unstructured translations are not supported anymore
- Support fallback chains when resolving translations
- Require a default locale when using Trans
- Return
nil
for unitialised embed in struct
Additionally:
- The minimum Elixir version to use Trans is 1.11
- There are multiple fixes, doc improvements and test refactors
2.3.0
This release incorporates some interesting new functionality:
- Allow using embedded schemas for structured translations. This is now the preferred way of using Trans
- Allow translating entire structs using the new
translate/2
function - Raise if a translation does not exist when using the new
translate!/3
function - Documentation imrovements
Additionally:
- Trans now requires Elixir 1.7 or higher
- Tests have been migrated from CircleCI to GitHub Actions
- Trans dependencies have been updated to avoid compilation warnings
2.2.0
2.1.0
2.0.4
2.0.3
This is a very minor release which simply updates the cannonical URLs to the GitHub repository in the documentation and in hex.pm project page.
2.0.2
2.0.1
2.0.0
This article explains the changes, improvements and future plans for Trans.
This version of Trans contains a profound rewrite of all its components in order to provide a smaller, safer and more usable interface.
The main changes of this release are:
The full list of changes discussed and implemented in this release can be viewed here. The release was also announced on Twitter