Commit Graph

2298 Commits

Author SHA1 Message Date
Copilot
32b67d1798
Add unit tests for Base64Url encode and decode methods in Core (#6804)
* Initial plan

* Add comprehensive unit tests for Base64Url encode and decode methods

Co-authored-by: RickWinter <4430337+RickWinter@users.noreply.github.com>

* Fix clang-format for base64_test.cpp

Co-authored-by: RickWinter <4430337+RickWinter@users.noreply.github.com>

* Fix misleading comments in Base64Url tests

Co-authored-by: RickWinter <4430337+RickWinter@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: RickWinter <4430337+RickWinter@users.noreply.github.com>
2025-10-23 11:38:03 -07:00
Anton Kolesnyk
397ae78b1e
Delete cgmanifest.json when being installed via vcpkg, but also update SHAs (#6789)
* Delete cgmanifest.json when being installed via vcpkg, but also update SHAs

* Update cspell

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-10-17 14:51:11 -07:00
Azure SDK Bot
d00d68e750
Increment version for storage releases (#6794)
* Increment package version after release of azure-storage-common

* Increment package version after release of azure-storage-blobs

* Increment package version after release of azure-storage-files-datalake

* Increment package version after release of azure-storage-files-shares

* Increment package version after release of azure-storage-queues
2025-10-16 09:02:24 -07:00
microzchang
9ada70c530
STG99 Release (#6785) 2025-10-16 14:48:19 +08:00
Larry Osterman
21e92f8712
Added token credential tests to blob tests (#6790)
* Added token credential tests to blob tests

* Fixed linux build error

* HasOption shouldn't crash if option isn't present

* Added token credential tests to all relevant blob tests and added to the perf-tests outputs

* PR feedback
2025-10-16 00:04:18 +00:00
Azure SDK Bot
132c633509
Increment package version after release of azure-identity (#6765) 2025-10-02 18:18:16 +00:00
Anton Kolesnyk
fe5e5ad9e5
Azure Identity October Release (#6760)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-10-02 07:57:37 -07:00
Anton Kolesnyk
6fcc5d570f
Remove ManagedIdentityCredential::UseProbeRequest from public surface (#6764)
* Remove ManagedIdentityCredential::UseProbeRequest from public surface

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-10-01 14:40:48 -07:00
Scott Addie
217a155417
Remove Azure AD reference from Identity README (#6761) 2025-10-01 15:04:05 -05:00
Anton Kolesnyk
ead279936d
DAC: Disable probe when MIC is selected via env var (#6755)
* DAC: Disable probe when MIC is selected via env var

* Fix missing newline at end of default_azure_credential_test.cpp

* Update sdk/identity/azure-identity/test/ut/managed_identity_credential_test.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update sdk/identity/azure-identity/test/ut/default_azure_credential_test.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Clang fix

* Make options always the last parameter

* Clang-format

* Add const char overload

* MIC: do not send probe request by default, unless it is used in DAC, unless DAC has MIC only selected via env var

* Rename isProbeEnabled to useProbeRequest, make options the last arg even in internal APIs

* Include the rest of the files

* Fix

* only expose UseProbeRequest in options

* Clang-format

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-30 16:13:59 -07:00
Anton Kolesnyk
230b536e71
Fix AMQP compilation on Android (#6740)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-09-16 19:11:01 +00:00
Anton Kolesnyk
0d8b1bbf6b
Disable Rust AMQP when building in vcpkg (#6738)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-09-15 09:30:03 -07:00
Azure SDK Bot
3ec5599cf8
Increment package version after release of azure-identity (#6729)
---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-09-11 15:35:39 -07:00
Azure SDK Bot
d26e8c0f35
Increment package version after release of azure-core (#6730) 2025-09-11 15:34:09 -07:00
Anton Kolesnyk
e7063f78ba
Update DateTime to compile on Android (#6732)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-09-11 15:28:42 -07:00
Anton Kolesnyk
11a2a38aa7
Implement Phase 3 features for DefaultAzureCredential (#6724)
* Implement Phase 3 features for DefaultAzureCredential

* Forgotten change to update header

* Clang-format

* GCC fix

* Change 'envVarName' string parameter to a boolean 'requireEnvVarValue' parameter

* Rename EnvVarName to CredentialSpecifierEnvVarName and make it constexpr auto

* requireEnvVarValue => requireCredentialSpecifierEnvVarValue

* Clang-format

* Update unit test name

* Clang-format

* Update CHANGELOG with new features and bug fixes

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-09-10 13:34:22 -07:00
Anton Kolesnyk
573fe95a0e
Azure Core and Identity September Releases (#6725)
* Azure Core and Identity September Releases

* "Identity"

* Update azure-core-cpp version to 1.16.0

* Enclose BIO_seek() OpenSSL macro in -Wold-style-cast ignore pragmas for macOS

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-09-10 12:45:39 -07:00
dependabot[bot]
fac93b7d35
Bump github.com/microsoft/vcpkg from master to 2025.08.27 (#6726)
* Bump github.com/microsoft/vcpkg from master to 2025.08.27

Bumps [github.com/microsoft/vcpkg](https://github.com/microsoft/vcpkg) from master to 2025.08.27. This release includes the previously tagged commit.
- [Release notes](https://github.com/microsoft/vcpkg/releases)
- [Commits](ef7dbf94b9...120deac306)

---
updated-dependencies:
- dependency-name: github.com/microsoft/vcpkg
  dependency-version: 2025.08.27
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update corresponding files

* Stop using deprecated members from libxml2

* Clang-format

* Update use of opentelemetry deprecated include file

* Clang-format

* Another Opentelemetry breaking change

* Add include file

* NO_LINKER_OVERRIDE

* -framework Security on macOS

* Disable CurlTransportOptions.setCADirectory test on Mac

* disable -Wold-style-cast from external sources on mac

* Wrap all openssl includes to ignore -Wold-style-cast for clang

* Update cspell

* Wrap all usages of BIO_get_mem_data() macro to ignore -Wold-style-cast for clang

* Clang-format

* Clang-format

* Clang-format

* Wrap all usages of BIO_flush() macro to ignore -Wold-style-cast for clang

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-09-09 16:59:00 -07:00
Anton Kolesnyk
848a98da8e
Disable azure-core-amqp.TestManagement.BasicTests on Mac (#6727)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-09-08 14:22:10 -07:00
dependabot[bot]
2d969df700
Bump github.com/microsoft/vcpkg from master to ef7dbf94b9198bc58f45951adcf1f041fcbc5ea0 (#6659)
* Bump github.com/microsoft/vcpkg

---
updated-dependencies:
- dependency-name: github.com/microsoft/vcpkg
  dependency-version: ef7dbf94b9198bc58f45951adcf1f041fcbc5ea0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update vcpkg.json

* Update default VCPKG commit hash in AzureVcpkg.cmake

* try fixing CI by updating xcode version

* 16.2 -> 16.4

* Fix the reason for overfow warning

* Suppress warning C6326: Potential comparison of a constant with another constant.

* Undo unintended format

* Correct condition to check whether it is possible to add epoch to system clock max without overflow

* Insert info for debugging on mac

* Better temp log formatting

* Use largest int type for calcuations (mac fix)

* In case system clock is lesser resolution than Azure::DateTime, do all calculations in a greater ration to avoid integer overflows

* Avoid overflowing system clock max when converting to time since epoch

* Add one more variable for debug logging on mac

* Avoid one more integer overflow

* Remove debug stuff

* CLang-format

* More clang-format

* Less conversions if equal

* Commit to reset CI

* Undo commit to reset CI

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rick Winter <rick.winter@microsoft.com>
Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-09-05 14:36:58 -07:00
James Le Cuirot
b33fb227ce
Fix IMDS token requests for managed identities (#6698)
This was broken by a035ee5f94, which
accidentally constructed the IMDS URL with a double slash at the start
of the path. This is not properly routed on the server side, leading to
a 404 error with some very misleading XML.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2025-08-14 00:22:53 -07:00
Azure SDK Bot
c67192484f
Increment package version after release of azure-identity (#6684) 2025-08-05 14:15:39 -07:00
Anton Kolesnyk
6aea93d041
Azure Identity August GA Release (#6681)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-08-05 10:02:51 -07:00
microzchang
b828be5d8d
Update to STG98 GA Version (#6661) (#6664) 2025-07-23 11:29:06 +08:00
Ronnie Geraghty
ad39366be4
Fix small typo (#6625)
Found a small typo randomly.

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-07-15 20:16:39 +00:00
Azure SDK Bot
4771bb3bcd
Increment package version after release of azure-identity (#6657)
---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-07-15 11:40:48 -07:00
Anton Kolesnyk
95b9f6e538
Azure Identity July Beta Release (#6652)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-07-15 08:19:04 -07:00
Anton Kolesnyk
65508720fb
Identity: 'AZURE_TOKEN_CREDENTIALS' env var support for specific credential names (#6634)
* Identity: 'AZURE_TOKEN_CREDENTIALS' env var support for specific credential names

* No need to use index-based loop at that place

* Clang-format

* Require 'Credential' suffix for env var values

* Update sdk/identity/azure-identity/CHANGELOG.md

Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>
2025-07-10 12:10:03 -07:00
Azure SDK Bot
970b619b28
Increment package version after release of azure-identity (#6655)
---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-07-10 11:09:44 -07:00
Azure SDK Bot
2630c06030
Increment package version after release of azure-core (#6654)
---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-07-10 11:09:06 -07:00
Anton Kolesnyk
de3cc64a55
Azure Core and Identity July GA Releases (#6651)
* Azure Core and Identity July GA Releases

* Add Identity to the release

* Undo change to FolderList.cmake (chicken vs egg problem; we'll have to update after the release)

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-07-10 08:25:05 -07:00
Larry Osterman
a14e3d5ee0
Fixed WinHTTP failfast caused by premature cancellation (#6637) 2025-06-30 17:52:32 +00:00
Azure SDK Bot
87e1f72926
Increment version for storage releases (#6645)
* Increment package version after release of azure-storage-common

* Increment package version after release of azure-storage-blobs

* Increment package version after release of azure-storage-files-datalake

* Increment package version after release of azure-storage-files-shares

* Increment package version after release of azure-storage-queues
2025-06-25 18:19:16 +08:00
microzchang
30c682b950
Storage June Release (#6635) 2025-06-25 11:18:16 +08:00
Wes Haggard
2326ca61c5
Fix image demands to be inline (#6640) 2025-06-24 15:03:09 -07:00
Larry Osterman
2626f12add
Temporarily disable Mac azuresdkforcpp tests (#6636)
* Temporarily disable Mac azuresdkforcpp tests
2025-06-23 21:34:53 +00:00
microzchang
17563c7c01
Storage STG99 Features (#6622)
* Changed QueueProperties.ApproximateMessagesCount from int to long (#6584)

* Storage/STG99 Added ShareSnapshotNotFound in ShareErrorCode (#6612)

* Share SnapshotNotFound error code support

* add test record

* Storage/STG99 Made error message for invalid x-ms-version more user-friendly  (#6613)

* add invalid version erorr message support

* Update find logic

* Stg99/Add test records and update change logs (#6620)

* Update test records and change logs

* update change log
2025-06-23 11:31:03 +08:00
Azure SDK Bot
8573c29cde
Increment package version after release of azure-identity (#6615)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-06-05 09:35:16 -07:00
Azure SDK Bot
65fed0581f
Increment package version after release of azure-core (#6614)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-06-05 09:32:58 -07:00
Anton Kolesnyk
2e9f0472b4
Core and Identity June Beta releases (#6605)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-06-05 07:03:18 -07:00
Anton Kolesnyk
3cd85cde0d
Identity samples: make sample service to invoke GetToken() (#6604)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-06-03 13:59:06 -07:00
Daniel Jurek
32e868cd5f
Add Cargo.toml to sdk/core/ci.yml (#6608) 2025-06-02 15:25:20 -07:00
Anton Kolesnyk
a035ee5f94
Identity: IMDS fail-fast and Cred order change in DAC (and Core support) (#6573)
* Identity: IMDS fail-fast and Cred order change in DAC (and Core support)

* Mac fix and cspell update

* Update unit test and clang-format

* Temporarily update samples to use AzCliCred until recordings are re-recorded

* Revert samples back to use DAC

* Remove SAS auth from Tables template

* Clang-format

* Add support for 'AZURE_POD_IDENTITY_AUTHORITY_HOST', override it for running samples in CI

* Add unit test for AZURE_POD_IDENTITY_AUTHORITY_HOST

* "in milliseconds"

Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>

* PR Feedback

* Named constant + comment

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>
2025-05-30 16:47:50 -07:00
Anton Kolesnyk
47c738bba2
Implement AZURE_TOKEN_CREDENTIALS (#6593)
* Implement AZURE_TOKEN_CREDENTIALS

* Clang-format

* Update sdk/identity/azure-identity/src/default_azure_credential.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update sdk/identity/azure-identity/src/default_azure_credential.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update sdk/identity/azure-identity/CHANGELOG.md

Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>

* TrimString()

* Test against contains() or startsWith() being used

* Update sdk/identity/azure-identity/src/default_azure_credential.cpp

Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>

* TrimString() => StringExtensions::Trim()

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>
2025-05-27 16:40:16 -07:00
Scott Addie
ebdbafd959
Direct traffic to credential chains doc (#6591) 2025-05-22 13:46:37 -07:00
Anton Kolesnyk
63ac69506f
Update vcpkg baseline (#6574)
* Update vcpkg baseline

* Make code to compile with either newer or older version of opentelemetry-cpp

* Clang-format

* Suppress otel warnings in stress test code

* Update CI to update vcpkg cache if the run is PR-initiated

* Turn SSL caching off by default

* Make code to compile with either newer or older version of opentelemetry-cpp

* Clang-format

* Integrate the exact copy of #6581 - to make sure we're testing the same change with libcurl >= 8.12, and also make future merging easier

* Update cspell

* Move feature to bugfix

* Update vcpkg.yml

* Copy #6582 to verify against the latest libcurl

* Undo unnecessary changes

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-05-21 11:57:28 -07:00
Anton Kolesnyk
6c6c4e9b35
Update libcurl transport pool to include all options into connection key (#6583)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-05-21 05:32:53 -07:00
Sushrut Shringarputale
c6d553b2a2
Fix Windows error for failing curl SSL cache (#6582)
* Fix Windows error for failing curl SSL cache

* Fix unused parameter warning in win_http_transport.cpp, as in #6579

* Update changelog, cspell, and conditional init m_sslShareHandle

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2025-05-20 21:59:01 -07:00
Azure SDK Bot
fe6de0cc1f
Increment version for storage releases (#6567)
* Increment package version after release of azure-storage-blobs

* Increment package version after release of azure-storage-files-shares
2025-05-13 11:05:09 -07:00
microzchang
dc4118ea4b
Storage May Release (#6563)
* Update version and change log

* Update version

* Update the change log date
2025-05-13 15:18:11 +08:00