Breaking Changes in the Provisional azure.core.rest package
azure.core.rest.HttpResponse and azure.core.rest.AsyncHttpResponse are now abstract base classes. They should not be initialized directly, instead
your transport responses should inherit from them and implement them.
The properties of the azure.core.rest responses are now all read-only
HttpLoggingPolicy integrates logs into one record #19925
azure-core_1.18.0
1.18.0 (2021-09-02)
Features Added
azure.core.serialization.AzureJSONEncoder (introduced in 1.17.0) serializes datetime.datetime objects in ISO 8601 format, conforming to RFC 3339's specification. #20190
We now use azure.core.serialization.AzureJSONEncoder to serialize json input to azure.core.rest.HttpRequest.
Breaking Changes in the Provisional azure.core.rest package
The text property on azure.core.rest.HttpResponse and azure.core.rest.AsyncHttpResponse has changed to a method, which also takes
an encoding parameter.
Removed iter_text and iter_lines from azure.core.rest.HttpResponse and azure.core.rest.AsyncHttpResponse
Bugs Fixed
The behaviour of the headers returned in azure.core.rest responses now aligns across sync and async. Items can now be checked case-insensitively and without raising an error for format.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps azure-core from 1.11.0 to 1.19.0.
Release notes
Sourced from azure-core's releases.
Commits
ac10472
update changelog (#20958)3a13c9c
[rest] fix aiohttp read in rest (#20952)878a12e
[rest] add response backcompat mixin (#20827)e6db587
update changelog (#20810)1a9b633
[rest] switch base responses to ABCs (#20448)c94b8a6
fix test_aiohttp_loop (#20811)424c3c7
integrate logs (#20300)30b196e
[rest] add backcompat mixin to rest requests (#20599)6ccb4ad
[rest] correctly pickle rest aiohttp responses (#20577)a6cfc77
Increment version for core releases (#20522)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)