All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Fall back to default locale when translation is missing
- Remove support for unstructured translations
- Add support for default locales and translation fallback chains
- Return
nil
for unitialised embed in struct - Minor fixes, typos and dependency updates
- Update dependencies to avoid compilation warnings
- Migrate from CircleCI to GitHub Actions
- Allow translating entire structs
- Add translate!/3 function to raise if a translation does not exist
- Allow saving translations into embedded_schemas
- Improve docs
- Enable locale to be passed as a string
- Update ExDoc dependency
- Remove Faker dependency
- Update
Ecto
dependency to 3.0 version
- Remove
Module.eval_quoted
calls. - Migrate to CircleCI
- Add Apache 2.0 License
- Use Elixir formatter
- Update canonical URLs to GitHub repository
## 2.0.2 - 2017-09-29
- Support Elixir 1.5 and Erlant/OTP 20.
- Fix bug when passing the locale in a variable to
Trans.QueryBuilder.translated/3
.
- Relax
Poison
dependency version restriction. - Integrate Ebert for code style checks and static analysis.
- Fix typos and mistakes in README.
- Rewrite the
Trans
module to use underscore functions to store configuration. - Rewrite the
QueryBuilder
module to unify previous functions into a single macro with compile time checks. Translations can now be used directly when building queries and are compatible with functions and macros provided byEcto.Query
andEcto.Query.Api
. - Update the
Translator
module to use the new underscore functions. - Update documentation and improve the tests.
- Make
Ecto
an optional dependency. IfEcto
is not available theQueryBuilder
module will not be compiled.
- Remove
earmark
as a direct dependency since it is already required byex_doc
. - Remove warnings when compiling with Elixir 1.4.
- Adds contribution guidelines detailed in
CONTRIBUTING.md
.
- New testing environments for Travis CI.
- The project has now a changelog.
- Improved documentation.
- Improved README.
- Support for Ecto 2.0.
- Initial release with basic functionality and documentation.