blob: b94a93403628d2aa67deed006b62ed6d2caf196a [file] [log] [blame]
Paul Gansslec778dd12016-03-27 11:47:46 -04001Version 2.5.2
2-------------
3- Updated zoneinfo to 2016c
4- Fixed parser bug where yearfirst and dayfirst parameters were not being
5 respected when no separator was present. (gh issue #81 and #217, pr #229)
6
Paul Ganssle66f29ba2016-03-17 12:49:09 -04007Version 2.5.1
8-------------
9- Updated zoneinfo to 2016b
10- Changed MANIFEST.in to explicitly include test suite in source distributions,
11 with help from @koobs (gh issue #193, pr #194, #201, #221)
12- Explicitly set all line-endings to LF, except for the NEWS file, on a
13 per-repository basis (gh pr #218)
14- Fixed an issue with improper caching behavior in rruleset objects (gh issue
15 #104, pr #207)
16- Changed to an explicit error when rrulestr strings contain a missing BYDAY
17 (gh issue #162, pr #211)
18- tzfile now correctly handles files containing leapcnt (although the leapcnt
19 information is not actually used). Contributed by @hjoukl (gh issue #146, pr
20 #147)
21- Fixed recursive import issue with tz module (gh pr #204)
22- Added compatibility between tzwin objects and datetime.time objects (gh issue
23 #216, gh pr #219)
24- Refactored monolithic test suite by module (gh issue #61, pr #200 and #206)
25- Improved test coverage in the relativedelta module (gh pr #215)
26- Adjusted documentation to reflect possibly counter-intuitive properties of
27 RFC-5545-compliant rrules, and other documentation improvements in the rrule
28 module (gh issue #105, gh issue #149 - pointer to the solution by @phep,
29 pr #213).
30
31
Zbigniew Jędrzejewski-Szmek8ef32342016-02-28 20:05:09 -050032Version 2.5.0
33-------------
34- Updated zoneinfo to 2016a
35- zoneinfo_metadata file version increased to 2.0 - the updated updatezinfo.py
36 script will work with older zoneinfo_metadata.json files, but new metadata
37 files will not work with older updatezinfo.py versions. Additionally, we have
38 started hosting our own mirror of the Olson databases on a github pages
39 site (https://dateutil.github.io/tzdata/) (gh pr #183)
40- dateutil zoneinfo tarballs now contain the full zoneinfo_metadata file used
41 to generate them. (gh issue #27, gh pr #85)
42- relativedelta can now be safely subclassed without derived objects reverting
43 to base relativedelta objects as a result of arithmetic operations.
44 (lp:1010199, gh issue #44, pr #49)
45- relativedelta 'weeks' parameter can now be set and retrieved as a property of
46 relativedelta instances. (lp: 727525, gh issue #45, pr #49)
47- relativedelta now explicitly supports fractional relative weeks, days, hours,
48 minutes and seconds. Fractional values in absolute parameters (year, day, etc)
49 are now deprecated. (gh issue #40, pr #190)
50- relativedelta objects previously did not use microseconds to determine of two
51 relativedelta objects were equal. This oversight has been corrected.
52 Contributed by @elprans (gh pr #113)
53- rrule now has an xafter() method for retrieving multiple recurrences after a
54 specified date. (gh pr #38)
55- str(rrule) now returns an RFC2445-compliant rrule string, contributed by
56 @schinckel and @armicron (lp:1406305, gh issue #47, prs #50, #62 and #160)
57- rrule performance under certain conditions has been significantly improved
58 thanks to a patch contributed by @dekoza, based on an article by Brian Beck
59 (@exogen) (gh pr #136)
60- The use of both the 'until' and 'count' parameters is now deprecated as
61 inconsistent with RFC2445 (gh pr #62, #185)
62- Parsing an empty string will now raise a ValueError, rather than returning the
63 datetime passed to the 'default' parameter. (gh issue #78, pr #187)
64- tzwinlocal objects now have a meaningful repr() and str() implementation
65 (gh issue #148, prs #184 and #186)
66- Added equality logic for tzwin and tzwinlocal objects. (gh issue #151,
67 pr #180, #184)
68- Added some flexibility in subclassing timelex, and switched the default
69 behavior over to using string methods rather than comparing against a fixed
70 list. (gh pr #122, #139)
71- An issue causing tzstr() to crash on Python 2.x was fixed. (lp: 1331576,
72 gh issue #51, pr #55)
73- An issue with string encoding causing exceptions under certain circumstances
74 when tzname() is called was fixed. (gh issue #60, #74, pr #75)
75- Parser issue where calling parse() on dates with no day specified when the
76 day of the month in the default datetime (which is "today" if unspecified) is
77 greater than the number of days in the parsed month was fixed (this issue
78 tended to crop up between the 29th and 31st of the month, for obvious reasons)
79 (canonical gh issue #25, pr #30, #191)
80- Fixed parser issue causing fuzzy_with_tokens to raise an unexpected exception
81 in certain circumstances. Contributed by @MichaelAquilina (gh pr #91)
82- Fixed parser issue where years > 100 AD were incorrectly parsed. Contributed
83 by @Bachmann1234 (gh pr #130)
84- Fixed parser issue where commas were not a valid separator between seconds
85 and microseconds, preventing parsing of ISO 8601 dates. Contributed by
86 @ryanss (gh issue #28, pr #106)
87- Fixed issue with tzwin encoding in locales with non-Latin alphabets
88 (gh issue #92, pr #98)
89- Fixed an issue where tzwin was not being properly imported on Windows.
90 Contributed by @labrys. (gh pr #134)
91- Fixed a problem causing issues importing zoneinfo in certain circumstances.
92 Issue and solution contributed by @alexxv (gh issue #97, pr #99)
93- Fixed an issue where dateutil timezones were not compatible with basic time
94 objects. One of many, many timezone related issues contributed and tested by
95 @labrys. (gh issue #132, pr #181)
96- Fixed issue where tzwinlocal had an invalid utcoffset. (gh issue #135,
97 pr #141, #142)
98- Fixed issue with tzwin and tzwinlocal where DST transitions were incorrectly
99 parsed from the registry. (gh issue #143, pr #178)
100- updatezinfo.py no longer suppresses certain OSErrors. Contributed by @bjamesv
101 (gh pr #164)
102- An issue that arose when timezone locale changes during runtime has been
103 fixed by @carlosxl and @mjschultz (gh issue #100, prs #107, #109)
104- Python 3.5 was added to the supported platforms in the metadata (@tacaswell
105 gh pr #159) and the test suites (@moreati gh pr #117).
106- An issue with tox failing without unittest2 installed in Python 2.6 was fixed
107 by @moreati (gh pr #115)
108- Several deprecated functions were replaced in the tests by @moreati
109 (gh pr #116)
110- Improved the logic in Travis and Appveyor to alleviate issues where builds
111 were failing due to connection issues when downloading the IANA timezone
112 files. In addition to adding our own mirror for the files (gh pr #183), the
113 download is now retried a number of times (with a delay) (gh pr #177)
114- Many failing doctests were fixed by @moreati. (gh pr #120)
115- Many fixes to the documentation (gh pr #103, gh pr #87 from @radarhere,
116 gh pr #154 from @gpoesia, gh pr #156 from @awsum, gh pr #168 from @ja8zyjits)
117- Added a code coverage tool to the CI to help improve the library. (gh pr #182)
118- We now have a mailing list - dateutil@python.org, graciously hosted by
119 Python.org.
120
121
122Version 2.4.2
123-------------
124- Updated zoneinfo to 2015b.
125- Fixed issue with parsing of tzstr on Python 2.7.x; tzstr will now be decoded
126 if not a unicode type. gh #51 (lp:1331576), gh pr #55.
127- Fix a parser issue where AM and PM tokens were showing up in fuzzy date
128 stamps, triggering inappropriate errors. gh #56 (lp: 1428895), gh pr #63.
129- Missing function "setcachesize" removed from zoneinfo __all__ list by @ryanss,
130 fixing an issue with wildcard imports of dateutil.zoneinfo. (gh pr #66).
131- (PyPi only) Fix an issue with source distributions not including the test
132 suite.
133
134
135Version 2.4.1
136-------------
137
138- Added explicit check for valid hours if AM/PM is specified in parser.
139 (gh pr #22, issue #21)
140- Fix bug in rrule introduced in 2.4.0 where byweekday parameter was not
141 handled properly. (gh pr #35, issue #34)
142- Fix error where parser allowed some invalid dates, overwriting existing hours
143 with the last 2-digit number in the string. (gh pr #32, issue #31)
144- Fix and add test for Python 2.x compatibility with boolean checking of
145 relativedelta objects. Implemented by @nimasmi (gh pr #43) and Cédric Krier
146 (lp: 1035038)
147- Replaced parse() calls with explicit datetime objects in unit tests unrelated
148 to parser. (gh pr #36)
149- Changed private _byxxx from sets to sorted tuples and fixed one currently
150 unreachable bug in _construct_byset. (gh pr #54)
151- Additional documentation for parser (gh pr #29, #33, #41) and rrule.
152- Formatting fixes to documentation of rrule and README.rst.
153- Updated zoneinfo to 2015a.
154
155Version 2.4.0
156-------------
157
158- Fix an issue with relativedelta and freezegun (lp:1374022)
159- Fix tzinfo in windows for timezones without dst (lp:1010050, gh #2)
160- Ignore missing timezones in windows like in POSIX
161- Fix minimal version requirement for six (gh #6)
162- Many rrule changes and fixes by @pganssle (gh pull requests #13 #14 #17),
163 including defusing some infinite loops (gh #4)
164
165Version 2.3
166-----------
167
168- Cleanup directory structure, moved test.py to dateutil/tests/test.py
169
170- Changed many aspects of dealing with the zone info file. Instead of a cache,
171 all the zones are loaded to memory, but symbolic links are loaded only once,
172 so not much memory is used.
173
174- The package is now zip-safe, and universal-wheelable, thanks to changes in
175 the handling of the zoneinfo file.
176
177- Fixed tzwin silently not imported on windows python2
178
179- New maintainer, together with new hosting: GitHub, Travis, Read-The-Docs
180
181Version 2.2
182-----------
183
184- Updated zoneinfo to 2013h
185
186- fuzzy_with_tokens parse addon from Christopher Corley
187
188- Bug with LANG=C fixed by Mike Gilbert
189
190Version 2.1
191-----------
192
193- New maintainer
194
195- Dateutil now works on Python 2.6, 2.7 and 3.2 from same codebase (with six)
196
197- #704047: Ismael Carnales' patch for a new time format
198
199- Small bug fixes, thanks for reporters!
200
201
202Version 2.0
203-----------
204
205- Ported to Python 3, by Brian Jones. If you need dateutil for Python 2.X,
206 please continue using the 1.X series.
207
208- There's no such thing as a "PSF License". This source code is now
209 made available under the Simplified BSD license. See LICENSE for
210 details.
211
212Version 1.5
213-----------
214
215- As reported by Mathieu Bridon, rrules were matching the bysecond rules
216 incorrectly against byminute in some circumstances when the SECONDLY
217 frequency was in use, due to a copy & paste bug. The problem has been
218 unittested and corrected.
219
220- Adam Ryan reported a problem in the relativedelta implementation which
221 affected the yearday parameter in the month of January specifically.
222 This has been unittested and fixed.
223
224- Updated timezone information.
225
226
227Version 1.4.1
228-------------
229
230- Updated timezone information.
231
232
233Version 1.4
234-----------
235
236- Fixed another parser precision problem on conversion of decimal seconds
237 to microseconds, as reported by Erik Brown. Now these issues are gone
238 for real since it's not using floating point arithmetic anymore.
239
240- Fixed case where tzrange.utcoffset and tzrange.dst() might fail due
241 to a date being used where a datetime was expected (reported and fixed
242 by Lennart Regebro).
243
244- Prevent tzstr from introducing daylight timings in strings that didn't
245 specify them (reported by Lennart Regebro).
246
247- Calls like gettz("GMT+3") and gettz("UTC-2") will now return the
248 expected values, instead of the TZ variable behavior.
249
250- Fixed DST signal handling in zoneinfo files. Reported by
251 Nicholas F. Fabry and John-Mark Gurney.
252
253
254Version 1.3
255-----------
256
257- Fixed precision problem on conversion of decimal seconds to
258 microseconds, as reported by Skip Montanaro.
259
260- Fixed bug in constructor of parser, and converted parser classes to
261 new-style classes. Original report and patch by Michael Elsdörfer.
262
263- Initialize tzid and comps in tz.py, to prevent the code from ever
264 raising a NameError (even with broken files). Johan Dahlin suggested
265 the fix after a pyflakes run.
266
267- Version is now published in dateutil.__version__, as requested
268 by Darren Dale.
269
270- All code is compatible with new-style division.
271
272
273Version 1.2
274-----------
275
276- Now tzfile will round timezones to full-minutes if necessary,
277 since Python's datetime doesn't support sub-minute offsets.
278 Thanks to Ilpo Nyyssönen for reporting the issue.
279
280- Removed bare string exceptions, as reported and fixed by
281 Wilfredo Sánchez Vega.
282
283- Fix bug in leap count parsing (reported and fixed by Eugene Oden).
284
285
286Version 1.1
287-----------
288
289- Fixed rrule byyearday handling. Abramo Bagnara pointed out that
290 RFC2445 allows negative numbers.
291
292- Fixed --prefix handling in setup.py (by Sidnei da Silva).
293
294- Now tz.gettz() returns a tzlocal instance when not given any
295 arguments and no other timezone information is found.
296
297- Updating timezone information to version 2005q.
298
299
300Version 1.0
301-----------
302
303- Fixed parsing of XXhXXm formatted time after day/month/year
304 has been parsed.
305
306- Added patch by Jeffrey Harris optimizing rrule.__contains__.
307
308
309Version 0.9
310-----------
311
312- Fixed pickling of timezone types, as reported by
313 Andreas Köhler.
314
315- Implemented internal timezone information with binary
316 timezone files [1]. datautil.tz.gettz() function will now
317 try to use the system timezone files, and fallback to
318 the internal versions. It's also possible to ask for
319 the internal versions directly by using
320 dateutil.zoneinfo.gettz().
321
322- New tzwin timezone type, allowing access to Windows
323 internal timezones (contributed by Jeffrey Harris).
324
325- Fixed parsing of unicode date strings.
326
327- Accept parserinfo instances as the parser constructor
328 parameter, besides parserinfo (sub)classes.
329
330- Changed weekday to spell the not-set n value as None
331 instead of 0.
332
333- Fixed other reported bugs.
334
335[1] http://www.twinsun.com/tz/tz-link.htm
336
337
338Version 0.5
339-----------
340
341- Removed FREQ_ prefix from rrule frequency constants
342 WARNING: this breaks compatibility with previous versions.
343
344- Fixed rrule.between() for cases where "after" is achieved
345 before even starting, as reported by Andreas Köhler.
346
347- Fixed two digit zero-year parsing (such as 31-Dec-00), as
348 reported by Jim Abramson, and included test case for this.
349
350- Sort exdate and rdate before iterating over them, so that
351 it's not necessary to sort them before adding to the rruleset,
352 as reported by Nicholas Piper.