UNPKG

2.01 kBMarkdownView Raw
11.0.1 / 2014-05-23
2------------------
3
4- Fixed partials locale for generated cache/
5- `hasPhrase()` fix for `noFollback = true`.
6
7
81.0.0 / 2014-05-23
9------------------
10
11- Big rewrite with api change. Internal data simplified. Phrases are now
12 compiled in lazy way on `translate()` call.
13- Deprecated `getCompiledData()`, `create()`.
14- Constructor function can be called as factory (without `new`).
15- Added `load()` method in pair to `stringify()`.
16- `stringify()` now save fallback info too.
17- `hasPhrase()` option `noFallback` to disable phrase search in fallbacks.
18
19
200.6.0 / 2014-05-21
21------------------
22
23- Coerce plain strings & numbers params to `count` & `value` in `translate()`.
24- Added bower support.
25
26
270.5.0 / 2014-05-20
28------------------
29
30- Added variables support in plurals.
31- Added zero-form and other strict numbers forms for plurals.
32- Coerce number XXX to { count: XXX } in `translate()`;
33
34
350.4.0 / 2014-05-15
36------------------
37
38- Added objects support. Now `addPhrase()` can also accept `Number`, `Array`,
39 `Boolean` and `Object`. That allows to store i18n data for external libs
40 (calendars, time/date generators, ...), when flattened keys format is not ok.
41
42
430.3.0 / 2014-04-01
44------------------
45
46- Added `stringify` method.
47- Drop browser build. Use browserify and other tools.
48- Changed internal storage format to generate more compact dumps.
49- Some speed opts.
50
51
520.2.0 / 2013-04-01
53------------------
54
55- Drop `defaultLocale` public property.
56
57
580.1.3 / 2013-03-19
59------------------
60
61- Migrated tests to mocha
62- Fixed docs errors
63- Added params check to `getCompiledData()`
64- Drop `underscore` dependency.
65- Change browserifier to `webmake`.
66
67
680.1.2 / 2012-10-23
69------------------
70
71- Fixed handling 0 in #{variables}, thanks to @elmigranto
72- Updated README samples
73
74
750.1.1 / 2012-10-15
76------------------
77
78- Refactor internal storage
79- Fix flattenParams()
80- Improved error reporting on missing params
81- Add hasPhrase()
82
83
840.1.0 / 2012-08-14
85------------------
86
87- Initial release