Skip to content

Commit 3910912

Browse files
author
Oscar Otero
committed
updated changelog
1 parent 0196f8a commit 3910912

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

CHANGELOG.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,20 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

8-
## 2.1.0 - 2018-06-12
9-
8+
## [3.0.0] - Unreleased
109
### Added
10+
- Support for ES6 modules.
11+
- The long functions (gettext, ngettext, etc) supports arguments to format the result (before, only short functions __, n__, etc had this)
12+
- You can use objects to format the text by search and replace. For example: `t.gettext('Hello _world', {_world: 'World'})`
13+
14+
### Removed
15+
- Support for AMD.
16+
- Sprintf dependency by default. Now the library has a (very) limited sprintf implementation but open to extend and improved.
1117

18+
## 2.1.0 - 2018-06-12
19+
### Added
1220
- Allow to include the plural function in the translations to prevent CSP errors [#4]
1321

14-
[#4]: https://github.com/oscarotero/gettext-translator/issues/4
22+
[#4]: https://github.com/php-gettext/gettext-translator/issues/4
1523

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

0 commit comments

Comments
 (0)