Brian Caswell
588d27d260
use a temp directory for the emulator ( #1494 )
2023-12-06 08:52:04 -05:00
Brian Caswell
8ab1801886
enable caching at the top level DefaultAzureCredential ( #1491 )
2023-12-06 08:51:45 -05:00
Brian Caswell
5ceb1253d0
Expose default tag as feature ( #1492 )
2023-12-06 08:49:54 -05:00
dependabot[bot]
93f4c3248a
Update crates_io_api requirement from 0.8 to 0.9 in /services/autorust ( #1488 )
2023-12-05 10:11:34 -05:00
Lars Hagen
953ee98228
support user-supplied marker in list_blobs ( #1468 )
2023-12-05 10:10:12 -05:00
Krishan
aa6f23480b
split AutoRust codegen_operations into multiple files ( #1485 )
2023-12-01 19:25:42 -05:00
Brian Caswell
0b3e2d13e0
implement caching for all identity implementations ( #1484 )
2023-12-01 14:18:14 -05:00
Brian Caswell
3dd2391041
add features to docs.rs build config ( #1483 )
2023-12-01 11:40:17 -05:00
Brian Caswell
d3fed3ef40
add support for partial range headers ( #1482 )
2023-12-01 11:16:24 -05:00
Brian Caswell
3bf1e2ef1f
Support user delegated sas urls ( #1481 )
2023-12-01 11:16:04 -05:00
Brian Caswell
6e3e342d7e
use azure_core::Url reexport ( #1480 )
2023-11-30 16:35:50 -05:00
Brian Caswell
6f2cd13b65
Use Url instead of strings ( #1478 )
2023-11-30 14:54:30 -05:00
Brian Caswell
88d55f4885
Add support for authenticating using azureauth cli ( #1464 )
2023-11-29 12:02:28 -05:00
Brian Caswell
3c57ac491e
move to RwLock rather than Mutex for storage credentials ( #1477 )
...
Rather than using a Mutex, use a write-preferred RwLock implementation
which should increase performance in many common situations.
2023-11-29 11:42:13 -05:00
Brian Caswell
de1def2f1e
Rename TokenResponse to AccessToken ( #1476 )
...
This does 3 things:
1. Renames `AccessToken` to `Secret`
2. Prevents `Debug` of the `AccessToken` from actually showing the secret
3. Starts expanding the use of `Secret` to other areas, such as client certificates
2023-11-29 11:25:03 -05:00
Brian Caswell
f91d648043
expose updating credentials to sub-clients of a BlobServiceClient ( #1474 )
2023-11-29 10:59:45 -05:00
Brian Caswell
e7c28453e5
rename AccessToken to Secret and expand it's usage ( #1472 )
2023-11-29 10:55:32 -05:00
Brian Caswell
a32e4115d4
standardize hmac_sha256 implementation ( #1473 )
2023-11-29 09:31:11 -05:00
dependabot[bot]
69d431433a
Update comrak requirement from 0.19 to 0.20 in /services/autorust ( #1475 )
...
Updates the requirements on [comrak](https://github.com/kivikakk/comrak ) to permit the latest version.
- [Release notes](https://github.com/kivikakk/comrak/releases )
- [Changelog](https://github.com/kivikakk/comrak/blob/main/changelog.txt )
- [Commits](https://github.com/kivikakk/comrak/compare/0.19.0...0.20.0 )
---
updated-dependencies:
- dependency-name: comrak
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-29 09:30:09 -05:00
Jianjun Liao
4e66f73c26
provide an option to hash data by openssl ( #1467 )
2023-11-27 10:18:50 -05:00
Krishan
0d09ed39eb
Search for discriminator children through multiple levels of allOf nesting ( #1460 )
2023-11-17 11:53:25 -05:00
Brian Caswell
6671dd3d98
address 1.74.0 lints ( #1463 )
2023-11-16 17:05:24 -05:00
dependabot[bot]
569d7a8e38
Update hyper requirement from 0.14 to 1.0 ( #1462 )
...
Updates the requirements on [hyper](https://github.com/hyperium/hyper ) to permit the latest version.
- [Release notes](https://github.com/hyperium/hyper/releases )
- [Changelog](https://github.com/hyperium/hyper/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper/compare/v0.14.0...v1.0.0 )
---
updated-dependencies:
- dependency-name: hyper
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-16 09:04:21 -05:00
Merlin
a69a712c82
fix partition key typo in cosmos readme ( #1459 )
2023-11-09 16:05:12 -05:00
Brian Caswell
97d7e953a2
bump version to 0.17.0 ( #1457 )
2023-11-03 12:46:46 -04:00
Daniel Larsen
9769158a1e
Adds partial document updates in data_cosmos ( #1454 )
2023-11-03 12:43:34 -04:00
Brian Caswell
05fe095fb1
reduce logging for the tokio fs driver ( #1456 )
2023-11-03 11:36:37 -04:00
Brian Caswell
5bb82c6ba5
don't manually encode XML ( #1455 )
...
put_message and update_message in azure_storage_queue hand-generated XML, which meant invalid XML could be created if the message contained XML-specific characters which should be escaped (such as '"', '<', '>', and &).
2023-11-02 17:20:36 -04:00
Brian Caswell
61f4532203
fix typo in ResponseBody ( #1452 )
2023-10-31 09:15:12 -04:00
Brian Caswell
10c413a2dc
fix using if_tags on Append Block calls ( #1453 )
...
Co-authored-by: Brian Caswell <bcaswell@microsoft.com>
2023-10-31 09:15:01 -04:00
Brian Caswell
b9d1639a0f
regenerate services ( #1442 )
...
ref: 7c906b1574
2023-10-30 17:20:25 -04:00
Baptiste Le Morlec
346330b6b8
fix: sequence_number should be i64 ( #1448 )
2023-10-26 11:35:04 -04:00
shaopu Song
4849d7937e
add range header in put_block_url function ( #1446 )
2023-10-25 16:20:51 -04:00
dependabot[bot]
31bcf852de
Update async-lock requirement from 2.5 to 3.0 ( #1445 )
...
Updates the requirements on [async-lock](https://github.com/smol-rs/async-lock ) to permit the latest version.
- [Release notes](https://github.com/smol-rs/async-lock/releases )
- [Changelog](https://github.com/smol-rs/async-lock/blob/master/CHANGELOG.md )
- [Commits](https://github.com/smol-rs/async-lock/compare/v2.5.0...v3.0.0 )
---
updated-dependencies:
- dependency-name: async-lock
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-25 10:47:39 -04:00
dependabot[bot]
1b676a1104
Update quick-xml requirement from 0.30 to 0.31 ( #1444 )
...
Updates the requirements on [quick-xml](https://github.com/tafia/quick-xml ) to permit the latest version.
- [Release notes](https://github.com/tafia/quick-xml/releases )
- [Changelog](https://github.com/tafia/quick-xml/blob/master/Changelog.md )
- [Commits](https://github.com/tafia/quick-xml/compare/v0.30.0...v0.31.0 )
---
updated-dependencies:
- dependency-name: quick-xml
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-24 10:34:03 -07:00
Brian Caswell
91ae7ef5d5
fix manual XML Byte Order Marker removal ( #1441 )
...
The `azure_cored::xml::read_xml_str` methods handle stripping the XML BOM if it's appropriate. Manually removing the BOM isn't needed and in the case of #1440 lead to issues with azurite, which does not provide the BOM.
2023-10-23 18:00:45 -04:00
Cameron Taggart
3d486952d5
add union test ( #1437 )
2023-10-10 09:04:03 -04:00
CHarrod283
f290339742
Fix #[serde(flatten)] annotation and add ResourceType value ( #1436 )
2023-10-09 08:39:38 -04:00
Cameron Taggart
20c1d7859d
fix union types ( #1435 )
...
This fixes a bug from #1414 which causes deserialization to fail.
* create the base type without the discriminator
* adds the description to the union type
* fixes union types for vector aliases
* fixes support for nested unions
* removes empty base types
2023-10-09 08:39:10 -04:00
Brian Caswell
92f30553ad
fix timezone conversion ( #1433 )
...
The original change in #1431 was built & tested on a machine with the
timezone of GMT, which is effectively UTC as it relates to the testing.
In addition to fixing the conversion, this adds a unit test for unix
platforms that temporarily changes the `TZ` environment variable (used
for setting the timezone for libc platforms), performs the conversion,
then resets the `TZ` environment variable.
This validates the functionality regardless of the testing environment.
2023-10-04 10:37:44 -04:00
dependabot[bot]
f2f109bda4
Update comrak requirement from 0.18 to 0.19 in /services/autorust ( #1434 )
...
Updates the requirements on [comrak](https://github.com/kivikakk/comrak ) to permit the latest version.
- [Release notes](https://github.com/kivikakk/comrak/releases )
- [Changelog](https://github.com/kivikakk/comrak/blob/main/changelog.txt )
- [Commits](https://github.com/kivikakk/comrak/compare/0.18.0...0.19.0 )
---
updated-dependencies:
- dependency-name: comrak
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-04 05:27:16 -04:00
Brian Caswell
7ce1449568
bump azure_identity version to 0.16.1 to address timezone issue ( #1432 )
2023-10-03 14:39:05 -04:00
Brian Caswell
1455c3d6d6
use tz::TimeZone for az-cli time conversion on unix platforms ( #1431 )
...
As indicated in #1371 , there are numerous issues with handling the
az-cli's output of an access token's expiration date when it comes to
time zones.
An update to the Azure CLI is in progress that will add a _new_ field
that will handle the conversion, currently tracked as Azure/azure-cli#27476 .
We should make use of this new feature once it's available, but we
should also keep this functionality as a fallback for supporting older
Azure CLIs.
2023-10-03 14:05:14 -04:00
dependabot[bot]
669d80f910
Update ring requirement from 0.16 to 0.17 ( #1430 )
...
Updates the requirements on [ring](https://github.com/briansmith/ring ) to permit the latest version.
- [Commits](https://github.com/briansmith/ring/commits )
---
updated-dependencies:
- dependency-name: ring
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-03 09:26:22 -04:00
Brian Caswell
e1896167cd
Prep 0.16.0 release ( #1427 )
2023-09-28 13:47:35 -04:00
Cameron Taggart
f276843fe5
rename ParameterType to ParameterIn in autorust ( #1419 )
2023-09-29 04:47:02 +13:00
Brian Caswell
b1d0dbec6d
remove unused packages on github runners ( #1426 )
...
We're consistently running short on disk space in multiple jobs during
CICD. This removes some of the unused tools & libraries based on
suggestions from someone that worked on Github Actions.
Ref: https://github.com/actions/runner-images/issues/2840#issuecomment-790492173
2023-09-28 11:22:35 -04:00
Brian Caswell
93f069e29f
enable updating current credentials ( #1424 )
...
This PR allows replacing credential details for existing
StorageCredential instances. This allows clients to update the
credentials as runtime, as seen in other SDKs.
Ref: azure-sdk-for-net's [AzureSasCredential.Update](https://learn.microsoft.com/en-us/dotnet/api/azure.azuresascredential.update?view=azure-dotnet#azure-azuresascredential-update(system-string) )
2023-09-28 08:52:47 -04:00
Brian Caswell
d607009ef3
move `StorageCredentials` out of `CloudLocation` ( #1423 )
...
This is a needed step towards allowing the storage credentials to be updated without recreating all of the clients, such as what is needed to address #1415 .
2023-09-27 13:03:05 -04:00
Brian Caswell
edd24346a3
allow creation of anonymous blob-clients from a Url ( #1422 )
2023-09-27 11:51:09 -04:00