Skip to content

Commit

Permalink
publish v3
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarotero committed Nov 3, 2019
1 parent 6fb27dd commit 494a416
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [3.0.0] - Unreleased
## [3.0.0] - 2019-11-03
### Added
- Support for ES6 modules.
- The long functions (gettext, ngettext, etc) supports arguments to format the result (before, only short functions __, n__, etc had this)
- You can use objects to format the text by search and replace. For example: `t.gettext('Hello _world', {_world: 'World'})`

### Removed
- Support for AMD.
- Support for AMD and Global js.
- Sprintf dependency by default. Now the library has a (very) limited sprintf implementation but open to extend and improved.

## 2.1.0 - 2018-06-12
Expand All @@ -21,4 +21,4 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

[#4]: https://github.com/php-gettext/gettext-translator/issues/4

[3.0.0]: https://github.com/php-gettext/gettext-translator/compare/v2.1.0...HEAD
[3.0.0]: https://github.com/php-gettext/gettext-translator/compare/v2.1.0...v3.0.0

0 comments on commit 494a416

Please sign in to comment.