File: HISTORY.md

package info (click to toggle)
node-humanize-duration 3.33.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 548 kB
  • sloc: javascript: 2,155; makefile: 9
file content (265 lines) | stat: -rw-r--r-- 5,408 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
# 3.33.0 / 2025-06-05

- new: Serbian Latin support (`sr_Latn`)

# 3.32.2 / 2025-05-12

- fix: use "週間" instead of "週" in Japanese (see [#230](https://github.com/EvanHahn/HumanizeDuration.js/pull/230))

# 3.32.1 / 2024-05-25

- fix: hide unit count if 2 in Arabic (see [#222](https://github.com/EvanHahn/HumanizeDuration.js/issues/222))

# 3.32.0 / 2024-03-29

- new: Amharic support (`am`)
- change: use `Object.assign` internally on newer runtimes, which should be slightly faster

# 3.31.0 / 2023-11-10

- new: Central Kurdish support (`ckb`)

# 3.30.0 / 2023-09-17

- new: Uzbek support (`uz` and `uz_CYR`)

# 3.29.0 / 2023-07-09

- new: `digitReplacements` option
- change: cleaned up documentation
- change: shrank package size slightly

# 3.28.0 / 2023-01-14

- new: Mongolian support (`mn`)

# 3.27.3 / 2022-08-26

- fix: ordering for Swahili (see [#207](https://github.com/EvanHahn/HumanizeDuration.js/issues/207))

# 3.27.2 / 2022-05-26

- change: shrank package size slightly

# 3.27.1 / 2021-12-05

- fix: Japanese word for "month" (see [#203](https://github.com/EvanHahn/HumanizeDuration.js/pull/203))

# 3.27.0 / 2021-06-06

- change: use Arabic numerals, delimiters, and updated words (see [#198](https://github.com/EvanHahn/HumanizeDuration.js/pull/198) and [#199](https://github.com/EvanHahn/HumanizeDuration.js/pull/199))

# 3.26.0 / 2021-05-03

- new: Afrikaans support (`af`)
- new: Albanian support (`sq`)
- new: Basque support (`eu`)
- new: Bengali support (`bn`)
- new: Esperanto support (`eo`)
- new: Kannada support (`kn`)
- new: Khmer support (`km`)
- new: Kurdish support (`ku`)
- new: Macedonian support (`mk`)
- new: Marathi support (`mr`)
- new: Serbian support (`sr`)
- new: Tamil support (`ta`)
- new: Telugu support (`te`)
- new: Welsh support (`cy`)
- fix: invalid syntax (trailing commas) for old browsers

# 3.25.2 / 2021-04-17

- fix: Thai word for "week" is now less colloquial (see [#196](https://github.com/EvanHahn/HumanizeDuration.js/pull/196))

# 3.25.1 / 2021-01-07

- fix: Slovenian might return `undefined` for weeks (see [#194](https://github.com/EvanHahn/HumanizeDuration.js/issues/194))

# 3.25.0 / 2020-12-07

- new: Slovenian support

# 3.24.0 / 2020-10-01

- new: Hindi support

# 3.23.1 / 2020-06-11

- change: removed extra check when humanizing Arabic
- change: simplify logic for Latvian

# 3.23.0 / 2020-05-21

- new: Swahili support

# 3.22.0 / 2020-02-28

- new: Hebrew support

# 3.21.0 / 2019-09-26

- new: Færøsk support

# 3.20.1 / 2019-07-28

- fix: if `decimal` is missing in a language, use `.` (see [#160](https://github.com/EvanHahn/HumanizeDuration.js/issues/160))

# 3.20.0 / 2019-07-17

- new: Latvian support
- fix: better handle properties that happen to also be on `Object.prototype`

# 3.19.0 / 2019-07-08

- new: Estonian support

# 3.18.0 / 2019-03-07

- new: `maxDecimalPoints` option

# 3.17.0 / 2019-01-06

- new: `fallbacks` option

# 3.16.0 / 2018-12-01

- new: Romanian support
- new: Thai support

# 3.15.3 / 2018-09-18

- fix: Greek should be `el`, not `gr`

# 3.15.2 / 2018-09-12

- fix: corrections for Arabic

# 3.15.1 / 2018-07-15

- fix: corrections for Croatian

# 3.15.0 / 2018-06-12

- new: Croatian support
- new: Lao support

# 3.14.0 / 2018-03-23

- new: Urdu support

# 3.13.0 / 2018-03-19

- new: Slovak support

# 3.12.1 / 2018-01-03

- fix: Ukranian translation for weeks was incorrect

# 3.12.0 / 2017-11-07

- new: Bulgarian support

# 3.11.0 / 2017-10-25

- new: Persian/Farsi support

# 3.10.1 / 2017-07-21

- fix: use singular form from -2 to 2 in French

# 3.10.0 / 2016-11-29

- new: Icelandic support

# 3.9.1 / 2016-07-24

- fix: Russian and Ukranian fixes

# 3.9.0 / 2016-06-10

- new: Indonesian support
- new: Malay support

# 3.8.0 / 2016-05-19

- new: `conjunctions` and `serialComma` options

- update: improve documentation

# 3.7.1 / 2016-04-26

- fix: rounding had some more errors

# 3.7.0 / 2016-03-18

- new: Vietnamese support

# 3.6.1 / 2016-02-19

- update: readme should use single quotes

- fix: rounding had some errors (for example, you could get "1 day, 24 hours")
- fix: readme example was missing some quotes in its result

# 3.6.0 / 2016-02-12

- new: Lithuanian support

- fix: add trailing semicolon to improve concatenation with other libraries

# 3.5.0 / 2016-01-13

- new: Finnish support
- new: recommend [millisec](https://github.com/sungwoncho/millisec) module in readme

# 3.4.0 / 2015-12-11

- new: Czech support

- update: minor performance improvements
- update: add "related modules" section to readme

- fix: add Greek to readme

# 3.3.0 / 2015-08-05

- new: `unitMeasures` option

# 3.2.1 / 2015-07-22

- fix: document `largest` option

# 3.2.0 / 2015-07-15

- new: Ukrainian support

- fix: things would break in global strict mode

# 3.1.0 / 2015-06-25

- new: Greek support

# 3.0.0 / 2015-05-29

- new: `largest` option to get largest units

- update: languages can change decimal point (which can be overridden)
- update: fix some unintuitive `round` behavior
- update: specify units in shorthand rather than longhand
- update: use the Unlicense
- update: `nob` is now `no`
- update: use underscores instead of dashes for Chinese

- remove: half units

# 2.8.0 / 2015-05-10

- new: `getSupportedLanguages`

# 2.7.0 / 2015-05-08

- new: changelog
- new: Arabic support
- new: Italian support

- remove: (spoken) languages from package.json keywords