blob: df312876f2f87119d69b2bfbc70351c88877d9d5 [file] [log] [blame]
Paul Ganssleb8c60c32018-03-11 14:57:53 -04001Version 2.7.0
Jon Dufresne2e7b4c22017-04-16 21:40:56 -07002----------
Paul Ganssleb8c60c32018-03-11 14:57:53 -04003- Dropped support for Python 2.6 (gh pr #362 by @jdufresne)
4- Dropped support for Python 3.2 (gh pr #626)
5- Updated zoneinfo file to 2018c (gh pr #616)
6- Changed licensing scheme so all new contributions are dual licensed under
7 Apache 2.0 and BSD. (gh pr #542, issue #496)
8- Added __all__ variable to the root package. Reported by @tebriel
9 (gh issue #406), fixed by @mariocj89 (gh pr #494)
10- Added python_requires to setup.py so that pip will distribute the right
11 version of dateutil. Fixed by @jakec-github (gh issue #537, pr #552)
12- Added the utils submodule, for miscellaneous utilities.
13- Added within_delta function to utils - added by @justanr (gh issue #432,
14 gh pr #437)
15- Added today function to utils (gh pr #474)
16- Added default_tzinfo function to utils (gh pr #475), solving an issue
17 reported by @nealmcb (gh issue #94)
18- Added dedicated ISO 8601 parsing function isoparse (gh issue #424).
19 Initial implementation by @pganssle in gh pr #489 and #622, with a
20 pre-release fix by @kirit93 (gh issue #546, gh pr #573).
21- Moved parser module into parser/_parser.py and officially deprecated the use
22 of several private functions and classes from that module. (gh pr #501, #515)
23- Tweaked parser error message to include rejected string format, added by
24 @pbiering (gh pr #300)
25- Add support for parsing bytesarray, reported by @uckelman (gh issue #417) and
26 fixed by @uckelman and @pganssle (gh pr #514)
27- Started raising a warning when the parser finds a timezone string that it
28 cannot construct a tzinfo instance for (rather than succeeding with no
29 indication of an error). Reported and fixed by @jbrockmendel (gh pr #540)
30- Dropped the use of assert in the parser. Fixed by @jbrockmendel (gh pr #502)
31- Fixed to assertion logic in parser to support dates like '2015-15-May',
32 reported and fixed by @jbrockmendel (gh pr #409)
33- Fixed IndexError in parser on dates with trailing colons, reported and fixed
34 by @jbrockmendel (gh pr #420)
35- Fixed bug where hours were not validated, leading to improper parse. Reported
36 by @heappro (gh pr #353), fixed by @jbrockmendel (gh pr #482)
37- Fixed problem parsing strings in %b-%Y-%d format. Reported and fixed by
38 @jbrockmendel (gh pr #481)
39- Fixed problem parsing strings in the %d%B%y format. Reported by @asishm
40 (gh issue #360), fixed by @jbrockmendel (gh pr #483)
41- Fixed problem parsing certain unambiguous strings when year <99 (gh pr #510).
42 Reported by @alexwlchan (gh issue #293).
43- Fixed issue with parsing an unambiguous string representation of an ambiguous
44 datetime such that if possible the correct value for fold is set. Fixes
45 issue reported by @JordonPhillips and @pganssle (gh issue #318, #320,
46 gh pr #517)
47- Fixed issue with improper rounding of fractional components. Reported by
48 @dddmello (gh issue #427), fixed by @m-dz (gh pr #570)
49- Performance improvement to parser from removing certain min() calls. Reported
50 and fixed by @jbrockmendel (gh pr #589)
51- Significantly refactored parser code by @jbrockmendel (gh prs #419, #436,
52 #490, #498, #539) and @pganssle (gh prs #435, #468)
53- Implementated of __hash__ for relativedelta and weekday, reported and fixed
54 by @mrigor (gh pr #389)
55- Implemented __abs__ for relativedelta. Reported by @binnisb and @pferreir
56 (gh issue #350, pr #472)
57- Fixed relativedelta.weeks property getter and setter to work for both
58 negative and positive values. Reported and fixed by @souliane (gh issue #459,
59 pr #460)
60- Fixed issue where passing whole number floats to the months or years
61 arguments of the relativedelta constructor would lead to errors during
62 addition. Reported by @arouanet (gh pr #411), fixed by @lkollar (gh pr #553)
63- Added a pre-built tz.UTC object representing UTC (gh pr #497)
64- Added a cache to tz.gettz so that by default it will return the same object
65 for identical inputs. This will change the semantics of certain operations
66 between datetimes constructed with tzinfo=tz.gettz(...). (gh pr #628)
67- Changed the behavior of tz.tzutc to return a singleton (gh pr #497, #504)
68- Changed the behavior of tz.tzoffset to return the same object when passed the
69 same inputs, with a corresponding performance improvement (gh pr #504)
70- Changed the behavior of tz.tzstr to return the same object when passed the
71 same inputs. (gh pr #628)
72- Added .instance alternate constructors for tz.tzoffset and tz.tzstr, to
73 allow the construction of a new instance if desired. (gh pr #628)
74- Added the tz.gettz.nocache function to allow explicit retrieval of a new
75 instance of the relevant tzinfo. (gh pr #628)
76- Expand definition of tz.tzlocal equality so that the local zone is allow
77 equality with tzoffset and tzutc. (gh pr #598)
78- Deprecated the idiosyncratic tzstr format mentioned in several examples but
79 evidently designed exclusively for dateutil, and very likely not used by
80 any current users. (gh issue #595, gh pr #606)
81- Added the tz.resolve_imaginary function, which generates a real date from
82 an imaginary one, if necessary. Implemented by @Cheukting (gh issue #339,
83 gh pr #607)
84- Fixed issue where the tz.tzstr constructor would erroneously succeed if
85 passed an invalid value for tzstr. Fixed by @pablogsal (gh issue #259,
86 gh pr #581)
87- Fixed issue with tz.gettz for TZ variables that start with a colon. Reported
88 and fixed by @lapointexavier (gh pr #601)
89- Added a lock to tz.tzical's cache. Reported and fixed by @Unrud (gh pr #430)
90- Fixed an issue with fold support on certain Python 3 implementations that
91 used the pre-3.6 pure Python implementation of datetime.replace, most
92 notably pypy3 (gh pr #446).
93- Added support for VALUE=DATE-TIME for DTSTART in rrulestr. Reported by @potuz
94 (gh issue #401) and fixed by @Unrud (gh pr #429)
95- Started enforcing that within VTIMEZONE, the VALUE parameter can only be
96 omitted or DATE-TIME, per RFC 5545. Reported by @Unrud (gh pr #439)
97- Added support for TZID parameter for DTSTART in rrulestr. Reported and
98 fixed by @ryanpetrello (gh issue #614, gh pr #624)
99- Added 'RRULE:' prefix to rrule strings generated by rrule.__str__, in
100 compliance with the RFC. Reported by @AndrewPashkin (gh issue #86), fixed by
101 @jarondl and @mlorant (gh pr #450)
102- Switched to setuptools_scm for version management, automatically calculating
103 a version number from the git metadata. Reported by @jreback (gh issue #511),
104 implemented by @Sulley38 (gh pr #564)
105- Switched setup.py to use find_packages, and started testing against pip
106 installed versions of dateutil in CI. Fixed issue with parser import
107 discovered by @jreback in pandas-dev/pandas#18141. (gh issue #507, pr #509)
108- Switched test suite to using pytest (gh pr #495)
109- Switched CI over to use tox. Fixed by @gaborbernat (gh pr #549)
110- Added a test-only dependency on freezegun. (gh pr #474)
111- Reduced number of CI builds on Appveyor. Fixed by @kirit93 (gh issue #529,
112 gh pr #579)
113- Made xfails strict by default, so that an xpass is a failure. (gh pr #567)
114- Added a documentation generation stage to tox and CI. (gh pr #568)
115- Added an explicit warning when running python setup.py explaining how to run
116 the test suites with pytest. Fixed by @lkollar. (gh issue #544, gh pr #548)
117- Added requirements-dev.txt for test dependency management (gh pr #499, #516)
118- Fixed code coverage metrics to account for Windows builds (gh pr #526)
119- Fixed code coverage metrics to NOT count xfails. Fixed by @gaborbernat
120 (gh issue #519, gh pr #563)
121- Style improvement to zoneinfo.tzfile that was confusing to static type
122 checkers. Reported and fixed by @quodlibetor (gh pr #485)
123- Several unused imports were removed by @jdufresne. (gh pr #486)
124- Switched isinstance(*, collections.Callable) to callable, which is available
125 on all supported Python versions. Implemented by @jdufresne (gh pr #612)
126- Added CONTRIBUTING.md (gh pr #533)
127- Added AUTHORS.md (gh pr #542)
128- Corrected setup.py metadata to reflect author vs. maintainer, (gh issue #477,
129 gh pr #538)
130- Corrected README to reflect that tests are now run in pytest. Reported and
131 fixed by @m-dz (gh issue #556, gh pr #557)
132- Updated all references to RFC 2445 (iCalendar) to point to RFC 5545. Fixed
133 by @mariocj89 (gh issue #543, gh pr #555)
134- Corrected parse documentation to reflect proper integer offset units,
135 reported and fixed by @abrugh (gh pr #458)
136- Fixed dangling parenthesis in tzoffset documentation (gh pr #461)
137- Started including the license file in wheels. Reported and fixed by
138 @jdufresne (gh pr #476)
139- Indendation fixes to parser docstring by @jbrockmendel (gh pr #492)
140- Moved many examples from the "examples" documentation into their appropriate
141 module documentation pages. Fixed by @Tomasz-Kluczkowski and @jakec-github
142 (gh pr #558, #561)
143- Fixed documentation so that the parser.isoparse documentation displays.
144 Fixed by @alexchamberlain (gh issue #545, gh pr #560)
145- Refactored build and release sections and added setup instructions to
146 CONTRIBUTING. Reported and fixed by @kynan (gh pr #562)
147- Cleaned up various dead links in the documentation. (gh pr #602, #608, #618)
Jon Dufresne2e7b4c22017-04-16 21:40:56 -0700148
Paul Ganssle9862bfe2017-07-10 14:01:28 -0400149Version 2.6.1
150-------------
151- Updated zoneinfo file to 2017b. (gh pr #395)
152- Added Python 3.6 to CI testing (gh pr #365)
153- Removed duplicate test name that was preventing a test from being run.
154 Reported and fixed by @jdufresne (gh pr #371)
155- Fixed testing of folds and gaps, particularly on Windows (gh pr #392)
156- Fixed deprecated escape characters in regular expressions. Reported by
157 @nascheme and @thierryba (gh issue #361), fixed by @thierryba (gh pr #358)
158- Many PEP8 style violations and other code smells were fixed by @jdufresne
159 (gh prs #358, #363, #364, #366, #367, #368, #372, #374, #379, #380, #398)
160- Improved performance of tzutc and tzoffset objects. (gh pr #391)
161- Fixed issue with several time zone classes around DST transitions in any
162 zones with +0 standard offset (e.g. Europe/London) (gh issue #321, pr #390)
163- Fixed issue with fuzzy parsing where tokens similar to AM/PM that are in the
164 end skipped were dropped in the fuzzy_with_tokens list. Reported and fixed
165 by @jbrockmendel (gh pr #332).
166- Fixed issue with parsing dates of the form X m YY. Reported by @jbrockmendel.
167 (gh issue #333, pr #393)
168- Added support for parser weekdays with less than 3 characters. Reported by
169 @arcadefoam (gh issue #343), fixed by @jonemo (gh pr #382)
170- Fixed issue with the addition and subtraction of certain relativedeltas.
171 Reported and fixed by @kootenpv (gh issue #346, pr #347)
172- Fixed issue where the COUNT parameter of rrules was ignored if 0. Fixed by
173 @mshenfield (gh pr #330), reported by @vaultah (gh issue #329).
174- Updated documentation to include the new tz methods. (gh pr #324)
175- Update documentation to reflect that the parser can raise TypeError, reported
176 and fixed by @tomchuk (gh issue #336, pr #337)
177- Fixed an incorrect year in a parser doctest. Fixed by @xlotlu (gh pr #357)
178- Moved version information into _version.py and set up the versions more
179 granularly.
180
Paul Ganssle418b8ae2016-11-06 20:54:45 -0500181Version 2.6.0
182-------------
183- Added PEP-495-compatible methods to address ambiguous and imaginary dates in
184 time zones in a backwards-compatible way. Ambiguous dates and times can now
185 be safely represented by all dateutil time zones. Many thanks to Alexander
186 Belopolski (@abalkin) and Tim Peters @tim-one for their inputs on how to
187 address this. Original issues reported by Yupeng and @zed (lP: 1390262,
188 gh issues #57, #112, #249, #284, #286, prs #127, #225, #248, #264, #302).
189- Added new methods for working with ambiguous and imaginary dates to the tz
190 module. datetime_ambiguous() determines if a datetime is ambiguous for a given
191 zone and datetime_exists() determines if a datetime exists in a given zone.
192 This works for all fold-aware datetimes, not just those provided by dateutil.
193 (gh issue #253, gh pr #302)
194- Fixed an issue where dst() in Portugal in 1996 was returning the wrong value
195 in tz.tzfile objects. Reported by @abalkin (gh issue #128, pr #225)
196- Fixed an issue where zoneinfo.ZoneInfoFile errors were not being properly
197 deep-copied. (gh issue #226, pr #225)
198- Refactored tzwin and tzrange as a subclass of a common class, tzrangebase, as
199 there was substantial overlapping functionality. As part of this change,
200 tzrange and tzstr now expose a transitions() function, which returns the
201 DST on and off transitions for a given year. (gh issue #260, pr #302)
202- Deprecated zoneinfo.gettz() due to confusion with tz.gettz(), in favor of
203 get() method of zoneinfo.ZoneInfoFile objects. (gh issue #11, pr #310)
204- For non-character, non-stream arguments, parser.parse now raises TypeError
205 instead of AttributeError. (gh issues #171, #269, pr #247)
206- Fixed an issue where tzfile objects were not properly handling dst() and
207 tzname() when attached to datetime.time objects. Reported by @ovacephaloid.
208 (gh issue #292, pr #309)
209- /usr/share/lib/zoneinfo was added to TZPATHS for compatibility with Solaris
210 systems. Reported by @dhduvall (gh issue #276, pr #307)
211- tzoffset and tzrange objects now accept either a number of seconds or a
212 datetime.timedelta() object wherever previously only a number of seconds was
213 allowed. (gh pr #264, #277)
214- datetime.timedelta objects can now be added to relativedelta objects. Reported
215 and added by Alec Nikolas Reiter (@justanr) (gh issue #282, pr #283
216- Refactored relativedelta.weekday and rrule.weekday into a common base class
217 to reduce code duplication. (gh issue #140, pr #311)
218- An issue where the WKST parameter was improperly rendering in str(rrule) was
219 reported and fixed by Daniel LePage (@dplepage). (gh issue #262, pr #263)
220- A replace() method has been added to rrule objects by @jendas1, which creates
221 new rrule with modified attributes, analogous to datetime.replace (gh pr #167)
222- Made some significant performance improvements to rrule objects in Python 2.x
223 (gh pr #245)
224- All classes defining equality functions now return NotImplemented when
225 compared to unsupported classes, rather than raising TypeError, to allow other
226 classes to provide fallback support. (gh pr #236)
227- Several classes have been marked as explicitly unhashable to maintain
Jon Dufresne38232aa2017-04-16 22:03:43 -0700228 identical behavior between Python 2 and 3. Submitted by Roy Williams
Paul Ganssle418b8ae2016-11-06 20:54:45 -0500229 (@rowillia) (gh pr #296)
230- Trailing whitespace in easter.py has been removed. Submitted by @OmgImAlexis
231 (gh pr #299)
232- Windows-only batch files in build scripts had line endings switched to CRLF.
233 (gh pr #237)
234- @adamchainz updated the documentation links to reflect that the canonical
235 location for readthedocs links is now at .io, not .org. (gh pr #272)
236- Made some changes to the CI and codecov to test against newer versions of
237 Python and pypy, and to adjust the code coverage requirements. For the moment,
238 full pypy3 compatibility is not supported until a new release is available,
239 due to upstream bugs in the old version affecting PEP-495 support.
240 (gh prs #265, #266, #304, #308)
241- The full PGP signing key fingerprint was added to the README.md in favor of
242 the previously used long-id. Reported by @valholl (gh issue #287, pr #304)
243- Updated zoneinfo to 2016i. (gh issue #298, gh pr #306)
244
245
Paul Ganssleda1435e2016-04-20 21:07:52 -0400246Version 2.5.3
247-------------
248- Updated zoneinfo to 2016d
249- Fixed parser bug where unambiguous datetimes fail to parse when dayfirst is
250 set to true. (gh issue #233, pr #234)
251- Bug in zoneinfo file on platforms such as Google App Engine which do not
252 do not allow importing of subprocess.check_call was reported and fixed by
253 @savraj (gh issue #239, gh pr #240)
254- Fixed incorrect version in documentation (gh issue #235, pr #243)
255
Paul Gansslec778dd12016-03-27 11:47:46 -0400256Version 2.5.2
257-------------
258- Updated zoneinfo to 2016c
259- Fixed parser bug where yearfirst and dayfirst parameters were not being
260 respected when no separator was present. (gh issue #81 and #217, pr #229)
261
Paul Ganssle66f29ba2016-03-17 12:49:09 -0400262Version 2.5.1
263-------------
264- Updated zoneinfo to 2016b
265- Changed MANIFEST.in to explicitly include test suite in source distributions,
266 with help from @koobs (gh issue #193, pr #194, #201, #221)
267- Explicitly set all line-endings to LF, except for the NEWS file, on a
268 per-repository basis (gh pr #218)
269- Fixed an issue with improper caching behavior in rruleset objects (gh issue
270 #104, pr #207)
271- Changed to an explicit error when rrulestr strings contain a missing BYDAY
272 (gh issue #162, pr #211)
273- tzfile now correctly handles files containing leapcnt (although the leapcnt
274 information is not actually used). Contributed by @hjoukl (gh issue #146, pr
275 #147)
276- Fixed recursive import issue with tz module (gh pr #204)
277- Added compatibility between tzwin objects and datetime.time objects (gh issue
278 #216, gh pr #219)
279- Refactored monolithic test suite by module (gh issue #61, pr #200 and #206)
280- Improved test coverage in the relativedelta module (gh pr #215)
281- Adjusted documentation to reflect possibly counter-intuitive properties of
282 RFC-5545-compliant rrules, and other documentation improvements in the rrule
283 module (gh issue #105, gh issue #149 - pointer to the solution by @phep,
284 pr #213).
285
286
Zbigniew Jędrzejewski-Szmek8ef32342016-02-28 20:05:09 -0500287Version 2.5.0
288-------------
289- Updated zoneinfo to 2016a
290- zoneinfo_metadata file version increased to 2.0 - the updated updatezinfo.py
291 script will work with older zoneinfo_metadata.json files, but new metadata
292 files will not work with older updatezinfo.py versions. Additionally, we have
293 started hosting our own mirror of the Olson databases on a github pages
294 site (https://dateutil.github.io/tzdata/) (gh pr #183)
295- dateutil zoneinfo tarballs now contain the full zoneinfo_metadata file used
296 to generate them. (gh issue #27, gh pr #85)
297- relativedelta can now be safely subclassed without derived objects reverting
298 to base relativedelta objects as a result of arithmetic operations.
299 (lp:1010199, gh issue #44, pr #49)
300- relativedelta 'weeks' parameter can now be set and retrieved as a property of
301 relativedelta instances. (lp: 727525, gh issue #45, pr #49)
302- relativedelta now explicitly supports fractional relative weeks, days, hours,
303 minutes and seconds. Fractional values in absolute parameters (year, day, etc)
304 are now deprecated. (gh issue #40, pr #190)
305- relativedelta objects previously did not use microseconds to determine of two
306 relativedelta objects were equal. This oversight has been corrected.
307 Contributed by @elprans (gh pr #113)
308- rrule now has an xafter() method for retrieving multiple recurrences after a
309 specified date. (gh pr #38)
310- str(rrule) now returns an RFC2445-compliant rrule string, contributed by
311 @schinckel and @armicron (lp:1406305, gh issue #47, prs #50, #62 and #160)
312- rrule performance under certain conditions has been significantly improved
313 thanks to a patch contributed by @dekoza, based on an article by Brian Beck
314 (@exogen) (gh pr #136)
315- The use of both the 'until' and 'count' parameters is now deprecated as
316 inconsistent with RFC2445 (gh pr #62, #185)
317- Parsing an empty string will now raise a ValueError, rather than returning the
318 datetime passed to the 'default' parameter. (gh issue #78, pr #187)
319- tzwinlocal objects now have a meaningful repr() and str() implementation
320 (gh issue #148, prs #184 and #186)
321- Added equality logic for tzwin and tzwinlocal objects. (gh issue #151,
322 pr #180, #184)
323- Added some flexibility in subclassing timelex, and switched the default
324 behavior over to using string methods rather than comparing against a fixed
325 list. (gh pr #122, #139)
326- An issue causing tzstr() to crash on Python 2.x was fixed. (lp: 1331576,
327 gh issue #51, pr #55)
328- An issue with string encoding causing exceptions under certain circumstances
329 when tzname() is called was fixed. (gh issue #60, #74, pr #75)
330- Parser issue where calling parse() on dates with no day specified when the
331 day of the month in the default datetime (which is "today" if unspecified) is
332 greater than the number of days in the parsed month was fixed (this issue
333 tended to crop up between the 29th and 31st of the month, for obvious reasons)
334 (canonical gh issue #25, pr #30, #191)
335- Fixed parser issue causing fuzzy_with_tokens to raise an unexpected exception
336 in certain circumstances. Contributed by @MichaelAquilina (gh pr #91)
337- Fixed parser issue where years > 100 AD were incorrectly parsed. Contributed
338 by @Bachmann1234 (gh pr #130)
339- Fixed parser issue where commas were not a valid separator between seconds
340 and microseconds, preventing parsing of ISO 8601 dates. Contributed by
341 @ryanss (gh issue #28, pr #106)
342- Fixed issue with tzwin encoding in locales with non-Latin alphabets
343 (gh issue #92, pr #98)
344- Fixed an issue where tzwin was not being properly imported on Windows.
345 Contributed by @labrys. (gh pr #134)
346- Fixed a problem causing issues importing zoneinfo in certain circumstances.
347 Issue and solution contributed by @alexxv (gh issue #97, pr #99)
348- Fixed an issue where dateutil timezones were not compatible with basic time
349 objects. One of many, many timezone related issues contributed and tested by
350 @labrys. (gh issue #132, pr #181)
351- Fixed issue where tzwinlocal had an invalid utcoffset. (gh issue #135,
352 pr #141, #142)
353- Fixed issue with tzwin and tzwinlocal where DST transitions were incorrectly
354 parsed from the registry. (gh issue #143, pr #178)
355- updatezinfo.py no longer suppresses certain OSErrors. Contributed by @bjamesv
356 (gh pr #164)
357- An issue that arose when timezone locale changes during runtime has been
358 fixed by @carlosxl and @mjschultz (gh issue #100, prs #107, #109)
359- Python 3.5 was added to the supported platforms in the metadata (@tacaswell
360 gh pr #159) and the test suites (@moreati gh pr #117).
361- An issue with tox failing without unittest2 installed in Python 2.6 was fixed
362 by @moreati (gh pr #115)
363- Several deprecated functions were replaced in the tests by @moreati
364 (gh pr #116)
365- Improved the logic in Travis and Appveyor to alleviate issues where builds
366 were failing due to connection issues when downloading the IANA timezone
367 files. In addition to adding our own mirror for the files (gh pr #183), the
368 download is now retried a number of times (with a delay) (gh pr #177)
369- Many failing doctests were fixed by @moreati. (gh pr #120)
370- Many fixes to the documentation (gh pr #103, gh pr #87 from @radarhere,
371 gh pr #154 from @gpoesia, gh pr #156 from @awsum, gh pr #168 from @ja8zyjits)
372- Added a code coverage tool to the CI to help improve the library. (gh pr #182)
373- We now have a mailing list - dateutil@python.org, graciously hosted by
374 Python.org.
375
376
377Version 2.4.2
378-------------
379- Updated zoneinfo to 2015b.
380- Fixed issue with parsing of tzstr on Python 2.7.x; tzstr will now be decoded
381 if not a unicode type. gh #51 (lp:1331576), gh pr #55.
382- Fix a parser issue where AM and PM tokens were showing up in fuzzy date
383 stamps, triggering inappropriate errors. gh #56 (lp: 1428895), gh pr #63.
384- Missing function "setcachesize" removed from zoneinfo __all__ list by @ryanss,
385 fixing an issue with wildcard imports of dateutil.zoneinfo. (gh pr #66).
Jon Dufresnee1d4eb22018-01-06 17:19:38 -0800386- (PyPI only) Fix an issue with source distributions not including the test
Zbigniew Jędrzejewski-Szmek8ef32342016-02-28 20:05:09 -0500387 suite.
388
389
390Version 2.4.1
391-------------
392
393- Added explicit check for valid hours if AM/PM is specified in parser.
394 (gh pr #22, issue #21)
395- Fix bug in rrule introduced in 2.4.0 where byweekday parameter was not
396 handled properly. (gh pr #35, issue #34)
397- Fix error where parser allowed some invalid dates, overwriting existing hours
398 with the last 2-digit number in the string. (gh pr #32, issue #31)
399- Fix and add test for Python 2.x compatibility with boolean checking of
400 relativedelta objects. Implemented by @nimasmi (gh pr #43) and Cédric Krier
401 (lp: 1035038)
402- Replaced parse() calls with explicit datetime objects in unit tests unrelated
403 to parser. (gh pr #36)
404- Changed private _byxxx from sets to sorted tuples and fixed one currently
405 unreachable bug in _construct_byset. (gh pr #54)
406- Additional documentation for parser (gh pr #29, #33, #41) and rrule.
407- Formatting fixes to documentation of rrule and README.rst.
408- Updated zoneinfo to 2015a.
409
410Version 2.4.0
411-------------
412
413- Fix an issue with relativedelta and freezegun (lp:1374022)
414- Fix tzinfo in windows for timezones without dst (lp:1010050, gh #2)
415- Ignore missing timezones in windows like in POSIX
416- Fix minimal version requirement for six (gh #6)
417- Many rrule changes and fixes by @pganssle (gh pull requests #13 #14 #17),
418 including defusing some infinite loops (gh #4)
419
420Version 2.3
421-----------
422
423- Cleanup directory structure, moved test.py to dateutil/tests/test.py
424
425- Changed many aspects of dealing with the zone info file. Instead of a cache,
426 all the zones are loaded to memory, but symbolic links are loaded only once,
427 so not much memory is used.
428
429- The package is now zip-safe, and universal-wheelable, thanks to changes in
430 the handling of the zoneinfo file.
431
432- Fixed tzwin silently not imported on windows python2
433
434- New maintainer, together with new hosting: GitHub, Travis, Read-The-Docs
435
436Version 2.2
437-----------
438
439- Updated zoneinfo to 2013h
440
441- fuzzy_with_tokens parse addon from Christopher Corley
442
443- Bug with LANG=C fixed by Mike Gilbert
444
445Version 2.1
446-----------
447
448- New maintainer
449
450- Dateutil now works on Python 2.6, 2.7 and 3.2 from same codebase (with six)
451
452- #704047: Ismael Carnales' patch for a new time format
453
454- Small bug fixes, thanks for reporters!
455
456
457Version 2.0
458-----------
459
460- Ported to Python 3, by Brian Jones. If you need dateutil for Python 2.X,
461 please continue using the 1.X series.
462
463- There's no such thing as a "PSF License". This source code is now
464 made available under the Simplified BSD license. See LICENSE for
465 details.
466
467Version 1.5
468-----------
469
470- As reported by Mathieu Bridon, rrules were matching the bysecond rules
471 incorrectly against byminute in some circumstances when the SECONDLY
472 frequency was in use, due to a copy & paste bug. The problem has been
473 unittested and corrected.
474
475- Adam Ryan reported a problem in the relativedelta implementation which
476 affected the yearday parameter in the month of January specifically.
477 This has been unittested and fixed.
478
479- Updated timezone information.
480
481
482Version 1.4.1
483-------------
484
485- Updated timezone information.
486
487
488Version 1.4
489-----------
490
491- Fixed another parser precision problem on conversion of decimal seconds
492 to microseconds, as reported by Erik Brown. Now these issues are gone
493 for real since it's not using floating point arithmetic anymore.
494
495- Fixed case where tzrange.utcoffset and tzrange.dst() might fail due
496 to a date being used where a datetime was expected (reported and fixed
497 by Lennart Regebro).
498
499- Prevent tzstr from introducing daylight timings in strings that didn't
500 specify them (reported by Lennart Regebro).
501
502- Calls like gettz("GMT+3") and gettz("UTC-2") will now return the
503 expected values, instead of the TZ variable behavior.
504
505- Fixed DST signal handling in zoneinfo files. Reported by
506 Nicholas F. Fabry and John-Mark Gurney.
507
508
509Version 1.3
510-----------
511
512- Fixed precision problem on conversion of decimal seconds to
513 microseconds, as reported by Skip Montanaro.
514
515- Fixed bug in constructor of parser, and converted parser classes to
516 new-style classes. Original report and patch by Michael Elsdörfer.
517
518- Initialize tzid and comps in tz.py, to prevent the code from ever
519 raising a NameError (even with broken files). Johan Dahlin suggested
520 the fix after a pyflakes run.
521
522- Version is now published in dateutil.__version__, as requested
523 by Darren Dale.
524
525- All code is compatible with new-style division.
526
527
528Version 1.2
529-----------
530
531- Now tzfile will round timezones to full-minutes if necessary,
532 since Python's datetime doesn't support sub-minute offsets.
533 Thanks to Ilpo Nyyssönen for reporting the issue.
534
535- Removed bare string exceptions, as reported and fixed by
536 Wilfredo Sánchez Vega.
537
538- Fix bug in leap count parsing (reported and fixed by Eugene Oden).
539
540
541Version 1.1
542-----------
543
544- Fixed rrule byyearday handling. Abramo Bagnara pointed out that
545 RFC2445 allows negative numbers.
546
547- Fixed --prefix handling in setup.py (by Sidnei da Silva).
548
549- Now tz.gettz() returns a tzlocal instance when not given any
550 arguments and no other timezone information is found.
551
552- Updating timezone information to version 2005q.
553
554
555Version 1.0
556-----------
557
558- Fixed parsing of XXhXXm formatted time after day/month/year
559 has been parsed.
560
561- Added patch by Jeffrey Harris optimizing rrule.__contains__.
562
563
564Version 0.9
565-----------
566
567- Fixed pickling of timezone types, as reported by
568 Andreas Köhler.
569
570- Implemented internal timezone information with binary
571 timezone files [1]. datautil.tz.gettz() function will now
572 try to use the system timezone files, and fallback to
573 the internal versions. It's also possible to ask for
574 the internal versions directly by using
575 dateutil.zoneinfo.gettz().
576
577- New tzwin timezone type, allowing access to Windows
578 internal timezones (contributed by Jeffrey Harris).
579
580- Fixed parsing of unicode date strings.
581
582- Accept parserinfo instances as the parser constructor
583 parameter, besides parserinfo (sub)classes.
584
585- Changed weekday to spell the not-set n value as None
586 instead of 0.
587
588- Fixed other reported bugs.
589
590[1] http://www.twinsun.com/tz/tz-link.htm
591
592
593Version 0.5
594-----------
595
596- Removed FREQ_ prefix from rrule frequency constants
597 WARNING: this breaks compatibility with previous versions.
598
599- Fixed rrule.between() for cases where "after" is achieved
600 before even starting, as reported by Andreas Köhler.
601
602- Fixed two digit zero-year parsing (such as 31-Dec-00), as
603 reported by Jim Abramson, and included test case for this.
604
605- Sort exdate and rdate before iterating over them, so that
606 it's not necessary to sort them before adding to the rruleset,
607 as reported by Nicholas Piper.