1 | Changelog
|
2 | =========
|
3 |
|
4 | ### next (upcoming)
|
5 |
|
6 |
|
7 | ### 3.0.0
|
8 |
|
9 | This is a major release because of these following minor/ breaking cleanups:
|
10 |
|
11 | * Renamed method getDisplayName to displayName for
|
12 | * WeekFields
|
13 | * DayOfWeek
|
14 | * Month
|
15 | * IsoFields
|
16 | * Removed duplicate function YearMonth.with(number, number)
|
17 | * YearMonth.with(year, month), use YearMonth.of() instead
|
18 | * YearMonth.withYearMonth(year, month), use YearMonth.of() instead
|
19 |
|
20 | All updates:
|
21 |
|
22 | * Implement OffsetTime and OffsetDateTim #416 by exoego
|
23 | * TS types reorganized and documentation added #418 by InExtremaRes
|
24 | * Fix isBrowserTest check #419 by pithu
|
25 | * Duration#(minus|plus) should accept TemporalUnit, not just ChronoUnit #417 by exoego
|
26 | * TS types refactor part 1 #415 by InExtremaRes
|
27 | * Remove YearMonth#with that takes (number, number) #412 by InExtremaRes
|
28 | * Fixes and cleanups to TemporalFields and TemporalUnits #408 by InExtremaRes
|
29 | * Switch to travis-ci.com #409 by pithu
|
30 | * Error base name changed to "JsJodaException" and exceptions exposed in TS #407 by InExtremaRes
|
31 | * Some fixes to TS declarations #404 by InExtremaRes
|
32 | * remove android saucelabs test setup #403 by pithu
|
33 | * Fix TS declarations of some TemporalAdjuster implementations (like DayOfWeak) #402 by InExtremaRes
|
34 | * Fixed types of DateTimeFormatterBuilder.prototype.toFormatter to allow zero arguments #388 by InExtremaRes
|
35 | * Add missing types for Clock.offset() #387 by InExtremaRes
|
36 | * Added missing nanoAdjustment to Duration.ofSeconds static method #383 by jseter
|
37 | * changed bitwise or to logical or #379 by bowersj
|
38 | * Add Typescript for IsoChronology.INSTANCE #373 by cranberyxl
|
39 | * Remove `withTemporalAdjuster` and others non-public methods from TS declaration #363 by InExtremaRes
|
40 |
|
41 | ### 2.0.0
|
42 |
|
43 | This is a major release because some 'internal' methods were hidden from the typescript definitions
|
44 | and were renamed in the javascript code.
|
45 | Resolve those conflicts by using the 'public shorthand' methods, like instead of using `with*()` use `with(...)`.
|
46 |
|
47 | * Improve of the TS declarations #353 from InExtremaRes
|
48 | * Add missing methods to `Temporal` interface #361 from thrucker
|
49 | * LocalDateTime.of requires at least 3 arguments #356
|
50 |
|
51 | ### 1.12.0
|
52 |
|
53 | * Cleanup documentation and configuration
|
54 | * Upgrade dependencies
|
55 | * Add ISO formatters definitions #358 akonior/iso-formetters
|
56 | * Improve TS declarations with no breaking change #357 InExtremaRes/ts-declarations
|
57 | * Fixes to docu and LocalDateTime.of() according to the typescript changes #359
|
58 |
|
59 | ### 1.11.0
|
60 |
|
61 | * Added ts defs for new methods in DayOfWeek and Month #301
|
62 | * add method params for #appendValue and #appendValueReduced #288
|
63 | * add type definition for ChronoUnit.NANOS #296
|
64 | * Add ZoneRulesProvider TypeScript definition #317
|
65 | * Add type definition for Instant.atZone #313
|
66 |
|
67 | ### 1.10.1
|
68 |
|
69 | * implement methods on DayOfWeek and Month #300
|
70 | * Adding private constructors and abstract modifiers to TypeScript definitions #298
|
71 |
|
72 | ### 1.9.3
|
73 |
|
74 | * fix typescript definitions: add `ZoneId#id()` #265
|
75 | * fix typescript definitions: Fix DateTimeFormatter.withLocale() #277
|
76 | * Remove unreachable code #278
|
77 | * add package-lock for dev dependencies
|
78 |
|
79 | ### 1.9.2
|
80 |
|
81 | #### public API
|
82 |
|
83 | * implement atZone in Instant
|
84 | * Add DateTimeParseException to typings file
|
85 |
|
86 | ### 1.9.1
|
87 |
|
88 | #### dependency updates
|
89 |
|
90 | * revert babel to previous version
|
91 |
|
92 | ### 1.9.0
|
93 |
|
94 | #### public API
|
95 |
|
96 | * add OffsetClock and add withZone and equals to other Clock impls
|
97 |
|
98 | #### bugfixes
|
99 |
|
100 | * fix error when parsing dates from string with e.g. WeekOfWeekbasedYear fields
|
101 | * fix call to `substring` in generating error message when parsing
|
102 |
|
103 | #### dependency updates
|
104 |
|
105 | ### 1.8.2
|
106 |
|
107 | #### public API
|
108 |
|
109 | * add ESM module to pkg.module build with rollup
|
110 |
|
111 | #### dev setup
|
112 |
|
113 | * Migrate from webpack to rollup
|
114 |
|
115 | #### etc
|
116 |
|
117 | * Remove usage of module.exports
|
118 |
|
119 | #### dependency updates
|
120 |
|
121 | ### 1.7.0 1.7.1 1.8.0 1.8.1
|
122 |
|
123 | * issues with build artifacts, dont use it.
|
124 |
|
125 | ### 1.6.3
|
126 |
|
127 | #### public API
|
128 |
|
129 | * improve typescript definition (see PR #196)
|
130 |
|
131 | #### dependency updates
|
132 |
|
133 | ### etc
|
134 |
|
135 | * Remove usage of call on constructors
|
136 |
|
137 | ### 1.6.2
|
138 |
|
139 | #### public API
|
140 |
|
141 | * improve typescript definition (see PR #188)
|
142 |
|
143 | #### internal API
|
144 |
|
145 | * add `DateTimeBuilder` to internal API
|
146 |
|
147 | #### dependency updates
|
148 |
|
149 | ### 1.6.1
|
150 |
|
151 | #### dependency updates
|
152 |
|
153 | #### bugs
|
154 |
|
155 | * fix issue #166, bug from upstream project, parse zoned date time during overlap
|
156 |
|
157 | ### 1.6.0
|
158 |
|
159 | #### public API
|
160 |
|
161 | * update API: export all public classes/interfaces
|
162 | * add `IsoChronology#date(temporal)` function
|
163 | * add export of "internal" APIs needed e.g. for plugins, these should *not* be used by users of the `js-joda` library.
|
164 | Since we do not consider these a public APIs, they may change without warning!
|
165 | These internal APIs are exported as the `_` object
|
166 |
|
167 | ### 1.5.5
|
168 |
|
169 | #### bugs
|
170 |
|
171 | * fix Period.ofDays() if called with none number string values
|
172 |
|
173 | #### public API
|
174 |
|
175 | * improve typescript definition
|
176 |
|
177 | ### 1.5.4
|
178 |
|
179 | #### public API
|
180 |
|
181 | * fail if temporals ar created with float values
|
182 | * fix typescript definition and esdoc
|
183 |
|
184 | #### dependency updates
|
185 |
|
186 | ### 1.5.2
|
187 |
|
188 | #### public API
|
189 |
|
190 | * fix LocalDate.now in typescript definition and esdoc
|
191 | * fix LocalTime static properties in typescript definition
|
192 |
|
193 | ### 1.5.1
|
194 |
|
195 | #### public API
|
196 |
|
197 | * Add `use` function to typescript definition
|
198 | * Add `convert` function to typescript definition
|
199 |
|
200 | ### 1.5.0
|
201 |
|
202 | #### public API
|
203 |
|
204 | * Add toJSON methods where missing and useful
|
205 | * Remove protected class DateTimeBuilder from esdoc and typescript definition
|
206 |
|
207 | #### lint
|
208 |
|
209 | * add linter rules `no-var`, `prefer-const`
|
210 |
|
211 | #### dependency updates
|
212 |
|
213 | ### 1.4.0
|
214 |
|
215 | #### public API
|
216 |
|
217 | * Remove private constructors, functions and classes from typescript definition (see #134)
|
218 |
|
219 | ### 1.3.1
|
220 |
|
221 | #### public API
|
222 |
|
223 | * Add `DateTimeFormatter.withResolverStyle` function
|
224 |
|
225 | #### etc
|
226 |
|
227 | * Fix DateTimeFormatterBuilder.constructor esdoc/ typescript definition
|
228 | * Fix esdoc/ typescript definition for ZoneId
|
229 | * Remove private functions, classses and constructors from esdoc
|
230 | * unify the format pattern esdoc in `DateTimeFormatter.ofPattern`
|
231 | and `DateTimeFormatterBuilder.appendPattern`, and add `u` Symbol to documentation
|
232 |
|
233 | ### 1.3.0
|
234 |
|
235 | #### public API
|
236 |
|
237 | * export zone/ZoneOffsetTransition
|
238 |
|
239 | ### 1.2.0
|
240 |
|
241 | #### iana tzdb
|
242 |
|
243 | * Complete parsing of ZoneRegions
|
244 |
|
245 | #### etc
|
246 |
|
247 | * Fix bower.json
|
248 | * Fix LocalTime.parse esdoc/ typescript definition
|
249 |
|
250 | #### dependency updates
|
251 |
|
252 | ### 1.1.17
|
253 |
|
254 | #### Bugfixes
|
255 |
|
256 | * Improve LocalDateTime.toInstant error handling
|
257 | * Improve validation of LocalDate parameter values when passed as Strings
|
258 |
|
259 | #### iana tzdb
|
260 |
|
261 | * First quick approach for parsing ZoneRegions
|
262 |
|
263 | ### 1.1.14
|
264 |
|
265 | #### Add more classes to public export
|
266 |
|
267 | * add all error classes
|
268 | * add zone/ZoneRules
|
269 |
|
270 | #### code cleanup
|
271 |
|
272 | * fix lint issues
|
273 | * fix ESDoc tags
|
274 | * Replace var by let/ const declaration
|
275 |
|
276 | #### dependency updates
|
277 |
|
278 | ### 1.1.13
|
279 |
|
280 | #### Add ZoneRulesProvider stub
|
281 |
|
282 | Add the ZoneRulesProvider. This should be the last step to enable js-joda for an external js-joda-timezone plugin.
|
283 |
|
284 | #### Provide a way to extend js-joda
|
285 |
|
286 | [Implement a use function](https://github.com/js-joda/js-joda/pull/100#issuecomment-252425196)
|
287 |
|
288 | ### Bugfixes
|
289 |
|
290 | * Fix SystemDefaultZoneRules transition (fix a bug in convert and LocalDate.startOfDay)
|
291 |
|
292 | ### 1.1.12
|
293 |
|
294 | #### Implement daylight saving transition functionality
|
295 |
|
296 | Complete / implement methods/ interfaces
|
297 | - LocalDate.atStartOfDayWithZone
|
298 | - ZonedDateTime.ofLocal
|
299 | - ZonedDateTime.ofStrict
|
300 | - ZonedDateTime.withEarlierOffsetAtOverlap
|
301 | - ZonedDateTime.withLaterOffsetAtOverlap
|
302 | - ZonedDateTime.until
|
303 | - ZoneRules
|
304 | - Pseudo zones for testing purpose
|
305 |
|
306 | Increased test coverage for zone related classes
|
307 |
|
308 | #### Test Coverage and more threetenbp Features
|
309 |
|
310 | increased Test Coverage by adding/extending more tests from threetenbp
|
311 | but also adding own tests that increase the coverage.
|
312 |
|
313 | This also led to missing features implemented, e.g. more Fields in `DateTimeBuilder` being handled
|
314 |
|
315 | #### Bugfixes
|
316 |
|
317 | fixes found by extended Tests in
|
318 | - `Duration`
|
319 | - `DateTimeBuilder`
|
320 | - `DateTimeFormatterBuilder`
|
321 | - `YearMonth`
|
322 |
|
323 | #### dependency updates
|
324 |
|
325 | ### 1.1.11
|
326 |
|
327 | #### Typescript typings
|
328 |
|
329 | make typescript definitions to be module definitions (see PR #86)
|
330 |
|
331 | #### ESDoc Updates
|
332 |
|
333 | fixed some warnings in esdoc build regarding signature mismatches (see PR #87)
|
334 |
|
335 | #### Bugfixes
|
336 |
|
337 | #### dependency updates
|
338 |
|
339 | ### 1.1.9
|
340 |
|
341 | #### Typescript typings
|
342 |
|
343 | added initial typescript typings (`.d.ts`) provided by [@spencerwi](https://github.com/spencerwi) and test based on the code from [CheatSheet](CheatSheet.md) to verify the typings
|
344 |
|
345 | #### Bugfixes
|
346 |
|
347 | #### dependency updates
|
348 | * several dev dependency updates
|
349 |
|
350 | ### 1.1.8
|
351 |
|
352 | last release without a CHANGELOG.md
|