Releases: nylas/exchangelib
Releases · nylas/exchangelib
v1.11.4-0.12.9: Revert "Increase session pool size to 500"
This reverts commit 94164fae This change affected all EWS accounts and caused memory issues
Increase session pool size to 500
This release is unstable - causes memory issues
Typing only for <Py35
Merge pull request #55 from nylas/typing-lt-py35 typing is a Py35 backport; don't depend on it if you're above py35
Catch another UnicodeDecodeError
Merge pull request #53 from nylas/yusra-ahmed/catch-unicode-decode-error catch another unicodedecodeerror
Decode and encode with utf-8 before chardet detected encoding
v1.11.4-0.12.4 Merge pull request #52 from nylas/yusra-ahmed/ch26621/schema-validati…
Try different encoding approach in post_ratelimited
We were getting some SSL bad write retry errors, and mostly the internet just seems to think that passing in unicode is a bad idea. This tries to encode the data instead. Try utf-8 first, and if that fails we see if chardet can get the encoding for us. Also had to encode the authorization header because it was causing the data body to be coerced (unsuccessfully) to unicode.
Make Content-Length header value a string
To hopefully fix this error https://sentry.nylas.com/sentry/syncback-prod/issues/54469/
Update post_ratelimited to better handle unicode data
We have this pretty hairy UnicodeDecodeError bug going on: https://app.clubhouse.io/nylas/story/18092/event-creation-fails-in-syncback-with-unicodedecodeerror It looks like we have a string with some utf-8 characters in it, but the string isn't specified as unicode. My first attempt to fix this was just to call `.decode('utf-8')` on the data before we passed it down into requests, but that came back to us with a schema validation error from the provider. After lots of digging, turns out the Content-Length header was incorrect :face-palm: Requests doesn't have good enough unicode support to realize it should calculate the byte length instead of the number of characters. So, I've rejiggered our request building so that we can calculate the content length ourselves.
Sort AdditionalProperties FieldPath
Implement sorting on the AdditionalProperties FieldPath attributes from getitem requests.
Implement MoveFolder
v1.11.4-0.11.0 Implement MoveFolder and add folder.move()