Skip to content

[notification hubs] Beta 2 Release#22901

Merged
mpodwysocki merged 10 commits intoAzure:mainfrom
mpodwysocki:feat/nh-beta2
Aug 17, 2022
Merged

[notification hubs] Beta 2 Release#22901
mpodwysocki merged 10 commits intoAzure:mainfrom
mpodwysocki:feat/nh-beta2

Conversation

@mpodwysocki
Copy link
Contributor

@mpodwysocki mpodwysocki commented Aug 15, 2022

Packages impacted by this PR

  • [notification hubs]

Issues associated with this PR

Describe the problem that is addressed by this PR

  • Adds X-MS-AZSDK-Telemetry header
  • Adds User-Agent header for notification hubs
  • Fixes /dist/index.js to be CJS via /dist/index.cjs
  • Remove dependency on @azure/core-amqp

What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?

Are there test cases added in this PR? (If not, why?)

Provide a list of related PRs (if any)

Command used to generate this PR:**(Applicable only to SDK release request PRs)

Checklists

  • Added impacted package name to the issue description
  • Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
  • Added a changelog (if necessary)

@azure-sdk
Copy link
Collaborator

API change check

API changes are not detected in this pull request.

Copy link
Member

@xirzec xirzec left a comment

Choose a reason for hiding this comment

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

Minor comments but looks good! Please file the issue to track updating the hmac code in core-util if you haven't already.

@mpodwysocki mpodwysocki enabled auto-merge (squash) August 16, 2022 22:23
@mpodwysocki mpodwysocki self-assigned this Aug 17, 2022
import { createOrUpdateRegistrationDescription } from "./internal/_createOrUpdateRegistrationDescription.js";
import { tracingClient } from "../utils/tracing.js";

const OPERATION_NAME = "createOrUpdateRegistration";
Copy link
Member

Choose a reason for hiding this comment

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

Should this be createRegistration?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixing

## 1.0.0-beta.2 (2022-08-17)

- Removed internal dependencies of `@azure/core-amqp` and inlined code
- Added Telemetry using the `X-MS-AZSDK-Telemetry` header.
Copy link
Member

Choose a reason for hiding this comment

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

nit: can we have all parts of this header name with the same casing?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixing

Copy link
Member

@joheredi joheredi left a comment

Choose a reason for hiding this comment

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

Looks good, left a couple of minor comments

@mpodwysocki mpodwysocki merged commit 078405b into Azure:main Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants