Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

deyaaeldeen
Copy link
Member

This PR merges a bugfix to a hotfix branch where v1.3.3 will be released from. This is needed so a recently added new feature does not get released in December.

sarangan12 and others added 4 commits November 29, 2021 13:39
* Check is value is undefined in appendQueryParams

* Minor change

* Response to PR comments

* Update sdk/core/core-client/src/urlHelpers.ts

Co-authored-by: Jeff Fisher <[email protected]>

* Minor refactor

Co-authored-by: Jeff Fisher <[email protected]>
Post release automated changes for azure-core-client
We have the word "Experimental" in the titles in the readme files for our core packages.

My guess is that we started with this when we were working on core v2, forgot to remove it when core v2 went GA and all our newer core packages from them did a copy/paste :)

@xirzec, @joheredi Am I missing something?
* Update Changelog to include query param check

* Update sdk/core/core-client/CHANGELOG.md

Co-authored-by: Deyaaeldeen Almahallawi <[email protected]>

Co-authored-by: Deyaaeldeen Almahallawi <[email protected]>
searchPieces.push(`${name}=${subValue}`);
}
} else {
searchPieces.push(`${name}=${value}`);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait, is this designed to handle undefined? Wouldn’t it add undefined as the string value here?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, it would add undefined as the literal value

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is that intentional? if so, disregard.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some context: #18621 (comment)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sarangan12 perhaps consider creating a test case for this behavior to document it.

Copy link
Contributor

@sadasant sadasant Nov 29, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait, shouldn’t we skip it? would it work too or would it fail? meaning, to remove things like C=undefined. The link in context indicates that C=undefined works, but it does not indicate that removing that query property would fail.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm a little torn, since silently removing the query params seems like a slightly larger jump than filling in a bogus value. @sarangan12 did your investigation yield if the presence of this parameter mattered at all?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@xirzec Yes. Removing the value will cause the error if the value is not an optional value.

@azure-sdk
Copy link
Collaborator

API changes have been detected in @azure/core-client. You can review API changes here

API changes

- export declare function authorizeRequestOnClaimChallenge(onChallengeOptions: AuthorizeRequestOnChallengeOptions): Promise<boolean>;

@azure-sdk
Copy link
Collaborator

API changes have been detected in @azure-rest/core-client. You can review API changes here

@azure-sdk
Copy link
Collaborator

API changes have been detected in @azure/core-http. You can review API changes here

API changes

-     toJson(options?: {
-             preserveCase?: boolean;
-         }): RawHttpHeaders;
+     toJson(): RawHttpHeaders;
-     toJson(options?: {
-             preserveCase?: boolean;
-         }): RawHttpHeaders;
+     toJson(): RawHttpHeaders;

@azure-sdk
Copy link
Collaborator

API changes have been detected in @azure/core-rest-pipeline. You can review API changes here

API changes

-     logger?: AzureLogger;
-     logger?: AzureLogger;
-     logger?: AzureLogger;
-     toJSON(options?: {
-             preserveCase?: boolean;
-         }): RawHttpHeaders;
+     toJSON(): RawHttpHeaders;

* Generate absolute path for symlink to reinstall native dependency
@deyaaeldeen deyaaeldeen requested a review from sadasant November 30, 2021 00:33
@deyaaeldeen deyaaeldeen merged commit 6674a2f into Azure:hotfix/core-client-1.3.3 Dec 2, 2021
@deyaaeldeen deyaaeldeen deleted the core-client/prepare-release branch December 2, 2021 00:07
deyaaeldeen added a commit that referenced this pull request Dec 2, 2021
…) (#18925)

* Check is value is undefined in appendQueryParams (#18621)

* Check is value is undefined in appendQueryParams

* Minor change

* Response to PR comments

* Update sdk/core/core-client/src/urlHelpers.ts

Co-authored-by: Jeff Fisher <[email protected]>

* Minor refactor

Co-authored-by: Jeff Fisher <[email protected]>

* Post release automated changes for core releases (#18358)

Post release automated changes for azure-core-client

* Remove the word experimental in readmes (#18773)

We have the word "Experimental" in the titles in the readme files for our core packages.

My guess is that we started with this when we were working on core v2, forgot to remove it when core v2 went GA and all our newer core packages from them did a copy/paste :)

@xirzec, @joheredi Am I missing something?

* Update Changelog to include query param check (#18851)

* Update Changelog to include query param check

* Update sdk/core/core-client/CHANGELOG.md

Co-authored-by: Deyaaeldeen Almahallawi <[email protected]>

Co-authored-by: Deyaaeldeen Almahallawi <[email protected]>

* fix reinstall native dependency (#18582)

* Generate absolute path for symlink to reinstall native dependency

Co-authored-by: Sarangan Rajamanickam <[email protected]>
Co-authored-by: Jeff Fisher <[email protected]>
Co-authored-by: Azure SDK Bot <[email protected]>
Co-authored-by: Ramya Rao <[email protected]>
Co-authored-by: praveenkuttappan <[email protected]>

Co-authored-by: Sarangan Rajamanickam <[email protected]>
Co-authored-by: Jeff Fisher <[email protected]>
Co-authored-by: Azure SDK Bot <[email protected]>
Co-authored-by: Ramya Rao <[email protected]>
Co-authored-by: praveenkuttappan <[email protected]>
azure-sdk pushed a commit to azure-sdk/azure-sdk-for-js that referenced this pull request May 11, 2022
Azure Event Grid 2021-12-01: Add missing isDataAction property from operation resource to address s360 LPI (Azure#18856)

* Fix missing property

* fix issecret

Co-authored-by: Ashraf Hamad <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants