-#XXX standard format?
-#XXX should this be NEWS?
+Version 0.5
+-----------
+Folder names are now encoded and decoded transparently if required (using
+modified UTF-7). This means that any methods that return folder names may
+return unicode objects as well as normal strings [API CHANGE]. Additionally,
+any method that takes a folder name now accepts unicode object too. Use the
+folder_encode attribute to control whether encode/decoding is performed.
-folder name quoting bugs
+Unquoted folder names in server responses are now handled correctly. Thanks
+to Neil Martinsen-Burrell for reporting this bug.
-transparent internationalised folder name handling
+Fixed a bug with handling of unusual characters in folder names.
-timezone handling fixed
-
-more tests
-
-includes mock.py
+Timezones are now handled correctly for datetimes passed as input and for
+server responses. This fixes a number of bugs with timezones. Returned
+datetimes are always in the client's local timezone [API CHANGE].
+Many more unit tests, some using Michael Foord's excellent mock.py.
+(http://www.voidspace.org.uk/python/mock/)
with no dependencies outside the Python standard library.
Features:
- - Arguments and return values are natural Python types.
- - IMAP server responses are fully parsed and readily useable.
- - IMAP unique message IDs (UIDs) are handled transparently. There is no
- need to call different methods to use UIDs.
- - Escaping for internationalized mailbox names is transparently handled.
- Unicode mailbox names may be passed as input where-ever a folder name is
- accepted.
- - Time zones are transparently handled including when the server and client
- are in different zones.
- - Convenience methods are provided for commonly used functionality.
- - Exceptions are raised when errors occur.
+- Arguments and return values are natural Python types.
+- IMAP server responses are fully parsed and readily useable.
+- IMAP unique message IDs (UIDs) are handled transparently. There is no
+ need to call different methods to use UIDs.
+- Escaping for internationalised mailbox names is transparently handled.
+ Unicode mailbox names may be passed as input wherever a folder name is
+ accepted.
+- Time zones are transparently handled including when the server and client
+ are in different zones.
+- Convenience methods are provided for commonly used functionality.
+- Exceptions are raised when errors occur.
Why IMAPClient?
---------------
Unit Tests
----------
There are fairly comprehensive unit tests for the FETCH response parser and
-related code in test_FetchParser.py. These tests use unittest and can be run
-using "python setup.py test" or "python run_tests.py".
+a growing number of other parts of the code. These tests use unittest and can
+be run using "python setup.py test" or "python run_tests.py".