3 | 3 |
HEAD
|
4 | 4 |
----
|
5 | 5 |
|
|
6 |
4.6.1
|
|
7 |
-----
|
|
8 |
|
|
9 |
- Support `tzlocal>=4.1`
|
|
10 |
- Bug fixes for paging in multi-folder requests.
|
6 | 11 |
|
7 | 12 |
4.6.0
|
8 | 13 |
-----
|
|
14 |
|
9 | 15 |
- Support microsecond precision in `EWSDateTime.ewsformat()`
|
10 | 16 |
- Remove usage of the `multiprocessing` module to allow running in AWS Lambda
|
11 | 17 |
- Support `tzlocal>=4`
|
12 | 18 |
|
13 | |
|
14 | 19 |
4.5.2
|
15 | 20 |
-----
|
16 | |
- Make `FileAttachment.fp` a proper `BytesIO` implementation
|
17 | |
- Add missing `CalendarItem.recurrence_id` field
|
18 | |
- Add `SingleFolderQuerySet.resolve()` to aid accessing a folder shared by a different account:
|
|
21 |
|
|
22 |
- Make `FileAttachment.fp` a proper `BytesIO` implementation
|
|
23 |
- Add missing `CalendarItem.recurrence_id` field
|
|
24 |
- Add `SingleFolderQuerySet.resolve()` to aid accessing a folder shared by a different account:
|
|
25 |
|
19 | 26 |
```python
|
20 | 27 |
from exchangelib import Account
|
21 | 28 |
from exchangelib.folders import Calendar, SingleFolderQuerySet
|
|
27 | 34 |
mailbox=Mailbox(email_address="other_user@example.com")
|
28 | 35 |
)).resolve()
|
29 | 36 |
```
|
|
37 |
|
30 | 38 |
- Minor bugfixes
|
31 | 39 |
|
32 | |
|
33 | 40 |
4.5.1
|
34 | 41 |
-----
|
35 | |
- Support updating items in `Account.upload()`. Previously, only insert was supported.
|
36 | |
- Fixed types for `Contact.manager_mailbox` and `Contact.direct_reports`.
|
37 | |
- Support getting `text_body` field on item attachments.
|
38 | |
|
|
42 |
|
|
43 |
- Support updating items in `Account.upload()`. Previously, only insert was supported.
|
|
44 |
- Fixed types for `Contact.manager_mailbox` and `Contact.direct_reports`.
|
|
45 |
- Support getting `text_body` field on item attachments.
|
39 | 46 |
|
40 | 47 |
4.5.0
|
41 | 48 |
-----
|
42 | |
- Fixed bug when updating indexed fields on `Contact` items.
|
43 | |
- Fixed bug preventing parsing of `CalendarPermission` items in the `permission_set` field.
|
44 | |
- Add support for parsing push notification POST requests sent from the Exchange server
|
45 | |
to the callback URL.
|
46 | |
|
|
49 |
|
|
50 |
- Fixed bug when updating indexed fields on `Contact` items.
|
|
51 |
- Fixed bug preventing parsing of `CalendarPermission` items in the `permission_set` field.
|
|
52 |
- Add support for parsing push notification POST requests sent from the Exchange server to the callback URL.
|
47 | 53 |
|
48 | 54 |
4.4.0
|
49 | 55 |
-----
|
50 | |
- Add `Folder.move()` to move folders to a different parent folder.
|
51 | |
|
|
56 |
|
|
57 |
- Add `Folder.move()` to move folders to a different parent folder.
|
52 | 58 |
|
53 | 59 |
4.3.0
|
54 | 60 |
-----
|
55 | |
- Add context managers `Folder.pull_subscription()`, `Folder.push_subscription()` and
|
56 | |
`Folder.streaming_subscription()` that handle unsubscriptions automatically.
|
57 | |
|
|
61 |
|
|
62 |
- Add context managers `Folder.pull_subscription()`, `Folder.push_subscription()` and
|
|
63 |
`Folder.streaming_subscription()` that handle unsubscriptions automatically.
|
58 | 64 |
|
59 | 65 |
4.2.0
|
60 | 66 |
-----
|
61 | |
- Move `util._may_retry_on_error` and and `util._raise_response_errors` to
|
62 | |
`RetryPolicy.may_retry_on_error` and `RetryPolicy.raise_response_errors`, respectively. This allows
|
63 | |
for easier customization of the retry logic.
|
64 | |
|
|
67 |
|
|
68 |
- Move `util._may_retry_on_error` and and `util._raise_response_errors` to
|
|
69 |
`RetryPolicy.may_retry_on_error` and `RetryPolicy.raise_response_errors`, respectively. This allows for easier
|
|
70 |
customization of the retry logic.
|
65 | 71 |
|
66 | 72 |
4.1.0
|
67 | 73 |
-----
|
68 | |
- Add support for synchronization, subscriptions and notifications. Both pull, push and streaming
|
69 | |
notifications are supported. See https://ecederstrand.github.io/exchangelib/#synchronization-subscriptions-and-notifications
|
70 | |
|
|
74 |
|
|
75 |
- Add support for synchronization, subscriptions and notifications. Both pull, push and streaming notifications are
|
|
76 |
supported. See https://ecederstrand.github.io/exchangelib/#synchronization-subscriptions-and-notifications
|
71 | 77 |
|
72 | 78 |
4.0.0
|
73 | 79 |
-----
|
74 | |
- Add a new `max_connections` option for the `Configuration` class, to increase the session pool size
|
75 | |
on a per-server, per-credentials basis. Useful when exchangelib is used with threads, where one may
|
76 | |
wish to increase the number of concurrent connections to the server.
|
77 | |
- Add `Message.mark_as_junk()` and complementary `QuerySet.mark_as_junk()` methods to mark or un-mark
|
78 | |
messages as junk email, and optionally move them to the junk folder.
|
79 | |
- Add support for Master Category Lists, also known as User Configurations. These are custom values
|
80 | |
that can be assigned to folders. Available via `Folder.get_user_configuration()`.
|
81 | |
- `Persona` objects as returned by `QuerySet.people()` now support almost all documented fields.
|
82 | |
- Improved `QuerySet.people()` to call the `GetPersona` service if at least one field is requested that
|
83 | |
is not supported by the `FindPeople` service.
|
84 | |
- Removed the internal caching in `QuerySet`. It's not necessary in most use cases for exchangelib,
|
85 | |
and the memory overhead and complexity is not worth the extra effort. This means that `.iterator()`
|
86 | |
is now a no-op and marked as deprecated. ATTENTION: If you previously relied on caching of results
|
87 | |
in `QuerySet`, you need to do you own caching now.
|
88 | |
- Allow plain `date`, `datetime` and `zoneinfo.ZoneInfo` objects as values for fields and methods. This
|
89 | |
lowers the barrier for using the library. We still use `EWSDate`, `EWSDateTime` and `EWSTimeZone` for
|
90 | |
all values returned from the server, but these classes are subclasses of `date`, `datetime` and
|
91 | |
`zoneinfo.ZoneInfo` objects and instances will behave just like instance of their parent class.
|
92 | |
|
|
80 |
|
|
81 |
- Add a new `max_connections` option for the `Configuration` class, to increase the session pool size on a per-server,
|
|
82 |
per-credentials basis. Useful when exchangelib is used with threads, where one may wish to increase the number of
|
|
83 |
concurrent connections to the server.
|
|
84 |
- Add `Message.mark_as_junk()` and complementary `QuerySet.mark_as_junk()` methods to mark or un-mark messages as junk
|
|
85 |
email, and optionally move them to the junk folder.
|
|
86 |
- Add support for Master Category Lists, also known as User Configurations. These are custom values that can be assigned
|
|
87 |
to folders. Available via `Folder.get_user_configuration()`.
|
|
88 |
- `Persona` objects as returned by `QuerySet.people()` now support almost all documented fields.
|
|
89 |
- Improved `QuerySet.people()` to call the `GetPersona` service if at least one field is requested that is not supported
|
|
90 |
by the `FindPeople` service.
|
|
91 |
- Removed the internal caching in `QuerySet`. It's not necessary in most use cases for exchangelib, and the memory
|
|
92 |
overhead and complexity is not worth the extra effort. This means that `.iterator()`
|
|
93 |
is now a no-op and marked as deprecated. ATTENTION: If you previously relied on caching of results in `QuerySet`, you
|
|
94 |
need to do you own caching now.
|
|
95 |
- Allow plain `date`, `datetime` and `zoneinfo.ZoneInfo` objects as values for fields and methods. This lowers the
|
|
96 |
barrier for using the library. We still use `EWSDate`, `EWSDateTime` and `EWSTimeZone` for all values returned from
|
|
97 |
the server, but these classes are subclasses of `date`, `datetime` and
|
|
98 |
`zoneinfo.ZoneInfo` objects and instances will behave just like instance of their parent class.
|
93 | 99 |
|
94 | 100 |
3.3.2
|
95 | 101 |
-----
|
96 | |
- Change Kerberos dependency from `requests_kerberos` to `requests_gssapi`
|
97 | |
- Let `EWSDateTime.from_datetime()` accept `datetime.datetime` objects with `tzinfo` objects that
|
98 | |
are `dateutil`, `zoneinfo` and `pytz` instances, in addition to `EWSTimeZone`.
|
99 | |
|
|
102 |
|
|
103 |
- Change Kerberos dependency from `requests_kerberos` to `requests_gssapi`
|
|
104 |
- Let `EWSDateTime.from_datetime()` accept `datetime.datetime` objects with `tzinfo` objects that are `dateutil`
|
|
105 |
, `zoneinfo` and `pytz` instances, in addition to `EWSTimeZone`.
|
100 | 106 |
|
101 | 107 |
3.3.1
|
102 | 108 |
-----
|
103 | |
- Allow overriding `dns.resolver.Resolver` class attributes via `Autodiscovery.DNS_RESOLVER_ATTRS`.
|
104 | |
|
|
109 |
|
|
110 |
- Allow overriding `dns.resolver.Resolver` class attributes via `Autodiscovery.DNS_RESOLVER_ATTRS`.
|
105 | 111 |
|
106 | 112 |
3.3.0
|
107 | 113 |
-----
|
108 | |
- Switch `EWSTimeZone` to be implemented on top of the new `zoneinfo` module in Python 3.9 instead
|
109 | |
of `pytz`. `backports.zoneinfo` is used for earlier versions of Python. This means that the
|
110 | |
`ÈWSTimeZone` methods `timezone()`, `normalize()` and `localize()` methods are now deprecated.
|
111 | |
- Add `EWSTimeZone.from_dateutil()` to support converting `dateutil.tz` timezones to `EWSTimeZone`.
|
112 | |
- Dropped support for Python 3.5 which is EOL per September 2020.
|
113 | |
- Added support for `CalendaItem.appointment_state`, `CalendaItem.conflicting_meetings` and
|
114 | |
`CalendarItem.adjacent_meetings` fields.
|
115 | |
- Added support for the `Message.reminder_message_data` field.
|
116 | |
- Added support for `Contact.manager_mailbox`, `Contact.direct_reports` and `Contact.complete_name` fields.
|
117 | |
- Added support for `Item.response_objects` field.
|
118 | |
- Changed `Task.due_date` and `Tas.start_date` fields from datetime to date fields, since the time
|
119 | |
was being truncated anyway by the server.
|
120 | |
- Added support for `Task.recurrence` field.
|
121 | |
- Added read-only support for `Contact.user_smime_certificate` and `Contact.ms_exchange_certificate`.
|
122 | |
This means that all fields on all item types are now supported.
|
123 | |
|
|
114 |
|
|
115 |
- Switch `EWSTimeZone` to be implemented on top of the new `zoneinfo` module in Python 3.9 instead of `pytz`
|
|
116 |
. `backports.zoneinfo` is used for earlier versions of Python. This means that the
|
|
117 |
`ÈWSTimeZone` methods `timezone()`, `normalize()` and `localize()` methods are now deprecated.
|
|
118 |
- Add `EWSTimeZone.from_dateutil()` to support converting `dateutil.tz` timezones to `EWSTimeZone`.
|
|
119 |
- Dropped support for Python 3.5 which is EOL per September 2020.
|
|
120 |
- Added support for `CalendaItem.appointment_state`, `CalendaItem.conflicting_meetings` and
|
|
121 |
`CalendarItem.adjacent_meetings` fields.
|
|
122 |
- Added support for the `Message.reminder_message_data` field.
|
|
123 |
- Added support for `Contact.manager_mailbox`, `Contact.direct_reports` and `Contact.complete_name` fields.
|
|
124 |
- Added support for `Item.response_objects` field.
|
|
125 |
- Changed `Task.due_date` and `Tas.start_date` fields from datetime to date fields, since the time was being truncated
|
|
126 |
anyway by the server.
|
|
127 |
- Added support for `Task.recurrence` field.
|
|
128 |
- Added read-only support for `Contact.user_smime_certificate` and `Contact.ms_exchange_certificate`. This means that
|
|
129 |
all fields on all item types are now supported.
|
124 | 130 |
|
125 | 131 |
3.2.1
|
126 | 132 |
-----
|
127 | |
- Fix bug leading to an exception in `CalendarItem.cancel()`.
|
128 | |
- Improve stability of `.order_by()` in edge cases where sorting must be done client-side.
|
129 | |
- Allow increasing the session pool-size dynamically.
|
130 | |
- Change semantics of `.filter(foo__in=[])` to return an empty result. This was previously undefined
|
131 | |
behavior. Now we adopt the behaviour of Django in this case. This is still undefined behavior for
|
132 | |
list-type fields.
|
133 | |
- Moved documentation to GitHub Pages and auto-documentation generated by `pdoc3`.
|
134 | |
|
|
133 |
|
|
134 |
- Fix bug leading to an exception in `CalendarItem.cancel()`.
|
|
135 |
- Improve stability of `.order_by()` in edge cases where sorting must be done client-side.
|
|
136 |
- Allow increasing the session pool-size dynamically.
|
|
137 |
- Change semantics of `.filter(foo__in=[])` to return an empty result. This was previously undefined behavior. Now we
|
|
138 |
adopt the behaviour of Django in this case. This is still undefined behavior for list-type fields.
|
|
139 |
- Moved documentation to GitHub Pages and auto-documentation generated by `pdoc3`.
|
135 | 140 |
|
136 | 141 |
3.2.0
|
137 | 142 |
-----
|
138 | |
- Remove use of `ThreadPool` objects. Threads were used to implement async HTTP requests, but
|
139 | |
were creating massive memory leaks. Async requests should be reimplemented using a real async
|
140 | |
HTTP request package, so this is just an emergency fix. This also lowers the default
|
141 | |
`Protocol.SESSION_POOLSIZE` to 1 because no internal code is running multi-threaded anymore.
|
142 | |
- All-day calendar items (created as `CalendarItem(is_all_day=True, ...)`) now accept `EWSDate`
|
143 | |
instances for the `start` and `end` values. Similarly, all-day calendar items fetched from
|
144 | |
the server now return `start` and `end` values as `EWSDate` instances. In this case, start
|
145 | |
and end values are inclusive; a one-day event starts and ends on the same `EWSDate` value.
|
146 | |
- Add support for `RecurringMasterItemId` and `OccurrenceItemId` elements that allow to request
|
147 | |
the master recurrence from a `CalendarItem` occurrence, and to request a specific occurrence
|
148 | |
from a `CalendarItem` master recurrence. `CalendarItem.master_recurrence()` and
|
149 | |
`CalendarItem.occurrence(some_occurrence_index)` methods were added to aid this traversal.
|
150 | |
`some_occurrence_index` in the last method specifies which item in the list of occurrences to
|
151 | |
target; `CalendarItem.occurrence(3)` gets the third occurrence in the recurrence.
|
152 | |
- Change `Contact.birthday` and `Contact.wedding_anniversary` from `EWSDateTime` to `EWSDate`
|
153 | |
fields. EWS still expects and sends datetime values but has started to reset the time part to
|
154 | |
11:59. Dates are a better match for these two fields anyway.
|
155 | |
- Remove support for `len(some_queryset)`. It had the nasty side-effect of forcing
|
156 | |
`list(some_queryset)` to run the query twice, once for pre-allocating the list via the result
|
157 | |
of `len(some_queryset)`, and then once more to fetch the results. All occurrences of
|
158 | |
`len(some_queryset)` can be replaced with `some_queryset.count()`. Unfortunately, there is
|
159 | |
no way to keep backwards-compatibility for this feature.
|
160 | |
- Added `Account.identity`, an attribute to contain extra information for impersonation. Setting
|
161 | |
`Account.identity.upn` or `Account.identity.sid` removes the need for an AD lookup on every request.
|
162 | |
`upn` will often be the same as `primary_smtp_address`, but it is not guaranteed. If you have
|
163 | |
access to your organization's AD servers, you can look up these values once and add them to your
|
164 | |
`Account` object to improve performance of the following requests.
|
165 | |
- Added support for CBA authentication
|
166 | |
|
|
143 |
|
|
144 |
- Remove use of `ThreadPool` objects. Threads were used to implement async HTTP requests, but were creating massive
|
|
145 |
memory leaks. Async requests should be reimplemented using a real async HTTP request package, so this is just an
|
|
146 |
emergency fix. This also lowers the default
|
|
147 |
`Protocol.SESSION_POOLSIZE` to 1 because no internal code is running multi-threaded anymore.
|
|
148 |
- All-day calendar items (created as `CalendarItem(is_all_day=True, ...)`) now accept `EWSDate`
|
|
149 |
instances for the `start` and `end` values. Similarly, all-day calendar items fetched from the server now
|
|
150 |
return `start` and `end` values as `EWSDate` instances. In this case, start and end values are inclusive; a one-day
|
|
151 |
event starts and ends on the same `EWSDate` value.
|
|
152 |
- Add support for `RecurringMasterItemId` and `OccurrenceItemId` elements that allow to request the master recurrence
|
|
153 |
from a `CalendarItem` occurrence, and to request a specific occurrence from a `CalendarItem` master
|
|
154 |
recurrence. `CalendarItem.master_recurrence()` and
|
|
155 |
`CalendarItem.occurrence(some_occurrence_index)` methods were added to aid this traversal.
|
|
156 |
`some_occurrence_index` in the last method specifies which item in the list of occurrences to
|
|
157 |
target; `CalendarItem.occurrence(3)` gets the third occurrence in the recurrence.
|
|
158 |
- Change `Contact.birthday` and `Contact.wedding_anniversary` from `EWSDateTime` to `EWSDate`
|
|
159 |
fields. EWS still expects and sends datetime values but has started to reset the time part to 11:59. Dates are a
|
|
160 |
better match for these two fields anyway.
|
|
161 |
- Remove support for `len(some_queryset)`. It had the nasty side-effect of forcing
|
|
162 |
`list(some_queryset)` to run the query twice, once for pre-allocating the list via the result of `len(some_queryset)`,
|
|
163 |
and then once more to fetch the results. All occurrences of
|
|
164 |
`len(some_queryset)` can be replaced with `some_queryset.count()`. Unfortunately, there is no way to keep
|
|
165 |
backwards-compatibility for this feature.
|
|
166 |
- Added `Account.identity`, an attribute to contain extra information for impersonation. Setting
|
|
167 |
`Account.identity.upn` or `Account.identity.sid` removes the need for an AD lookup on every request.
|
|
168 |
`upn` will often be the same as `primary_smtp_address`, but it is not guaranteed. If you have access to your
|
|
169 |
organization's AD servers, you can look up these values once and add them to your
|
|
170 |
`Account` object to improve performance of the following requests.
|
|
171 |
- Added support for CBA authentication
|
167 | 172 |
|
168 | 173 |
3.1.1
|
169 | 174 |
-----
|
170 | |
- The `max_wait` argument to `FaultTolerance` changed semantics. Previously, it triggered when
|
171 | |
the delay until the next attempt would exceed this value. It now triggers after the given
|
172 | |
timespan since the *first* request attempt.
|
173 | |
- Fixed a bug when pagination is combined with `max_items` (#710)
|
174 | |
- Other minor bug fixes
|
175 | |
|
|
175 |
|
|
176 |
- The `max_wait` argument to `FaultTolerance` changed semantics. Previously, it triggered when the delay until the next
|
|
177 |
attempt would exceed this value. It now triggers after the given timespan since the *first* request attempt.
|
|
178 |
- Fixed a bug when pagination is combined with `max_items` (#710)
|
|
179 |
- Other minor bug fixes
|
176 | 180 |
|
177 | 181 |
3.1.0
|
178 | 182 |
-----
|
179 | |
- Removed the legacy autodiscover implementation.
|
180 | |
- Added `QuerySet.depth()` to configure item traversal of querysets. Default is `Shallow` except
|
181 | |
for the `CommonViews` folder where default is `Associated`.
|
182 | |
- Updating credentials on `Account.protocol` after getting an `UnauthorizedError` now works.
|
183 | |
|
|
183 |
|
|
184 |
- Removed the legacy autodiscover implementation.
|
|
185 |
- Added `QuerySet.depth()` to configure item traversal of querysets. Default is `Shallow` except for the `CommonViews`
|
|
186 |
folder where default is `Associated`.
|
|
187 |
- Updating credentials on `Account.protocol` after getting an `UnauthorizedError` now works.
|
184 | 188 |
|
185 | 189 |
3.0.0
|
186 | 190 |
-----
|
187 | |
- The new Autodiscover implementation added in 2.2.0 is now default. To switch back to the old
|
188 | |
implementation, set the environment variable `EXCHANGELIB_AUTODISCOVER_VERSION=legacy`.
|
189 | |
- Removed support for Python 2
|
190 | |
|
|
191 |
|
|
192 |
- The new Autodiscover implementation added in 2.2.0 is now default. To switch back to the old implementation, set the
|
|
193 |
environment variable `EXCHANGELIB_AUTODISCOVER_VERSION=legacy`.
|
|
194 |
- Removed support for Python 2
|
191 | 195 |
|
192 | 196 |
2.2.0
|
193 | 197 |
-----
|
194 | |
- Added support for specifying a separate retry policy for the autodiscover service endpoint
|
195 | |
selection. Set via the `exchangelib.autodiscover.legacy.INITIAL_RETRY_POLICY` module variable
|
196 | |
for the the old autodiscover implementation, and via the
|
197 | |
`exchangelib.autodiscover.Autodiscovery.INITIAL_RETRY_POLICY` class variable for the new one.
|
198 | |
- Support the authorization code OAuth 2.0 grant type (see issue #698)
|
199 | |
- Removed the `RootOfHierarchy.permission_set` field. It was causing too many failures in the wild.
|
200 | |
- The full autodiscover response containing all contents of the reponse is now available as `Account.ad_response`.
|
201 | |
- Added a new Autodiscover implementation that is closer to the specification and easier to debug. To switch
|
202 | |
to the new implementation, set the environment variable `EXCHANGELIB_AUTODISCOVER_VERSION=new`. The old
|
203 | |
one is still the default if the variable is not set, or set to `EXCHANGELIB_AUTODISCOVER_VERSION=legacy`.
|
204 | |
- The `Item.mime_content` field was switched back from a string type to a `bytes` type. It turns out trying
|
205 | |
to decode the data was an error (see issue #709).
|
206 | |
|
|
198 |
|
|
199 |
- Added support for specifying a separate retry policy for the autodiscover service endpoint selection. Set via
|
|
200 |
the `exchangelib.autodiscover.legacy.INITIAL_RETRY_POLICY` module variable for the the old autodiscover
|
|
201 |
implementation, and via the
|
|
202 |
`exchangelib.autodiscover.Autodiscovery.INITIAL_RETRY_POLICY` class variable for the new one.
|
|
203 |
- Support the authorization code OAuth 2.0 grant type (see issue #698)
|
|
204 |
- Removed the `RootOfHierarchy.permission_set` field. It was causing too many failures in the wild.
|
|
205 |
- The full autodiscover response containing all contents of the reponse is now available as `Account.ad_response`.
|
|
206 |
- Added a new Autodiscover implementation that is closer to the specification and easier to debug. To switch to the new
|
|
207 |
implementation, set the environment variable `EXCHANGELIB_AUTODISCOVER_VERSION=new`. The old one is still the default
|
|
208 |
if the variable is not set, or set to `EXCHANGELIB_AUTODISCOVER_VERSION=legacy`.
|
|
209 |
- The `Item.mime_content` field was switched back from a string type to a `bytes` type. It turns out trying to decode
|
|
210 |
the data was an error (see issue #709).
|
207 | 211 |
|
208 | 212 |
2.1.1
|
209 | 213 |
-----
|
210 | |
- Bugfix release.
|
211 | |
|
|
214 |
|
|
215 |
- Bugfix release.
|
212 | 216 |
|
213 | 217 |
2.1.0
|
214 | 218 |
-----
|
215 | |
- Added support for OAuth 2.0 authentication
|
216 | |
- Fixed a bug in `RelativeMonthlyPattern` and `RelativeYearlyPattern` where the `weekdays` field was thought to
|
217 | |
be a list, but is in fact a single value. Renamed the field to `weekday` to reflect the change.
|
218 | |
- Added support for archiving items to the archive mailbox, if the account has one.
|
219 | |
- Added support for getting delegate information on an Account, as `Account.delegates`.
|
220 | |
- Added support for the `ConvertId` service. Available as `Protocol.convert_ids()`.
|
221 | |
|
|
219 |
|
|
220 |
- Added support for OAuth 2.0 authentication
|
|
221 |
- Fixed a bug in `RelativeMonthlyPattern` and `RelativeYearlyPattern` where the `weekdays` field was thought to be a
|
|
222 |
list, but is in fact a single value. Renamed the field to `weekday` to reflect the change.
|
|
223 |
- Added support for archiving items to the archive mailbox, if the account has one.
|
|
224 |
- Added support for getting delegate information on an Account, as `Account.delegates`.
|
|
225 |
- Added support for the `ConvertId` service. Available as `Protocol.convert_ids()`.
|
222 | 226 |
|
223 | 227 |
2.0.1
|
224 | 228 |
-----
|
225 | |
- Fixed a bug where version 2.x could not open autodiscover cache files generated by
|
226 | |
version 1.x packages.
|
227 | |
|
|
229 |
|
|
230 |
- Fixed a bug where version 2.x could not open autodiscover cache files generated by version 1.x packages.
|
228 | 231 |
|
229 | 232 |
2.0.0
|
230 | 233 |
-----
|
231 | |
- `Item.mime_content` is now a text field instead of a binary field. Encoding and
|
232 | |
decoding is done automatically.
|
233 | |
- The `Item.item_id`, `Folder.folder_id` and `Occurrence.item_id` fields that were renamed
|
234 | |
to just `id` in 1.12.0, have now been removed.
|
235 | |
- The `Persona.persona_id` field was replaced with `Persona.id` and `Persona.changekey`, to
|
236 | |
align with the `Item` and `Folder` classes.
|
237 | |
- In addition to bulk deleting via a QuerySet (`qs.delete()`), it is now possible to also
|
238 | |
bulk send, move and copy items in a QuerySet (via `qs.send()`, `qs.move()` and `qs.copy()`,
|
239 | |
respectively).
|
240 | |
- SSPI support was added but dependencies are not installed by default since it only works
|
241 | |
in Win32 environments. Install as `pip install exchangelib[sspi]` to get SSPI support.
|
242 | |
Install with `pip install exchangelib[complete]` to get both Kerberos and SSPI auth.
|
243 | |
- The custom `extern_id` field is no longer registered by default. If you require this field,
|
244 | |
register it manually as part of your setup code on the item types you need:
|
|
234 |
|
|
235 |
- `Item.mime_content` is now a text field instead of a binary field. Encoding and decoding is done automatically.
|
|
236 |
- The `Item.item_id`, `Folder.folder_id` and `Occurrence.item_id` fields that were renamed to just `id` in 1.12.0, have
|
|
237 |
now been removed.
|
|
238 |
- The `Persona.persona_id` field was replaced with `Persona.id` and `Persona.changekey`, to align with the `Item`
|
|
239 |
and `Folder` classes.
|
|
240 |
- In addition to bulk deleting via a QuerySet (`qs.delete()`), it is now possible to also bulk send, move and copy items
|
|
241 |
in a QuerySet (via `qs.send()`, `qs.move()` and `qs.copy()`, respectively).
|
|
242 |
- SSPI support was added but dependencies are not installed by default since it only works in Win32 environments.
|
|
243 |
Install as `pip install exchangelib[sspi]` to get SSPI support. Install with `pip install exchangelib[complete]` to
|
|
244 |
get both Kerberos and SSPI auth.
|
|
245 |
- The custom `extern_id` field is no longer registered by default. If you require this field, register it manually as
|
|
246 |
part of your setup code on the item types you need:
|
245 | 247 |
|
246 | 248 |
```python
|
247 | 249 |
from exchangelib import CalendarItem, Message, Contact, Task
|
|
252 | 254 |
Contact.register('extern_id', ExternId)
|
253 | 255 |
Task.register('extern_id', ExternId)
|
254 | 256 |
```
|
255 | |
- The `ServiceAccount` class has been removed. If you want fault tolerance, set it in a
|
256 | |
`Configuration` object:
|
|
257 |
- The `ServiceAccount` class has been removed. If you want fault tolerance, set it in a
|
|
258 |
`Configuration` object:
|
257 | 259 |
|
258 | 260 |
```python
|
259 | 261 |
from exchangelib import Configuration, Credentials, FaultTolerance
|
260 | 262 |
c = Credentials('foo', 'bar')
|
261 | 263 |
config = Configuration(credentials=c, retry_policy=FaultTolerance())
|
262 | 264 |
```
|
263 | |
- It is now possible to use Kerberos and SSPI auth without providing a dummy
|
264 | |
`Credentials('', '')` object.
|
265 | |
- The `has_ssl` argument of `Configuration` was removed. If you want to connect to a
|
266 | |
plain HTTP endpoint, pass the full URL in the `service_endpoint` argument.
|
267 | |
- We no longer look in `types.xsd` for a hint of which API version the server is running. Instead,
|
268 | |
we query the service directly, starting with the latest version first.
|
269 | |
|
|
265 |
- It is now possible to use Kerberos and SSPI auth without providing a dummy
|
|
266 |
`Credentials('', '')` object.
|
|
267 |
- The `has_ssl` argument of `Configuration` was removed. If you want to connect to a plain HTTP endpoint, pass the full
|
|
268 |
URL in the `service_endpoint` argument.
|
|
269 |
- We no longer look in `types.xsd` for a hint of which API version the server is running. Instead, we query the service
|
|
270 |
directly, starting with the latest version first.
|
270 | 271 |
|
271 | 272 |
1.12.5
|
272 | 273 |
------
|
273 | |
- Bugfix release.
|
274 | |
|
|
274 |
|
|
275 |
- Bugfix release.
|
275 | 276 |
|
276 | 277 |
1.12.4
|
277 | 278 |
------
|
|
279 |
|
278 | 280 |
- Fix bug that left out parts of the folder hierarchy when traversing `account.root`.
|
279 | |
- Fix bug that did not properly find all attachments if an item has a mix of item
|
280 | |
and file attachments.
|
281 | |
|
|
281 |
- Fix bug that did not properly find all attachments if an item has a mix of item and file attachments.
|
282 | 282 |
|
283 | 283 |
1.12.3
|
284 | 284 |
------
|
285 | |
- Add support for reading and writing `PermissionSet` field on folders.
|
286 | |
- Add support for Exchange 2019 build IDs.
|
287 | |
|
|
285 |
|
|
286 |
- Add support for reading and writing `PermissionSet` field on folders.
|
|
287 |
- Add support for Exchange 2019 build IDs.
|
288 | 288 |
|
289 | 289 |
1.12.2
|
290 | 290 |
------
|
291 | |
- Add `Protocol.expand_dl()` to get members of a distribution list.
|
292 | |
|
|
291 |
|
|
292 |
- Add `Protocol.expand_dl()` to get members of a distribution list.
|
293 | 293 |
|
294 | 294 |
1.12.1
|
295 | 295 |
------
|
296 | |
- Lower the session pool size automatically in response to ErrorServerBusy and
|
297 | |
ErrorTooManyObjectsOpened errors from the server.
|
298 | |
- Unusual slicing and indexing (e.g. `inbox.all()[9000]` and `inbox.all()[9000:9001]`)
|
299 | |
is now efficient.
|
300 | |
- Downloading large attachments is now more memory-efficient. We can now stream the file
|
301 | |
content without ever storing the full file content in memory, using the new
|
302 | |
`Attachment.fp` context manager.
|
|
296 |
|
|
297 |
- Lower the session pool size automatically in response to ErrorServerBusy and ErrorTooManyObjectsOpened errors from the
|
|
298 |
server.
|
|
299 |
- Unusual slicing and indexing (e.g. `inbox.all()[9000]` and `inbox.all()[9000:9001]`)
|
|
300 |
is now efficient.
|
|
301 |
- Downloading large attachments is now more memory-efficient. We can now stream the file content without ever storing
|
|
302 |
the full file content in memory, using the new
|
|
303 |
`Attachment.fp` context manager.
|
303 | 304 |
|
304 | 305 |
1.12.0
|
305 | 306 |
------
|
306 | 307 |
|
307 | |
- Add a MAINFEST.in to ensure the LICENSE file gets included + CHANGELOG.md
|
308 | |
and README.md to sdist tarball
|
309 | |
- Renamed `Item.item_id`, `Folder.folder_id` and `Occurrence.item_id` to just
|
310 | |
`Item.id`, `Folder.id` and `Occurrence.id`, respectively. This removes
|
311 | |
redundancy in the naming and provides consistency. For all classes that
|
312 | |
have an ID, the ID can now be accessed using the `id` attribute. Backwards
|
313 | |
compatibility and deprecation warnings were added.
|
314 | |
- Support folder traversal without creating a full cache of the folder
|
315 | |
hierarchy first, using the `some_folder // 'sub_folder' // 'leaf'`
|
316 | |
(double-slash) syntax.
|
317 | |
- Fix a bug in traversal of public and archive folders. These folder
|
318 | |
hierarchies are now fully supported.
|
319 | |
- Fix a bug where the timezone of a calendar item changed when the item was
|
320 | |
fetched and then saved.
|
321 | |
- Kerberos support is now optional and Kerberos dependencies are not
|
322 | |
installed by default. Install as `pip install exchangelib[kerberos]` to get
|
323 | |
Kerberos support.
|
|
308 |
- Add a MAINFEST.in to ensure the LICENSE file gets included + CHANGELOG.md and README.md to sdist tarball
|
|
309 |
- Renamed `Item.item_id`, `Folder.folder_id` and `Occurrence.item_id` to just
|
|
310 |
`Item.id`, `Folder.id` and `Occurrence.id`, respectively. This removes redundancy in the naming and provides
|
|
311 |
consistency. For all classes that have an ID, the ID can now be accessed using the `id` attribute. Backwards
|
|
312 |
compatibility and deprecation warnings were added.
|
|
313 |
- Support folder traversal without creating a full cache of the folder hierarchy first, using
|
|
314 |
the `some_folder // 'sub_folder' // 'leaf'`
|
|
315 |
(double-slash) syntax.
|
|
316 |
- Fix a bug in traversal of public and archive folders. These folder hierarchies are now fully supported.
|
|
317 |
- Fix a bug where the timezone of a calendar item changed when the item was fetched and then saved.
|
|
318 |
- Kerberos support is now optional and Kerberos dependencies are not installed by default. Install
|
|
319 |
as `pip install exchangelib[kerberos]` to get Kerberos support.
|
324 | 320 |
|
325 | 321 |
1.11.4
|
326 | 322 |
------
|
327 | 323 |
|
328 | |
- Improve back off handling when receiving `ErrorServerBusy` error messages
|
329 | |
from the server
|
330 | |
- Fixed bug where `Account.root` and its children would point to the root
|
331 | |
folder of the connecting account instead of the target account when
|
332 | |
connecting to other accounts.
|
|
324 |
- Improve back off handling when receiving `ErrorServerBusy` error messages from the server
|
|
325 |
- Fixed bug where `Account.root` and its children would point to the root folder of the connecting account instead of
|
|
326 |
the target account when connecting to other accounts.
|
333 | 327 |
|
334 | 328 |
1.11.3
|
335 | 329 |
------
|
336 | 330 |
|
337 | |
- Add experimental Kerberos support. This adds the `pykerberos` package,
|
338 | |
which needs the following system packages to be installed on Ubuntu/Debian
|
339 | |
systems: `apt-get install build-essential libssl-dev libffi-dev python-dev libkrb5-dev`.
|
|
331 |
- Add experimental Kerberos support. This adds the `pykerberos` package, which needs the following system packages to be
|
|
332 |
installed on Ubuntu/Debian systems: `apt-get install build-essential libssl-dev libffi-dev python-dev libkrb5-dev`.
|
340 | 333 |
|
341 | 334 |
1.11.2
|
342 | 335 |
------
|
343 | 336 |
|
344 | |
- Bugfix release
|
|
337 |
- Bugfix release
|
345 | 338 |
|
346 | 339 |
1.11.1
|
347 | 340 |
------
|
348 | 341 |
|
349 | |
- Bugfix release
|
|
342 |
- Bugfix release
|
350 | 343 |
|
351 | 344 |
1.11.0
|
352 | 345 |
------
|
353 | 346 |
|
354 | |
- Added `cancel` to `CalendarItem` and `CancelCalendarItem` class to
|
355 | |
allow cancelling meetings that were set up
|
356 | |
- Added `accept`, `decline` and `tentatively_accept` to `CalendarItem`
|
357 | |
as wrapper methods
|
358 | |
- Added `accept`, `decline` and `tentatively_accept` to
|
359 | |
`MeetingRequest` to respond to incoming invitations
|
360 | |
- Added `BaseMeetingItem` (inheriting from `Item`) being used as base
|
361 | |
for MeetingCancellation, MeetingMessage, MeetingRequest and
|
362 | |
MeetingResponse
|
363 | |
- Added `AssociatedCalendarItemId` (property),
|
364 | |
`AssociatedCalendarItemIdField` and `ReferenceItemIdField`
|
365 | |
- Added `PostReplyItem`
|
366 | |
- Removed `Folder.get_folder_by_name()` which has been deprecated
|
367 | |
since version `1.10.2`.
|
368 | |
- Added `Item.copy(to_folder=some_folder)` method which copies an item
|
369 | |
to the given folder and returns the ID of the new item.
|
370 | |
- We now respect the back off value of an `ErrorServerBusy`
|
371 | |
server error.
|
372 | |
- Added support for fetching free/busy availability information ofr a
|
373 | |
list of accounts.
|
374 | |
- Added `Message.reply()`, `Message.reply_all()`, and
|
375 | |
`Message.forward()` methods.
|
376 | |
- The full search API now works on single folders *and* collections of
|
377 | |
folders, e.g. `some_folder.glob('foo*').filter()`,
|
378 | |
`some_folder.children.filter()` and `some_folder.walk().filter()`.
|
379 | |
- Deprecated `EWSService.CHUNKSIZE` in favor of a per-request
|
380 | |
chunk\_size available on `Account.bulk_foo()` methods.
|
381 | |
- Support searching the GAL and other contact folders using
|
382 | |
`some_contact_folder.people()`.
|
383 | |
- Deprecated the `page_size` argument for `QuerySet.iterator()` because it
|
384 | |
was inconsistent with other API methods. You can still set the page size
|
385 | |
of a queryset like this:
|
|
347 |
- Added `cancel` to `CalendarItem` and `CancelCalendarItem` class to allow cancelling meetings that were set up
|
|
348 |
- Added `accept`, `decline` and `tentatively_accept` to `CalendarItem`
|
|
349 |
as wrapper methods
|
|
350 |
- Added `accept`, `decline` and `tentatively_accept` to
|
|
351 |
`MeetingRequest` to respond to incoming invitations
|
|
352 |
- Added `BaseMeetingItem` (inheriting from `Item`) being used as base for MeetingCancellation, MeetingMessage,
|
|
353 |
MeetingRequest and MeetingResponse
|
|
354 |
- Added `AssociatedCalendarItemId` (property),
|
|
355 |
`AssociatedCalendarItemIdField` and `ReferenceItemIdField`
|
|
356 |
- Added `PostReplyItem`
|
|
357 |
- Removed `Folder.get_folder_by_name()` which has been deprecated since version `1.10.2`.
|
|
358 |
- Added `Item.copy(to_folder=some_folder)` method which copies an item to the given folder and returns the ID of the new
|
|
359 |
item.
|
|
360 |
- We now respect the back off value of an `ErrorServerBusy`
|
|
361 |
server error.
|
|
362 |
- Added support for fetching free/busy availability information ofr a list of accounts.
|
|
363 |
- Added `Message.reply()`, `Message.reply_all()`, and
|
|
364 |
`Message.forward()` methods.
|
|
365 |
- The full search API now works on single folders *and* collections of folders, e.g. `some_folder.glob('foo*').filter()`
|
|
366 |
,
|
|
367 |
`some_folder.children.filter()` and `some_folder.walk().filter()`.
|
|
368 |
- Deprecated `EWSService.CHUNKSIZE` in favor of a per-request chunk\_size available on `Account.bulk_foo()` methods.
|
|
369 |
- Support searching the GAL and other contact folders using
|
|
370 |
`some_contact_folder.people()`.
|
|
371 |
- Deprecated the `page_size` argument for `QuerySet.iterator()` because it was inconsistent with other API methods. You
|
|
372 |
can still set the page size of a queryset like this:
|
386 | 373 |
|
387 | 374 |
```python
|
388 | 375 |
qs = a.inbox.filter(...).iterator()
|
|
394 | 381 |
1.10.7
|
395 | 382 |
------
|
396 | 383 |
|
397 | |
- Added support for registering extended properties on folders.
|
398 | |
- Added support for creating, updating, deleting and emptying folders.
|
|
384 |
- Added support for registering extended properties on folders.
|
|
385 |
- Added support for creating, updating, deleting and emptying folders.
|
399 | 386 |
|
400 | 387 |
1.10.6
|
401 | 388 |
------
|
402 | 389 |
|
403 | |
- Added support for getting and setting `Account.oof_settings` using
|
404 | |
the new `OofSettings` class.
|
405 | |
- Added snake\_case named shortcuts to all distinguished folders on
|
406 | |
the `Account` model. E.g. `Account.search_folders`.
|
|
390 |
- Added support for getting and setting `Account.oof_settings` using the new `OofSettings` class.
|
|
391 |
- Added snake\_case named shortcuts to all distinguished folders on the `Account` model. E.g. `Account.search_folders`.
|
407 | 392 |
|
408 | 393 |
1.10.5
|
409 | 394 |
------
|
410 | 395 |
|
411 | |
- Bugfix release
|
|
396 |
- Bugfix release
|
412 | 397 |
|
413 | 398 |
1.10.4
|
414 | 399 |
------
|
415 | 400 |
|
416 | |
- Added support for most item fields. The remaining ones are mentioned
|
417 | |
in issue \#203.
|
|
401 |
- Added support for most item fields. The remaining ones are mentioned in issue \#203.
|
418 | 402 |
|
419 | 403 |
1.10.3
|
420 | 404 |
------
|
421 | 405 |
|
422 | |
- Added an `exchangelib.util.PrettyXmlHandler` log handler which will
|
423 | |
pretty-print and highlight XML requests and responses.
|
|
406 |
- Added an `exchangelib.util.PrettyXmlHandler` log handler which will pretty-print and highlight XML requests and
|
|
407 |
responses.
|
424 | 408 |
|
425 | 409 |
1.10.2
|
426 | 410 |
------
|
427 | 411 |
|
428 | |
- Greatly improved folder navigation. See the 'Folders' section in the
|
429 | |
README
|
430 | |
- Added deprecation warnings for `Account.folders` and
|
431 | |
`Folder.get_folder_by_name()`
|
|
412 |
- Greatly improved folder navigation. See the 'Folders' section in the README
|
|
413 |
- Added deprecation warnings for `Account.folders` and
|
|
414 |
`Folder.get_folder_by_name()`
|
432 | 415 |
|
433 | 416 |
1.10.1
|
434 | 417 |
------
|
435 | 418 |
|
436 | |
- Bugfix release
|
|
419 |
- Bugfix release
|
437 | 420 |
|
438 | 421 |
1.10.0
|
439 | 422 |
------
|
440 | 423 |
|
441 | |
- Removed the `verify_ssl` argument to `Account`, `discover` and
|
442 | |
`Configuration`. If you need to disable TLS verification, register a
|
443 | |
custom `HTTPAdapter` class. A sample adapter class is provided for
|
444 | |
convenience:
|
|
424 |
- Removed the `verify_ssl` argument to `Account`, `discover` and
|
|
425 |
`Configuration`. If you need to disable TLS verification, register a custom `HTTPAdapter` class. A sample adapter
|
|
426 |
class is provided for convenience:
|
445 | 427 |
|
446 | 428 |
```python
|
447 | 429 |
from exchangelib.protocol import BaseProtocol, NoVerifyHTTPAdapter
|
|
451 | 433 |
1.9.6
|
452 | 434 |
-----
|
453 | 435 |
|
454 | |
- Support new Office365 build numbers
|
|
436 |
- Support new Office365 build numbers
|
455 | 437 |
|
456 | 438 |
1.9.5
|
457 | 439 |
-----
|
458 | 440 |
|
459 | |
- Added support for the `effective_rights`field on items and folders.
|
460 | |
- Added support for custom `requests` transport adapters, to allow
|
461 | |
proxy support, custom TLS validation etc.
|
462 | |
- Default value for the `affected_task_occurrences` argument to
|
463 | |
`Item.move_to_trash()`, `Item.soft_delete()` and `Item.delete()` was
|
464 | |
changed to `'AllOccurrences'` as a less surprising default when
|
465 | |
working with simple tasks.
|
466 | |
- Added `Task.complete()` helper method to mark tasks as complete.
|
|
441 |
- Added support for the `effective_rights`field on items and folders.
|
|
442 |
- Added support for custom `requests` transport adapters, to allow proxy support, custom TLS validation etc.
|
|
443 |
- Default value for the `affected_task_occurrences` argument to
|
|
444 |
`Item.move_to_trash()`, `Item.soft_delete()` and `Item.delete()` was changed to `'AllOccurrences'` as a less
|
|
445 |
surprising default when working with simple tasks.
|
|
446 |
- Added `Task.complete()` helper method to mark tasks as complete.
|
467 | 447 |
|
468 | 448 |
1.9.4
|
469 | 449 |
-----
|
470 | 450 |
|
471 | |
- Added minimal support for the `PostItem` item type
|
472 | |
- Added support for the `DistributionList` item type
|
473 | |
- Added support for receiving naive datetimes from the server. They
|
474 | |
will be localized using the new `default_timezone` attribute on
|
475 | |
`Account`
|
476 | |
- Added experimental support for recurring calendar items. See
|
477 | |
examples in issue \#37.
|
|
451 |
- Added minimal support for the `PostItem` item type
|
|
452 |
- Added support for the `DistributionList` item type
|
|
453 |
- Added support for receiving naive datetimes from the server. They will be localized using the new `default_timezone`
|
|
454 |
attribute on
|
|
455 |
`Account`
|
|
456 |
- Added experimental support for recurring calendar items. See examples in issue \#37.
|
478 | 457 |
|
479 | 458 |
1.9.3
|
480 | 459 |
-----
|
481 | 460 |
|
482 | |
- Improved support for `filter()`, `.only()`, `.order_by()` etc. on
|
483 | |
indexed properties. It is now possible to specify labels and
|
484 | |
subfields, e.g.
|
485 | |
`.filter(phone_numbers=PhoneNumber(label='CarPhone', phone_number='123'))`
|
486 | |
`.filter(phone_numbers__CarPhone='123')`,
|
487 | |
`.filter(physical_addresses__Home__street='Elm St. 123')`,
|
488 | |
.only('physical\_addresses\_\_Home\_\_street')\` etc.
|
489 | |
- Improved performance of `.order_by()` when sorting on
|
490 | |
multiple fields.
|
491 | |
- Implemented QueryString search. You can now filter using an EWS
|
492 | |
QueryString, e.g. `filter('subject:XXX')`
|
|
461 |
- Improved support for `filter()`, `.only()`, `.order_by()` etc. on indexed properties. It is now possible to specify
|
|
462 |
labels and subfields, e.g.
|
|
463 |
`.filter(phone_numbers=PhoneNumber(label='CarPhone', phone_number='123'))`
|
|
464 |
`.filter(phone_numbers__CarPhone='123')`,
|
|
465 |
`.filter(physical_addresses__Home__street='Elm St. 123')`, .only('physical\_addresses\_\_Home\_\_street')\` etc.
|
|
466 |
- Improved performance of `.order_by()` when sorting on multiple fields.
|
|
467 |
- Implemented QueryString search. You can now filter using an EWS QueryString, e.g. `filter('subject:XXX')`
|
493 | 468 |
|
494 | 469 |
1.9.2
|
495 | 470 |
-----
|
496 | 471 |
|
497 | |
- Added `EWSTimeZone.localzone()` to get the local timezone
|
498 | |
- Support `some_folder.get(item_id=..., changekey=...)` as a shortcut
|
499 | |
to get a single item when you know the ID and changekey.
|
500 | |
- Support attachments on Exchange 2007
|
|
472 |
- Added `EWSTimeZone.localzone()` to get the local timezone
|
|
473 |
- Support `some_folder.get(item_id=..., changekey=...)` as a shortcut to get a single item when you know the ID and
|
|
474 |
changekey.
|
|
475 |
- Support attachments on Exchange 2007
|
501 | 476 |
|
502 | 477 |
1.9.1
|
503 | 478 |
-----
|
504 | 479 |
|
505 | |
- Fixed XML generation for Exchange 2010 and other picky server
|
506 | |
versions
|
507 | |
- Fixed timezone localization for `EWSTimeZone` created from a static
|
508 | |
timezone
|
|
480 |
- Fixed XML generation for Exchange 2010 and other picky server versions
|
|
481 |
- Fixed timezone localization for `EWSTimeZone` created from a static timezone
|
509 | 482 |
|
510 | 483 |
1.9.0
|
511 | 484 |
-----
|
512 | 485 |
|
513 | |
- Expand support for `ExtendedProperty` to include all
|
514 | |
possible attributes. This required renaming the `property_id`
|
515 | |
attribute to `property_set_id`.
|
516 | |
- When using the `Credentials` class, `UnauthorizedError` is now
|
517 | |
raised if the credentials are wrong.
|
518 | |
- Add a new `version` attribute to `Configuration`, to force the
|
519 | |
server version if version guessing does not work. Accepts a
|
520 | |
`exchangelib.version.Version` object.
|
521 | |
- Rework bulk operations `Account.bulk_foo()` and `Account.fetch()` to
|
522 | |
return some exceptions unraised, if it is deemed the exception does
|
523 | |
not apply to all items. This means that e.g. `fetch()` can return a
|
524 | |
mix of `` `Item `` and `ErrorItemNotFound` instances, if only some
|
525 | |
of the requested `ItemId` were valid. Other exceptions will be
|
526 | |
raised immediately, e.g. `ErrorNonExistentMailbox` because the
|
527 | |
exception applies to all items. It is the responsibility of the
|
528 | |
caller to check the type of the returned values.
|
529 | |
- The `Folder` class has new attributes `total_count`, `unread_count`
|
530 | |
and `child_folder_count`, and a `refresh()` method to update
|
531 | |
these values.
|
532 | |
- The argument to `Account.upload()` was renamed from `upload_data` to
|
533 | |
just `data`
|
534 | |
- Support for using a string search expression for `Folder.filter()`
|
535 | |
was removed. It was a cool idea but using QuerySet chaining and `Q`
|
536 | |
objects is even cooler and provides the same functionality,
|
537 | |
and more.
|
538 | |
- Add support for `reminder_due_by` and
|
539 | |
`reminder_minutes_before_start` fields on `Item` objects. Submitted
|
540 | |
by `@vikipha`.
|
541 | |
- Added a new `ServiceAccount` class which is like `Credentials` but
|
542 | |
does what `is_service_account` did before. If you need
|
543 | |
fault-tolerane and used `Credentials(..., is_service_account=True)`
|
544 | |
before, use `ServiceAccount` now. This also disables fault-tolerance
|
545 | |
for the `Credentials` class, which is in line with what most
|
546 | |
users expected.
|
547 | |
- Added an optional `update_fields` attribute to `save()` to specify
|
548 | |
only some fields to be updated.
|
549 | |
- Code in in `folders.py` has been split into multiple files, and some
|
550 | |
classes will have new import locaions. The most commonly used
|
551 | |
classes have a shortcut in \_\_init\_\_.py
|
552 | |
- Added support for the `exists` lookup in filters, e.g.
|
553 | |
`my_folder.filter(categories__exists=True|False)` to filter on the
|
554 | |
existence of that field on items in the folder.
|
555 | |
- When filtering, `foo__in=value` now requires the value to be a list,
|
556 | |
and `foo__contains` requires the value to be a list if the field
|
557 | |
itself is a list, e.g. `categories__contains=['a', 'b']`.
|
558 | |
- Added support for fields and enum entries that are only supported in
|
559 | |
some EWS versions
|
560 | |
- Added a new field `Item.text_body` which is a read-only version of
|
561 | |
HTML body content, where HTML tags are stripped by the server. Only
|
562 | |
supported from Exchange 2013 and up.
|
563 | |
- Added a new choice `WorkingElsewhere` to the
|
564 | |
`CalendarItem.legacy_free_busy_status` enum. Only supported from
|
565 | |
Exchange 2013 and up.
|
|
486 |
- Expand support for `ExtendedProperty` to include all possible attributes. This required renaming the `property_id`
|
|
487 |
attribute to `property_set_id`.
|
|
488 |
- When using the `Credentials` class, `UnauthorizedError` is now raised if the credentials are wrong.
|
|
489 |
- Add a new `version` attribute to `Configuration`, to force the server version if version guessing does not work.
|
|
490 |
Accepts a
|
|
491 |
`exchangelib.version.Version` object.
|
|
492 |
- Rework bulk operations `Account.bulk_foo()` and `Account.fetch()` to return some exceptions unraised, if it is deemed
|
|
493 |
the exception does not apply to all items. This means that e.g. `fetch()` can return a mix of `` `Item ``
|
|
494 |
and `ErrorItemNotFound` instances, if only some of the requested `ItemId` were valid. Other exceptions will be raised
|
|
495 |
immediately, e.g. `ErrorNonExistentMailbox` because the exception applies to all items. It is the responsibility of
|
|
496 |
the caller to check the type of the returned values.
|
|
497 |
- The `Folder` class has new attributes `total_count`, `unread_count`
|
|
498 |
and `child_folder_count`, and a `refresh()` method to update these values.
|
|
499 |
- The argument to `Account.upload()` was renamed from `upload_data` to just `data`
|
|
500 |
- Support for using a string search expression for `Folder.filter()`
|
|
501 |
was removed. It was a cool idea but using QuerySet chaining and `Q`
|
|
502 |
objects is even cooler and provides the same functionality, and more.
|
|
503 |
- Add support for `reminder_due_by` and
|
|
504 |
`reminder_minutes_before_start` fields on `Item` objects. Submitted by `@vikipha`.
|
|
505 |
- Added a new `ServiceAccount` class which is like `Credentials` but does what `is_service_account` did before. If you
|
|
506 |
need fault-tolerane and used `Credentials(..., is_service_account=True)`
|
|
507 |
before, use `ServiceAccount` now. This also disables fault-tolerance for the `Credentials` class, which is in line
|
|
508 |
with what most users expected.
|
|
509 |
- Added an optional `update_fields` attribute to `save()` to specify only some fields to be updated.
|
|
510 |
- Code in in `folders.py` has been split into multiple files, and some classes will have new import locaions. The most
|
|
511 |
commonly used classes have a shortcut in \_\_init\_\_.py
|
|
512 |
- Added support for the `exists` lookup in filters, e.g.
|
|
513 |
`my_folder.filter(categories__exists=True|False)` to filter on the existence of that field on items in the folder.
|
|
514 |
- When filtering, `foo__in=value` now requires the value to be a list, and `foo__contains` requires the value to be a
|
|
515 |
list if the field itself is a list, e.g. `categories__contains=['a', 'b']`.
|
|
516 |
- Added support for fields and enum entries that are only supported in some EWS versions
|
|
517 |
- Added a new field `Item.text_body` which is a read-only version of HTML body content, where HTML tags are stripped by
|
|
518 |
the server. Only supported from Exchange 2013 and up.
|
|
519 |
- Added a new choice `WorkingElsewhere` to the
|
|
520 |
`CalendarItem.legacy_free_busy_status` enum. Only supported from Exchange 2013 and up.
|
566 | 521 |
|
567 | 522 |
1.8.1
|
568 | 523 |
-----
|
569 | 524 |
|
570 | |
- Fix completely botched `Message.from` field renaming in 1.8.0
|
571 | |
- Improve performance of QuerySet slicing and indexing. For example,
|
572 | |
`account.inbox.all()[10]` and `account.inbox.all()[:10]` now only
|
573 | |
fetch 10 items from the server even though `account.inbox.all()`
|
574 | |
could contain thousands of messages.
|
|
525 |
- Fix completely botched `Message.from` field renaming in 1.8.0
|
|
526 |
- Improve performance of QuerySet slicing and indexing. For example,
|
|
527 |
`account.inbox.all()[10]` and `account.inbox.all()[:10]` now only fetch 10 items from the server even
|
|
528 |
though `account.inbox.all()`
|
|
529 |
could contain thousands of messages.
|
575 | 530 |
|
576 | 531 |
1.8.0
|
577 | 532 |
-----
|
578 | 533 |
|
579 | |
- Renamed `Message.from` field to `Message.author`. `from` is a Python
|
580 | |
keyword so `from` could only be accessed as
|
581 | |
`Getattr(my_essage, 'from')` which is just stupid.
|
582 | |
- Make `EWSTimeZone` Windows timezone name translation more robust
|
583 | |
- Add read-only `Message.message_id` which holds the Internet Message
|
584 | |
Id
|
585 | |
- Memory and speed improvements when sorting querysets using
|
586 | |
`order_by()` on a single field.
|
587 | |
- Allow setting `Mailbox` and `Attendee`-type attributes as plain
|
588 | |
strings, e.g.:
|
|
534 |
- Renamed `Message.from` field to `Message.author`. `from` is a Python keyword so `from` could only be accessed as
|
|
535 |
`Getattr(my_essage, 'from')` which is just stupid.
|
|
536 |
- Make `EWSTimeZone` Windows timezone name translation more robust
|
|
537 |
- Add read-only `Message.message_id` which holds the Internet Message Id
|
|
538 |
- Memory and speed improvements when sorting querysets using
|
|
539 |
`order_by()` on a single field.
|
|
540 |
- Allow setting `Mailbox` and `Attendee`-type attributes as plain strings, e.g.:
|
589 | 541 |
|
590 | 542 |
```python
|
591 | 543 |
calendar_item.organizer = 'anne@example.com'
|
|
597 | 549 |
1.7.6
|
598 | 550 |
-----
|
599 | 551 |
|
600 | |
- Bugfix release
|
|
552 |
- Bugfix release
|
601 | 553 |
|
602 | 554 |
1.7.5
|
603 | 555 |
-----
|
604 | 556 |
|
605 | |
- `Account.fetch()` and `Folder.fetch()` are now generators. They will
|
606 | |
do nothing before being evaluated.
|
607 | |
- Added optional `page_size` attribute to `QuerySet.iterator()` to
|
608 | |
specify the number of items to return per HTTP request for large
|
609 | |
query results. Default `page_size` is 100.
|
610 | |
- Many minor changes to make queries less greedy and return earlier
|
|
557 |
- `Account.fetch()` and `Folder.fetch()` are now generators. They will do nothing before being evaluated.
|
|
558 |
- Added optional `page_size` attribute to `QuerySet.iterator()` to specify the number of items to return per HTTP
|
|
559 |
request for large query results. Default `page_size` is 100.
|
|
560 |
- Many minor changes to make queries less greedy and return earlier
|
611 | 561 |
|
612 | 562 |
1.7.4
|
613 | 563 |
-----
|
614 | 564 |
|
615 | |
- Add Python2 support
|
|
565 |
- Add Python2 support
|
616 | 566 |
|
617 | 567 |
1.7.3
|
618 | 568 |
-----
|
619 | 569 |
|
620 | |
- Implement attachments support. It's now possible to create, delete
|
621 | |
and get attachments connected to any item type:
|
|
570 |
- Implement attachments support. It's now possible to create, delete and get attachments connected to any item type:
|
622 | 571 |
|
623 | 572 |
```python
|
624 | 573 |
from exchangelib.folders import FileAttachment, ItemAttachment
|
|
649 | 598 |
item.detach(my_file)
|
650 | 599 |
```
|
651 | 600 |
|
652 | |
Be aware that adding and deleting attachments from items that are
|
653 | |
already created in Exchange (items that have an `item_id`) will
|
654 | |
update the `changekey` of the item.
|
655 | |
|
656 | |
- Implement `Item.headers` which contains custom Internet
|
657 | |
message headers. Primarily useful for `Message` objects. Read-only
|
658 | |
for now.
|
|
601 |
Be aware that adding and deleting attachments from items that are already created in Exchange (items that have
|
|
602 |
an `item_id`) will update the `changekey` of the item.
|
|
603 |
|
|
604 |
- Implement `Item.headers` which contains custom Internet message headers. Primarily useful for `Message` objects.
|
|
605 |
Read-only for now.
|
659 | 606 |
|
660 | 607 |
1.7.2
|
661 | 608 |
-----
|
662 | 609 |
|
663 | |
- Implement the `Contact.physical_addresses` attribute. This is a list
|
664 | |
of `exchangelib.folders.PhysicalAddress` items.
|
665 | |
- Implement the `CalendarItem.is_all_day` boolean to create
|
666 | |
all-day appointments.
|
667 | |
- Implement `my_folder.export()` and `my_folder.upload()`. Thanks to
|
668 | |
@SamCB!
|
669 | |
- Fixed `Account.folders` for non-distinguished folders
|
670 | |
- Added `Folder.get_folder_by_name()` to make it easier to get
|
671 | |
sub-folders by name.
|
672 | |
- Implement `CalendarView` searches as
|
673 | |
`my_calendar.view(start=..., end=...)`. A view differs from a normal
|
674 | |
`filter()` in that a view expands recurring items and returns
|
675 | |
recurring item occurrences that are valid in the time span of
|
676 | |
the view.
|
677 | |
- Persistent storage location for autodiscover cache is now platform
|
678 | |
independent
|
679 | |
- Implemented custom extended properties. To add support for your own
|
680 | |
custom property, subclass `exchangelib.folders.ExtendedProperty` and
|
681 | |
call `register()` on the item class you want to use the extended
|
682 | |
property with. When you have registered your extended property, you
|
683 | |
can use it exactly like you would use any other attribute on this
|
684 | |
item type. If you change your mind, you can remove the extended
|
685 | |
property again with `deregister()`:
|
|
610 |
- Implement the `Contact.physical_addresses` attribute. This is a list of `exchangelib.folders.PhysicalAddress` items.
|
|
611 |
- Implement the `CalendarItem.is_all_day` boolean to create all-day appointments.
|
|
612 |
- Implement `my_folder.export()` and `my_folder.upload()`. Thanks to @SamCB!
|
|
613 |
- Fixed `Account.folders` for non-distinguished folders
|
|
614 |
- Added `Folder.get_folder_by_name()` to make it easier to get sub-folders by name.
|
|
615 |
- Implement `CalendarView` searches as
|
|
616 |
`my_calendar.view(start=..., end=...)`. A view differs from a normal
|
|
617 |
`filter()` in that a view expands recurring items and returns recurring item occurrences that are valid in the time
|
|
618 |
span of the view.
|
|
619 |
- Persistent storage location for autodiscover cache is now platform independent
|
|
620 |
- Implemented custom extended properties. To add support for your own custom property,
|
|
621 |
subclass `exchangelib.folders.ExtendedProperty` and call `register()` on the item class you want to use the extended
|
|
622 |
property with. When you have registered your extended property, you can use it exactly like you would use any other
|
|
623 |
attribute on this item type. If you change your mind, you can remove the extended property again with `deregister()`:
|
686 | 624 |
|
687 | 625 |
```python
|
688 | 626 |
class LunchMenu(ExtendedProperty):
|
|
696 | 634 |
CalendarItem.deregister('lunch_menu')
|
697 | 635 |
```
|
698 | 636 |
|
699 | |
- Fixed a bug on folder items where an existing HTML body would be
|
700 | |
converted to text when calling `save()`. When creating or updating
|
701 | |
an item body, you can use the two new helper classes
|
702 | |
`exchangelib.Body` and `exchangelib.HTMLBody` to specify if your
|
703 | |
body should be saved as HTML or text. E.g.:
|
|
637 |
- Fixed a bug on folder items where an existing HTML body would be converted to text when calling `save()`. When
|
|
638 |
creating or updating an item body, you can use the two new helper classes
|
|
639 |
`exchangelib.Body` and `exchangelib.HTMLBody` to specify if your body should be saved as HTML or text. E.g.:
|
704 | 640 |
|
705 | 641 |
```python
|
706 | 642 |
item = CalendarItem(...)
|
|
716 | 652 |
1.7.1
|
717 | 653 |
-----
|
718 | 654 |
|
719 | |
- Fix bug where fetching items from a folder that can contain multiple
|
720 | |
item types (e.g. the Deleted Items folder) would only return one
|
721 | |
item type.
|
722 | |
- Added `Item.move(to_folder=...)` that moves an item to another
|
723 | |
folder, and `Item.refresh()` that updates the Item with data
|
724 | |
from EWS.
|
725 | |
- Support reverse sort on individual fields in `order_by()`, e.g.
|
726 | |
`my_folder.all().order_by('subject', '-start')`
|
727 | |
- `Account.bulk_create()` was added to create items that don't need a
|
728 | |
folder, e.g. `Message.send()`
|
729 | |
- `Account.fetch()` was added to fetch items without knowing the
|
730 | |
containing folder.
|
731 | |
- Implemented `SendItem` service to send existing messages.
|
732 | |
- `Folder.bulk_delete()` was moved to `Account.bulk_delete()`
|
733 | |
- `Folder.bulk_update()` was moved to `Account.bulk_update()` and
|
734 | |
changed to expect a list of `(Item, fieldnames)` tuples where Item
|
735 | |
is e.g. a `Message` instance and `fieldnames` is a list of
|
736 | |
attributes names that need updating. E.g.:
|
|
655 |
- Fix bug where fetching items from a folder that can contain multiple item types (e.g. the Deleted Items folder) would
|
|
656 |
only return one item type.
|
|
657 |
- Added `Item.move(to_folder=...)` that moves an item to another folder, and `Item.refresh()` that updates the Item with
|
|
658 |
data from EWS.
|
|
659 |
- Support reverse sort on individual fields in `order_by()`, e.g.
|
|
660 |
`my_folder.all().order_by('subject', '-start')`
|
|
661 |
- `Account.bulk_create()` was added to create items that don't need a folder, e.g. `Message.send()`
|
|
662 |
- `Account.fetch()` was added to fetch items without knowing the containing folder.
|
|
663 |
- Implemented `SendItem` service to send existing messages.
|
|
664 |
- `Folder.bulk_delete()` was moved to `Account.bulk_delete()`
|
|
665 |
- `Folder.bulk_update()` was moved to `Account.bulk_update()` and changed to expect a list of `(Item, fieldnames)`
|
|
666 |
tuples where Item is e.g. a `Message` instance and `fieldnames` is a list of attributes names that need updating.
|
|
667 |
E.g.:
|
737 | 668 |
|
738 | 669 |
```python
|
739 | 670 |
items = []
|
|
752 | 683 |
1.7.0
|
753 | 684 |
-----
|
754 | 685 |
|
755 | |
- Added the `is_service_account` flag to `Credentials`.
|
756 | |
`is_service_account=False` disables the fault-tolerant error
|
757 | |
handling policy and enables immediate failures.
|
758 | |
- `Configuration` now expects a single `credentials` attribute instead
|
759 | |
of separate `username` and `password` attributes.
|
760 | |
- Added support for distinguished folders `Account.trash`,
|
761 | |
`Account.drafts`, `Account.outbox`, `Account.sent` and
|
762 | |
`Account.junk`.
|
763 | |
- Renamed `Folder.find_items()` to `Folder.filter()`
|
764 | |
- Renamed `Folder.add_items()` to `Folder.bulk_create()`
|
765 | |
- Renamed `Folder.update_items()` to `Folder.bulk_update()`
|
766 | |
- Renamed `Folder.delete_items()` to `Folder.bulk_delete()`
|
767 | |
- Renamed `Folder.get_items()` to `Folder.fetch()`
|
768 | |
- Made various policies for message saving, meeting invitation
|
769 | |
sending, conflict resolution, task occurrences and deletion
|
770 | |
available on `bulk_create()`, `bulk_update()` and `bulk_delete()`.
|
771 | |
- Added convenience methods `Item.save()`, `Item.delete()`,
|
772 | |
`Item.soft_delete()`, `Item.move_to_trash()`, and methods
|
773 | |
`Message.send()` and `Message.send_and_save()` that are specific to
|
774 | |
`Message` objects. These methods make it easier to create, update
|
775 | |
and delete single items.
|
776 | |
- Removed `fetch(.., with_extra=True)` in favor of the more
|
777 | |
fine-grained `fetch(.., only_fields=[...])`
|
778 | |
- Added a `QuerySet` class that supports QuerySet-returning methods
|
779 | |
`filter()`, `exclude()`, `only()`, `order_by()`,
|
780 | |
`reverse()``values()` and `values_list()` that all allow
|
781 | |
for chaining. `QuerySet` also has methods `iterator()`, `get()`,
|
782 | |
`count()`, `exists()` and `delete()`. All these methods behave like
|
783 | |
their counterparts in Django.
|
|
686 |
- Added the `is_service_account` flag to `Credentials`.
|
|
687 |
`is_service_account=False` disables the fault-tolerant error handling policy and enables immediate failures.
|
|
688 |
- `Configuration` now expects a single `credentials` attribute instead of separate `username` and `password` attributes.
|
|
689 |
- Added support for distinguished folders `Account.trash`,
|
|
690 |
`Account.drafts`, `Account.outbox`, `Account.sent` and
|
|
691 |
`Account.junk`.
|
|
692 |
- Renamed `Folder.find_items()` to `Folder.filter()`
|
|
693 |
- Renamed `Folder.add_items()` to `Folder.bulk_create()`
|
|
694 |
- Renamed `Folder.update_items()` to `Folder.bulk_update()`
|
|
695 |
- Renamed `Folder.delete_items()` to `Folder.bulk_delete()`
|
|
696 |
- Renamed `Folder.get_items()` to `Folder.fetch()`
|
|
697 |
- Made various policies for message saving, meeting invitation sending, conflict resolution, task occurrences and
|
|
698 |
deletion available on `bulk_create()`, `bulk_update()` and `bulk_delete()`.
|
|
699 |
- Added convenience methods `Item.save()`, `Item.delete()`,
|
|
700 |
`Item.soft_delete()`, `Item.move_to_trash()`, and methods
|
|
701 |
`Message.send()` and `Message.send_and_save()` that are specific to
|
|
702 |
`Message` objects. These methods make it easier to create, update and delete single items.
|
|
703 |
- Removed `fetch(.., with_extra=True)` in favor of the more fine-grained `fetch(.., only_fields=[...])`
|
|
704 |
- Added a `QuerySet` class that supports QuerySet-returning methods
|
|
705 |
`filter()`, `exclude()`, `only()`, `order_by()`,
|
|
706 |
`reverse()``values()` and `values_list()` that all allow for chaining. `QuerySet` also has methods `iterator()`
|
|
707 |
, `get()`,
|
|
708 |
`count()`, `exists()` and `delete()`. All these methods behave like their counterparts in Django.
|
784 | 709 |
|
785 | 710 |
1.6.2
|
786 | 711 |
-----
|
787 | 712 |
|
788 | |
- Use of `my_folder.with_extra_fields = True` to get the extra fields
|
789 | |
in `Item.EXTRA_ITEM_FIELDS` is deprecated (it was a kludge anyway).
|
790 | |
Instead, use `my_folder.get_items(ids, with_extra=[True, False])`.
|
791 | |
The default was also changed to `True`, to avoid head-scratching
|
792 | |
with newcomers.
|
|
713 |
- Use of `my_folder.with_extra_fields = True` to get the extra fields in `Item.EXTRA_ITEM_FIELDS` is deprecated (it was
|
|
714 |
a kludge anyway). Instead, use `my_folder.get_items(ids, with_extra=[True, False])`. The default was also changed
|
|
715 |
to `True`, to avoid head-scratching with newcomers.
|
793 | 716 |
|
794 | 717 |
1.6.1
|
795 | 718 |
-----
|
796 | 719 |
|
797 | |
- Simplify `Q` objects and `Restriction.from_source()` by using Item
|
798 | |
attribute names in expressions and kwargs instead of EWS
|
799 | |
FieldURI values. Change `Folder.find_items()` to accept either a
|
800 | |
search expression, or a list of `Q` objects just like Django
|
801 | |
`filter()` does. E.g.:
|
|
720 |
- Simplify `Q` objects and `Restriction.from_source()` by using Item attribute names in expressions and kwargs instead
|
|
721 |
of EWS FieldURI values. Change `Folder.find_items()` to accept either a search expression, or a list of `Q` objects
|
|
722 |
just like Django
|
|
723 |
`filter()` does. E.g.:
|
802 | 724 |
|
803 | 725 |
```python
|
804 | 726 |
ids = account.calendar.find_items(
|
|
813 | 735 |
1.6.0
|
814 | 736 |
-----
|
815 | 737 |
|
816 | |
- Complete rewrite of `Folder.find_items()`. The old `start`, `end`,
|
817 | |
`subject` and `categories` args are deprecated in favor of a Django
|
818 | |
QuerySet filter() syntax. The supported lookup types are `__gt`,
|
819 | |
`__lt`, `__gte`, `__lte`, `__range`, `__in`, `__exact`, `__iexact`,
|
820 | |
`__contains`, `__icontains`, `__contains`, `__icontains`,
|
821 | |
`__startswith`, `__istartswith`, plus an additional `__not` which
|
822 | |
translates to `!=`. Additionally, *all* fields on the item are now
|
823 | |
supported in `Folder.find_items()`.
|
824 | |
|
825 | |
**WARNING**: This change is backwards-incompatible! Old uses of
|
826 | |
`Folder.find_items()` like this:
|
|
738 |
- Complete rewrite of `Folder.find_items()`. The old `start`, `end`,
|
|
739 |
`subject` and `categories` args are deprecated in favor of a Django QuerySet filter() syntax. The supported lookup
|
|
740 |
types are `__gt`,
|
|
741 |
`__lt`, `__gte`, `__lte`, `__range`, `__in`, `__exact`, `__iexact`,
|
|
742 |
`__contains`, `__icontains`, `__contains`, `__icontains`,
|
|
743 |
`__startswith`, `__istartswith`, plus an additional `__not` which translates to `!=`. Additionally, *all* fields on
|
|
744 |
the item are now supported in `Folder.find_items()`.
|
|
745 |
|
|
746 |
**WARNING**: This change is backwards-incompatible! Old uses of
|
|
747 |
`Folder.find_items()` like this:
|
827 | 748 |
|
828 | 749 |
```python
|
829 | 750 |
ids = account.calendar.find_items(
|
|
833 | 754 |
)
|
834 | 755 |
```
|
835 | 756 |
|
836 | |
must be rewritten like this:
|
|
757 |
must be rewritten like this:
|
837 | 758 |
|
838 | 759 |
```python
|
839 | 760 |
ids = account.calendar.find_items(
|
|
843 | 764 |
)
|
844 | 765 |
```
|
845 | 766 |
|
846 | |
failing to do so will most likely result in empty or wrong results.
|
847 | |
|
848 | |
- Added a `exchangelib.restrictions.Q` class much like Django Q
|
849 | |
objects that can be used to create even more complex filtering. Q
|
850 | |
objects must be passed directly to `exchangelib.services.FindItem`.
|
|
767 |
failing to do so will most likely result in empty or wrong results.
|
|
768 |
|
|
769 |
- Added a `exchangelib.restrictions.Q` class much like Django Q objects that can be used to create even more complex
|
|
770 |
filtering. Q objects must be passed directly to `exchangelib.services.FindItem`.
|
851 | 771 |
|
852 | 772 |
1.3.6
|
853 | 773 |
-----
|
854 | 774 |
|
855 | |
- Don't require sequence arguments to `Folder.*_items()` methods to
|
856 | |
support `len()` (e.g. generators and `map` instances are
|
857 | |
now supported)
|
858 | |
- Allow empty sequences as argument to `Folder.*_items()` methods
|
|
775 |
- Don't require sequence arguments to `Folder.*_items()` methods to support `len()` (e.g. generators and `map` instances
|
|
776 |
are now supported)
|
|
777 |
- Allow empty sequences as argument to `Folder.*_items()` methods
|
859 | 778 |
|
860 | 779 |
1.3.4
|
861 | 780 |
-----
|
862 | 781 |
|
863 | |
- Add support for `required_attendees`, `optional_attendees` and
|
864 | |
`resources` attribute on `folders.CalendarItem`. These are
|
865 | |
implemented with a new `folders.Attendee` class.
|
|
782 |
- Add support for `required_attendees`, `optional_attendees` and
|
|
783 |
`resources` attribute on `folders.CalendarItem`. These are implemented with a new `folders.Attendee` class.
|
866 | 784 |
|
867 | 785 |
1.3.3
|
868 | 786 |
-----
|
869 | 787 |
|
870 | |
- Add support for `organizer` attribute on `CalendarItem`. Implemented
|
871 | |
with a new `folders.Mailbox` class.
|
|
788 |
- Add support for `organizer` attribute on `CalendarItem`. Implemented with a new `folders.Mailbox` class.
|
872 | 789 |
|
873 | 790 |
1.2
|
874 | 791 |
---
|
875 | 792 |
|
876 | |
- Initial import
|
877 | |
|
|
793 |
- Initial import
|
|
794 |
|