Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency package @types/lru-cache has a new version available #20565

Closed
azure-sdk opened this issue Feb 28, 2022 · 1 comment · Fixed by #20733
Closed

Dependency package @types/lru-cache has a new version available #20565

azure-sdk opened this issue Feb 28, 2022 · 1 comment · Fixed by #20733
Assignees
Labels
Client This issue points to a problem in the data-plane of the library. dependency-upgrade-required EngSys This issue is impacting the engineering system.
Milestone

Comments

@azure-sdk
Copy link
Collaborator

We have identified a dependency on version 5.1.1 of @types/lru-cache. A new version (7.4.0) is available for upgrade.

Following are the steps to upgrade package dependency.

  1. Understand the breaking changes between the version being used and the version you want to upgrade to.

  2. Identify all packages that take a dependency on this package.

  3. Go to the root folder for each such package (/sdk/service-name/package-name) and update package.json to have the new version.

  4. Run rush update to ensure the new version is pulled in.

  5. Make relevant changes to absorb the breaking changes.

  6. Repeat steps 3 to 5 for each of the packages that have a dependency on this package.

@ghost ghost added the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Feb 28, 2022
@azure-sdk
Copy link
Collaborator Author

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Azure.Core:0.3633117,Service Bus:0.13564824,Azure.Identity:0.04821241'

@maorleger maorleger added Client This issue points to a problem in the data-plane of the library. EngSys This issue is impacting the engineering system. labels Mar 1, 2022
@ghost ghost removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Mar 1, 2022
@deyaaeldeen deyaaeldeen added this to the [2022] April milestone Mar 9, 2022
deyaaeldeen added a commit that referenced this issue Mar 9, 2022
### Packages impacted by this PR
@azure/schema-registry-avro

### Issues associated with this PR
Fixes #20245
Fixes #20363
Fixes #20565

### Describe the problem that is addressed by this PR
Logging cache size so customers understands how it grows in their application

### 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?
The proposed approach logs the length of all stringified schemas which I believe is consistent with what .NET does.

What else could we log here that we should consider?


### Are there test cases added in this PR? _(If not, why?)_
N/A

### Provide a list of related PRs _(if any)_
N/A

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

### Checklists
- [x] 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](https://github.com/Azure/autorest.typescript) repository and link it here)_
- [ ] Added a changelog (if necessary)
WeiJun428 pushed a commit to WeiJun428/azure-sdk-for-js that referenced this issue Mar 20, 2022
### Packages impacted by this PR
@azure/schema-registry-avro

### Issues associated with this PR
Fixes Azure#20245
Fixes Azure#20363
Fixes Azure#20565

### Describe the problem that is addressed by this PR
Logging cache size so customers understands how it grows in their application

### 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?
The proposed approach logs the length of all stringified schemas which I believe is consistent with what .NET does.

What else could we log here that we should consider?


### Are there test cases added in this PR? _(If not, why?)_
N/A

### Provide a list of related PRs _(if any)_
N/A

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

### Checklists
- [x] 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](https://github.com/Azure/autorest.typescript) repository and link it here)_
- [ ] Added a changelog (if necessary)
WeiJun428 pushed a commit to WeiJun428/azure-sdk-for-js that referenced this issue Mar 20, 2022
### Packages impacted by this PR
@azure/schema-registry-avro

### Issues associated with this PR
Fixes Azure#20245
Fixes Azure#20363
Fixes Azure#20565

### Describe the problem that is addressed by this PR
Logging cache size so customers understands how it grows in their application

### 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?
The proposed approach logs the length of all stringified schemas which I believe is consistent with what .NET does.

What else could we log here that we should consider?


### Are there test cases added in this PR? _(If not, why?)_
N/A

### Provide a list of related PRs _(if any)_
N/A

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

### Checklists
- [x] 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](https://github.com/Azure/autorest.typescript) repository and link it here)_
- [ ] Added a changelog (if necessary)
@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Client This issue points to a problem in the data-plane of the library. dependency-upgrade-required EngSys This issue is impacting the engineering system.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants