1 | 1.2.0 / 2020-05-19
|
2 | ------------------
|
3 |
|
4 | - Maintenance release.
|
5 | - Dev deps bump.
|
6 | - Reorganize files.
|
7 | - Rework build scripts.
|
8 |
|
9 |
|
10 | 1.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 |
|
18 | 1.1.1 / 2015-03-22
|
19 | ------------------
|
20 |
|
21 | - Added `.getLocale()` method, to check real locale of requested phrase.
|
22 |
|
23 |
|
24 | 1.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 |
|
37 | 1.0.2 / 2014-06-05
|
38 | ------------------
|
39 |
|
40 | - Fixed pluralizer for locale names with low dash separator ("en_US").
|
41 |
|
42 |
|
43 | 1.0.1 / 2014-05-23
|
44 | ------------------
|
45 |
|
46 | - Fixed partials locale for generated cache.
|
47 | - `hasPhrase()` fix for `noFallback = true`.
|
48 |
|
49 |
|
50 | 1.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 |
|
62 | 0.6.0 / 2014-05-21
|
63 | ------------------
|
64 |
|
65 | - Coerce plain strings & numbers params to `count` & `value` in `translate()`.
|
66 | - Added bower support.
|
67 |
|
68 |
|
69 | 0.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 |
|
77 | 0.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 |
|
85 | 0.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 |
|
94 | 0.2.0 / 2013-04-01
|
95 | ------------------
|
96 |
|
97 | - Drop `defaultLocale` public property.
|
98 |
|
99 |
|
100 | 0.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 |
|
110 | 0.1.2 / 2012-10-23
|
111 | ------------------
|
112 |
|
113 | - Fixed handling 0 in #{variables}, thanks to @elmigranto.
|
114 | - Updated README samples.
|
115 |
|
116 |
|
117 | 0.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 |
|
126 | 0.1.0 / 2012-08-14
|
127 | ------------------
|
128 |
|
129 | - Initial release.
|