blob: f68a4592313bb1378663a9b44729e605613967d2 [file] [log] [blame]
Paul Ganssle9862bfe2017-07-10 14:01:28 -04001Version 2.6.1
2-------------
3- Updated zoneinfo file to 2017b. (gh pr #395)
4- Added Python 3.6 to CI testing (gh pr #365)
5- Removed duplicate test name that was preventing a test from being run.
6 Reported and fixed by @jdufresne (gh pr #371)
7- Fixed testing of folds and gaps, particularly on Windows (gh pr #392)
8- Fixed deprecated escape characters in regular expressions. Reported by
9 @nascheme and @thierryba (gh issue #361), fixed by @thierryba (gh pr #358)
10- Many PEP8 style violations and other code smells were fixed by @jdufresne
11 (gh prs #358, #363, #364, #366, #367, #368, #372, #374, #379, #380, #398)
12- Improved performance of tzutc and tzoffset objects. (gh pr #391)
13- Fixed issue with several time zone classes around DST transitions in any
14 zones with +0 standard offset (e.g. Europe/London) (gh issue #321, pr #390)
15- Fixed issue with fuzzy parsing where tokens similar to AM/PM that are in the
16 end skipped were dropped in the fuzzy_with_tokens list. Reported and fixed
17 by @jbrockmendel (gh pr #332).
18- Fixed issue with parsing dates of the form X m YY. Reported by @jbrockmendel.
19 (gh issue #333, pr #393)
20- Added support for parser weekdays with less than 3 characters. Reported by
21 @arcadefoam (gh issue #343), fixed by @jonemo (gh pr #382)
22- Fixed issue with the addition and subtraction of certain relativedeltas.
23 Reported and fixed by @kootenpv (gh issue #346, pr #347)
24- Fixed issue where the COUNT parameter of rrules was ignored if 0. Fixed by
25 @mshenfield (gh pr #330), reported by @vaultah (gh issue #329).
26- Updated documentation to include the new tz methods. (gh pr #324)
27- Update documentation to reflect that the parser can raise TypeError, reported
28 and fixed by @tomchuk (gh issue #336, pr #337)
29- Fixed an incorrect year in a parser doctest. Fixed by @xlotlu (gh pr #357)
30- Moved version information into _version.py and set up the versions more
31 granularly.
32
Paul Ganssle418b8ae2016-11-06 20:54:45 -050033Version 2.6.0
34-------------
35- Added PEP-495-compatible methods to address ambiguous and imaginary dates in
36 time zones in a backwards-compatible way. Ambiguous dates and times can now
37 be safely represented by all dateutil time zones. Many thanks to Alexander
38 Belopolski (@abalkin) and Tim Peters @tim-one for their inputs on how to
39 address this. Original issues reported by Yupeng and @zed (lP: 1390262,
40 gh issues #57, #112, #249, #284, #286, prs #127, #225, #248, #264, #302).
41- Added new methods for working with ambiguous and imaginary dates to the tz
42 module. datetime_ambiguous() determines if a datetime is ambiguous for a given
43 zone and datetime_exists() determines if a datetime exists in a given zone.
44 This works for all fold-aware datetimes, not just those provided by dateutil.
45 (gh issue #253, gh pr #302)
46- Fixed an issue where dst() in Portugal in 1996 was returning the wrong value
47 in tz.tzfile objects. Reported by @abalkin (gh issue #128, pr #225)
48- Fixed an issue where zoneinfo.ZoneInfoFile errors were not being properly
49 deep-copied. (gh issue #226, pr #225)
50- Refactored tzwin and tzrange as a subclass of a common class, tzrangebase, as
51 there was substantial overlapping functionality. As part of this change,
52 tzrange and tzstr now expose a transitions() function, which returns the
53 DST on and off transitions for a given year. (gh issue #260, pr #302)
54- Deprecated zoneinfo.gettz() due to confusion with tz.gettz(), in favor of
55 get() method of zoneinfo.ZoneInfoFile objects. (gh issue #11, pr #310)
56- For non-character, non-stream arguments, parser.parse now raises TypeError
57 instead of AttributeError. (gh issues #171, #269, pr #247)
58- Fixed an issue where tzfile objects were not properly handling dst() and
59 tzname() when attached to datetime.time objects. Reported by @ovacephaloid.
60 (gh issue #292, pr #309)
61- /usr/share/lib/zoneinfo was added to TZPATHS for compatibility with Solaris
62 systems. Reported by @dhduvall (gh issue #276, pr #307)
63- tzoffset and tzrange objects now accept either a number of seconds or a
64 datetime.timedelta() object wherever previously only a number of seconds was
65 allowed. (gh pr #264, #277)
66- datetime.timedelta objects can now be added to relativedelta objects. Reported
67 and added by Alec Nikolas Reiter (@justanr) (gh issue #282, pr #283
68- Refactored relativedelta.weekday and rrule.weekday into a common base class
69 to reduce code duplication. (gh issue #140, pr #311)
70- An issue where the WKST parameter was improperly rendering in str(rrule) was
71 reported and fixed by Daniel LePage (@dplepage). (gh issue #262, pr #263)
72- A replace() method has been added to rrule objects by @jendas1, which creates
73 new rrule with modified attributes, analogous to datetime.replace (gh pr #167)
74- Made some significant performance improvements to rrule objects in Python 2.x
75 (gh pr #245)
76- All classes defining equality functions now return NotImplemented when
77 compared to unsupported classes, rather than raising TypeError, to allow other
78 classes to provide fallback support. (gh pr #236)
79- Several classes have been marked as explicitly unhashable to maintain
Jon Dufresne38232aa2017-04-16 22:03:43 -070080 identical behavior between Python 2 and 3. Submitted by Roy Williams
Paul Ganssle418b8ae2016-11-06 20:54:45 -050081 (@rowillia) (gh pr #296)
82- Trailing whitespace in easter.py has been removed. Submitted by @OmgImAlexis
83 (gh pr #299)
84- Windows-only batch files in build scripts had line endings switched to CRLF.
85 (gh pr #237)
86- @adamchainz updated the documentation links to reflect that the canonical
87 location for readthedocs links is now at .io, not .org. (gh pr #272)
88- Made some changes to the CI and codecov to test against newer versions of
89 Python and pypy, and to adjust the code coverage requirements. For the moment,
90 full pypy3 compatibility is not supported until a new release is available,
91 due to upstream bugs in the old version affecting PEP-495 support.
92 (gh prs #265, #266, #304, #308)
93- The full PGP signing key fingerprint was added to the README.md in favor of
94 the previously used long-id. Reported by @valholl (gh issue #287, pr #304)
95- Updated zoneinfo to 2016i. (gh issue #298, gh pr #306)
96
97
Paul Ganssleda1435e2016-04-20 21:07:52 -040098Version 2.5.3
99-------------
100- Updated zoneinfo to 2016d
101- Fixed parser bug where unambiguous datetimes fail to parse when dayfirst is
102 set to true. (gh issue #233, pr #234)
103- Bug in zoneinfo file on platforms such as Google App Engine which do not
104 do not allow importing of subprocess.check_call was reported and fixed by
105 @savraj (gh issue #239, gh pr #240)
106- Fixed incorrect version in documentation (gh issue #235, pr #243)
107
Paul Gansslec778dd12016-03-27 11:47:46 -0400108Version 2.5.2
109-------------
110- Updated zoneinfo to 2016c
111- Fixed parser bug where yearfirst and dayfirst parameters were not being
112 respected when no separator was present. (gh issue #81 and #217, pr #229)
113
Paul Ganssle66f29ba2016-03-17 12:49:09 -0400114Version 2.5.1
115-------------
116- Updated zoneinfo to 2016b
117- Changed MANIFEST.in to explicitly include test suite in source distributions,
118 with help from @koobs (gh issue #193, pr #194, #201, #221)
119- Explicitly set all line-endings to LF, except for the NEWS file, on a
120 per-repository basis (gh pr #218)
121- Fixed an issue with improper caching behavior in rruleset objects (gh issue
122 #104, pr #207)
123- Changed to an explicit error when rrulestr strings contain a missing BYDAY
124 (gh issue #162, pr #211)
125- tzfile now correctly handles files containing leapcnt (although the leapcnt
126 information is not actually used). Contributed by @hjoukl (gh issue #146, pr
127 #147)
128- Fixed recursive import issue with tz module (gh pr #204)
129- Added compatibility between tzwin objects and datetime.time objects (gh issue
130 #216, gh pr #219)
131- Refactored monolithic test suite by module (gh issue #61, pr #200 and #206)
132- Improved test coverage in the relativedelta module (gh pr #215)
133- Adjusted documentation to reflect possibly counter-intuitive properties of
134 RFC-5545-compliant rrules, and other documentation improvements in the rrule
135 module (gh issue #105, gh issue #149 - pointer to the solution by @phep,
136 pr #213).
137
138
Zbigniew Jędrzejewski-Szmek8ef32342016-02-28 20:05:09 -0500139Version 2.5.0
140-------------
141- Updated zoneinfo to 2016a
142- zoneinfo_metadata file version increased to 2.0 - the updated updatezinfo.py
143 script will work with older zoneinfo_metadata.json files, but new metadata
144 files will not work with older updatezinfo.py versions. Additionally, we have
145 started hosting our own mirror of the Olson databases on a github pages
146 site (https://dateutil.github.io/tzdata/) (gh pr #183)
147- dateutil zoneinfo tarballs now contain the full zoneinfo_metadata file used
148 to generate them. (gh issue #27, gh pr #85)
149- relativedelta can now be safely subclassed without derived objects reverting
150 to base relativedelta objects as a result of arithmetic operations.
151 (lp:1010199, gh issue #44, pr #49)
152- relativedelta 'weeks' parameter can now be set and retrieved as a property of
153 relativedelta instances. (lp: 727525, gh issue #45, pr #49)
154- relativedelta now explicitly supports fractional relative weeks, days, hours,
155 minutes and seconds. Fractional values in absolute parameters (year, day, etc)
156 are now deprecated. (gh issue #40, pr #190)
157- relativedelta objects previously did not use microseconds to determine of two
158 relativedelta objects were equal. This oversight has been corrected.
159 Contributed by @elprans (gh pr #113)
160- rrule now has an xafter() method for retrieving multiple recurrences after a
161 specified date. (gh pr #38)
162- str(rrule) now returns an RFC2445-compliant rrule string, contributed by
163 @schinckel and @armicron (lp:1406305, gh issue #47, prs #50, #62 and #160)
164- rrule performance under certain conditions has been significantly improved
165 thanks to a patch contributed by @dekoza, based on an article by Brian Beck
166 (@exogen) (gh pr #136)
167- The use of both the 'until' and 'count' parameters is now deprecated as
168 inconsistent with RFC2445 (gh pr #62, #185)
169- Parsing an empty string will now raise a ValueError, rather than returning the
170 datetime passed to the 'default' parameter. (gh issue #78, pr #187)
171- tzwinlocal objects now have a meaningful repr() and str() implementation
172 (gh issue #148, prs #184 and #186)
173- Added equality logic for tzwin and tzwinlocal objects. (gh issue #151,
174 pr #180, #184)
175- Added some flexibility in subclassing timelex, and switched the default
176 behavior over to using string methods rather than comparing against a fixed
177 list. (gh pr #122, #139)
178- An issue causing tzstr() to crash on Python 2.x was fixed. (lp: 1331576,
179 gh issue #51, pr #55)
180- An issue with string encoding causing exceptions under certain circumstances
181 when tzname() is called was fixed. (gh issue #60, #74, pr #75)
182- Parser issue where calling parse() on dates with no day specified when the
183 day of the month in the default datetime (which is "today" if unspecified) is
184 greater than the number of days in the parsed month was fixed (this issue
185 tended to crop up between the 29th and 31st of the month, for obvious reasons)
186 (canonical gh issue #25, pr #30, #191)
187- Fixed parser issue causing fuzzy_with_tokens to raise an unexpected exception
188 in certain circumstances. Contributed by @MichaelAquilina (gh pr #91)
189- Fixed parser issue where years > 100 AD were incorrectly parsed. Contributed
190 by @Bachmann1234 (gh pr #130)
191- Fixed parser issue where commas were not a valid separator between seconds
192 and microseconds, preventing parsing of ISO 8601 dates. Contributed by
193 @ryanss (gh issue #28, pr #106)
194- Fixed issue with tzwin encoding in locales with non-Latin alphabets
195 (gh issue #92, pr #98)
196- Fixed an issue where tzwin was not being properly imported on Windows.
197 Contributed by @labrys. (gh pr #134)
198- Fixed a problem causing issues importing zoneinfo in certain circumstances.
199 Issue and solution contributed by @alexxv (gh issue #97, pr #99)
200- Fixed an issue where dateutil timezones were not compatible with basic time
201 objects. One of many, many timezone related issues contributed and tested by
202 @labrys. (gh issue #132, pr #181)
203- Fixed issue where tzwinlocal had an invalid utcoffset. (gh issue #135,
204 pr #141, #142)
205- Fixed issue with tzwin and tzwinlocal where DST transitions were incorrectly
206 parsed from the registry. (gh issue #143, pr #178)
207- updatezinfo.py no longer suppresses certain OSErrors. Contributed by @bjamesv
208 (gh pr #164)
209- An issue that arose when timezone locale changes during runtime has been
210 fixed by @carlosxl and @mjschultz (gh issue #100, prs #107, #109)
211- Python 3.5 was added to the supported platforms in the metadata (@tacaswell
212 gh pr #159) and the test suites (@moreati gh pr #117).
213- An issue with tox failing without unittest2 installed in Python 2.6 was fixed
214 by @moreati (gh pr #115)
215- Several deprecated functions were replaced in the tests by @moreati
216 (gh pr #116)
217- Improved the logic in Travis and Appveyor to alleviate issues where builds
218 were failing due to connection issues when downloading the IANA timezone
219 files. In addition to adding our own mirror for the files (gh pr #183), the
220 download is now retried a number of times (with a delay) (gh pr #177)
221- Many failing doctests were fixed by @moreati. (gh pr #120)
222- Many fixes to the documentation (gh pr #103, gh pr #87 from @radarhere,
223 gh pr #154 from @gpoesia, gh pr #156 from @awsum, gh pr #168 from @ja8zyjits)
224- Added a code coverage tool to the CI to help improve the library. (gh pr #182)
225- We now have a mailing list - dateutil@python.org, graciously hosted by
226 Python.org.
227
228
229Version 2.4.2
230-------------
231- Updated zoneinfo to 2015b.
232- Fixed issue with parsing of tzstr on Python 2.7.x; tzstr will now be decoded
233 if not a unicode type. gh #51 (lp:1331576), gh pr #55.
234- Fix a parser issue where AM and PM tokens were showing up in fuzzy date
235 stamps, triggering inappropriate errors. gh #56 (lp: 1428895), gh pr #63.
236- Missing function "setcachesize" removed from zoneinfo __all__ list by @ryanss,
237 fixing an issue with wildcard imports of dateutil.zoneinfo. (gh pr #66).
238- (PyPi only) Fix an issue with source distributions not including the test
239 suite.
240
241
242Version 2.4.1
243-------------
244
245- Added explicit check for valid hours if AM/PM is specified in parser.
246 (gh pr #22, issue #21)
247- Fix bug in rrule introduced in 2.4.0 where byweekday parameter was not
248 handled properly. (gh pr #35, issue #34)
249- Fix error where parser allowed some invalid dates, overwriting existing hours
250 with the last 2-digit number in the string. (gh pr #32, issue #31)
251- Fix and add test for Python 2.x compatibility with boolean checking of
252 relativedelta objects. Implemented by @nimasmi (gh pr #43) and Cédric Krier
253 (lp: 1035038)
254- Replaced parse() calls with explicit datetime objects in unit tests unrelated
255 to parser. (gh pr #36)
256- Changed private _byxxx from sets to sorted tuples and fixed one currently
257 unreachable bug in _construct_byset. (gh pr #54)
258- Additional documentation for parser (gh pr #29, #33, #41) and rrule.
259- Formatting fixes to documentation of rrule and README.rst.
260- Updated zoneinfo to 2015a.
261
262Version 2.4.0
263-------------
264
265- Fix an issue with relativedelta and freezegun (lp:1374022)
266- Fix tzinfo in windows for timezones without dst (lp:1010050, gh #2)
267- Ignore missing timezones in windows like in POSIX
268- Fix minimal version requirement for six (gh #6)
269- Many rrule changes and fixes by @pganssle (gh pull requests #13 #14 #17),
270 including defusing some infinite loops (gh #4)
271
272Version 2.3
273-----------
274
275- Cleanup directory structure, moved test.py to dateutil/tests/test.py
276
277- Changed many aspects of dealing with the zone info file. Instead of a cache,
278 all the zones are loaded to memory, but symbolic links are loaded only once,
279 so not much memory is used.
280
281- The package is now zip-safe, and universal-wheelable, thanks to changes in
282 the handling of the zoneinfo file.
283
284- Fixed tzwin silently not imported on windows python2
285
286- New maintainer, together with new hosting: GitHub, Travis, Read-The-Docs
287
288Version 2.2
289-----------
290
291- Updated zoneinfo to 2013h
292
293- fuzzy_with_tokens parse addon from Christopher Corley
294
295- Bug with LANG=C fixed by Mike Gilbert
296
297Version 2.1
298-----------
299
300- New maintainer
301
302- Dateutil now works on Python 2.6, 2.7 and 3.2 from same codebase (with six)
303
304- #704047: Ismael Carnales' patch for a new time format
305
306- Small bug fixes, thanks for reporters!
307
308
309Version 2.0
310-----------
311
312- Ported to Python 3, by Brian Jones. If you need dateutil for Python 2.X,
313 please continue using the 1.X series.
314
315- There's no such thing as a "PSF License". This source code is now
316 made available under the Simplified BSD license. See LICENSE for
317 details.
318
319Version 1.5
320-----------
321
322- As reported by Mathieu Bridon, rrules were matching the bysecond rules
323 incorrectly against byminute in some circumstances when the SECONDLY
324 frequency was in use, due to a copy & paste bug. The problem has been
325 unittested and corrected.
326
327- Adam Ryan reported a problem in the relativedelta implementation which
328 affected the yearday parameter in the month of January specifically.
329 This has been unittested and fixed.
330
331- Updated timezone information.
332
333
334Version 1.4.1
335-------------
336
337- Updated timezone information.
338
339
340Version 1.4
341-----------
342
343- Fixed another parser precision problem on conversion of decimal seconds
344 to microseconds, as reported by Erik Brown. Now these issues are gone
345 for real since it's not using floating point arithmetic anymore.
346
347- Fixed case where tzrange.utcoffset and tzrange.dst() might fail due
348 to a date being used where a datetime was expected (reported and fixed
349 by Lennart Regebro).
350
351- Prevent tzstr from introducing daylight timings in strings that didn't
352 specify them (reported by Lennart Regebro).
353
354- Calls like gettz("GMT+3") and gettz("UTC-2") will now return the
355 expected values, instead of the TZ variable behavior.
356
357- Fixed DST signal handling in zoneinfo files. Reported by
358 Nicholas F. Fabry and John-Mark Gurney.
359
360
361Version 1.3
362-----------
363
364- Fixed precision problem on conversion of decimal seconds to
365 microseconds, as reported by Skip Montanaro.
366
367- Fixed bug in constructor of parser, and converted parser classes to
368 new-style classes. Original report and patch by Michael Elsdörfer.
369
370- Initialize tzid and comps in tz.py, to prevent the code from ever
371 raising a NameError (even with broken files). Johan Dahlin suggested
372 the fix after a pyflakes run.
373
374- Version is now published in dateutil.__version__, as requested
375 by Darren Dale.
376
377- All code is compatible with new-style division.
378
379
380Version 1.2
381-----------
382
383- Now tzfile will round timezones to full-minutes if necessary,
384 since Python's datetime doesn't support sub-minute offsets.
385 Thanks to Ilpo Nyyssönen for reporting the issue.
386
387- Removed bare string exceptions, as reported and fixed by
388 Wilfredo Sánchez Vega.
389
390- Fix bug in leap count parsing (reported and fixed by Eugene Oden).
391
392
393Version 1.1
394-----------
395
396- Fixed rrule byyearday handling. Abramo Bagnara pointed out that
397 RFC2445 allows negative numbers.
398
399- Fixed --prefix handling in setup.py (by Sidnei da Silva).
400
401- Now tz.gettz() returns a tzlocal instance when not given any
402 arguments and no other timezone information is found.
403
404- Updating timezone information to version 2005q.
405
406
407Version 1.0
408-----------
409
410- Fixed parsing of XXhXXm formatted time after day/month/year
411 has been parsed.
412
413- Added patch by Jeffrey Harris optimizing rrule.__contains__.
414
415
416Version 0.9
417-----------
418
419- Fixed pickling of timezone types, as reported by
420 Andreas Köhler.
421
422- Implemented internal timezone information with binary
423 timezone files [1]. datautil.tz.gettz() function will now
424 try to use the system timezone files, and fallback to
425 the internal versions. It's also possible to ask for
426 the internal versions directly by using
427 dateutil.zoneinfo.gettz().
428
429- New tzwin timezone type, allowing access to Windows
430 internal timezones (contributed by Jeffrey Harris).
431
432- Fixed parsing of unicode date strings.
433
434- Accept parserinfo instances as the parser constructor
435 parameter, besides parserinfo (sub)classes.
436
437- Changed weekday to spell the not-set n value as None
438 instead of 0.
439
440- Fixed other reported bugs.
441
442[1] http://www.twinsun.com/tz/tz-link.htm
443
444
445Version 0.5
446-----------
447
448- Removed FREQ_ prefix from rrule frequency constants
449 WARNING: this breaks compatibility with previous versions.
450
451- Fixed rrule.between() for cases where "after" is achieved
452 before even starting, as reported by Andreas Köhler.
453
454- Fixed two digit zero-year parsing (such as 31-Dec-00), as
455 reported by Jim Abramson, and included test case for this.
456
457- Sort exdate and rdate before iterating over them, so that
458 it's not necessary to sort them before adding to the rruleset,
459 as reported by Nicholas Piper.