UNPKG

2.87 kBMarkdownView Raw
11.2.0 / 2020-05-19
2------------------
3
4- Maintenance release.
5- Dev deps bump.
6- Reorganize files.
7- Rework build scripts.
8
9
101.1.2 / 2015-12-29
11------------------
12
13- Allow empty prefix when adding phrases via nested objects.
14- Fixed doc for `.load()` method.
15- `.addPhrase()`, `.setLocale()` & `.load()` now return `this`.
16
17
181.1.1 / 2015-03-22
19------------------
20
21- Added `.getLocale()` method, to check real locale of requested phrase.
22
23
241.1.0 / 2015-02-01
25------------------
26
27- Moved pluralizer to external package `plurals-cldr`.
28- Fixed fallbacks serialize/load.
29- Allow `|` escaping.
30- Recompiled REG parser with speed optimization.
31- Reorganized tests:
32 - moved as much as possible to fixtures
33 - 100% coverage
34 - coveralls reports
35
36
371.0.2 / 2014-06-05
38------------------
39
40- Fixed pluralizer for locale names with low dash separator ("en_US").
41
42
431.0.1 / 2014-05-23
44------------------
45
46- Fixed partials locale for generated cache.
47- `hasPhrase()` fix for `noFallback = true`.
48
49
501.0.0 / 2014-05-23
51------------------
52
53- Big rewrite with api change. Internal data simplified. Phrases are now
54 compiled in lazy way on `translate()` call.
55- Deprecated `getCompiledData()`, `create()`.
56- Constructor function can be called as factory (without `new`).
57- Added `load()` method in pair to `stringify()`.
58- `stringify()` now save fallback info too.
59- `hasPhrase()` option `noFallback` to disable phrase search in fallbacks.
60
61
620.6.0 / 2014-05-21
63------------------
64
65- Coerce plain strings & numbers params to `count` & `value` in `translate()`.
66- Added bower support.
67
68
690.5.0 / 2014-05-20
70------------------
71
72- Added variables support in plurals.
73- Added zero-form and other strict numbers forms for plurals.
74- Coerce number XXX to { count: XXX } in `translate()`;
75
76
770.4.0 / 2014-05-15
78------------------
79
80- Added objects support. Now `addPhrase()` can also accept `Number`, `Array`,
81 `Boolean` and `Object`. That allows to store i18n data for external libs
82 (calendars, time/date generators, ...), when flattened keys format is not ok.
83
84
850.3.0 / 2014-04-01
86------------------
87
88- Added `stringify` method.
89- Drop browser build. Use browserify and other tools.
90- Changed internal storage format to generate more compact dumps.
91- Some speed opts.
92
93
940.2.0 / 2013-04-01
95------------------
96
97- Drop `defaultLocale` public property.
98
99
1000.1.3 / 2013-03-19
101------------------
102
103- Migrated tests to mocha.
104- Fixed docs errors.
105- Added params check to `getCompiledData()`.
106- Drop `underscore` dependency.
107- Change browserifier to `webmake`.
108
109
1100.1.2 / 2012-10-23
111------------------
112
113- Fixed handling 0 in #{variables}, thanks to @elmigranto.
114- Updated README samples.
115
116
1170.1.1 / 2012-10-15
118------------------
119
120- Refactor internal storage.
121- Fix flattenParams().
122- Improved error reporting on missing params.
123- Add hasPhrase().
124
125
1260.1.0 / 2012-08-14
127------------------
128
129- Initial release.