-
-
Notifications
You must be signed in to change notification settings - Fork 0
chore(deps): bump @opentelemetry/resources from 1.30.1 to 2.0.0 #283
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
chore(deps): bump @opentelemetry/resources from 1.30.1 to 2.0.0 #283
Conversation
Bumps [@opentelemetry/resources](https://github.com/open-telemetry/opentelemetry-js) from 1.30.1 to 2.0.0. - [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md) - [Commits](open-telemetry/opentelemetry-js@v1.30.1...v2.0.0) --- updated-dependencies: - dependency-name: "@opentelemetry/resources" dependency-version: 2.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
951e723
to
b5b16e6
Compare
/code pr |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤖
The changes you've shown in the package-lock.json
and package.json
files indicate an upgrade of the @opentelemetry/resources
package from version ^1.30.1
to ^2.0.0
. Here are some key points and considerations for this upgrade:
Key Changes:
-
Version Update in
package.json
:- The
@opentelemetry/resources
dependency version has been updated from^1.30.1
to^2.0.0
.
- The
-
Removal of Duplicated Entries in
package-lock.json
:- Previously,
@opentelemetry/resources
was listed multiple times within different subdirectories (e.g.,node_modules/@opentelemetry/sdk-trace-base/node_modules/@opentelemetry/resources
). These duplicated entries have been removed as they are no longer needed since@opentelemetry/resources
is now a top-level dependency. - The
@opentelemetry/resources
entry at the top level has been updated to version2.0.0
with:@opentelemetry/core
as a dependency version2.0.0
.- The
engines
field now specifies a more restrictive Node.js version requirement (^18.19.0 || >=20.6.0
). - The
license
field isApache-2.0
. - It also depends on
@opentelemetry/semantic-conventions
at^1.29.0
.
- Previously,
-
Dependencies and Compatibility:
- The
@opentelemetry/resources
package now requires at least Node.js version18.19.0
or20.6.0
and above due to the updatedengines
field. - The semantic conventions dependency has been updated to at least
@opentelemetry/semantic-conventions
version1.29.0
. This might require you to also bump that version in your project or ensure it meets the version requirement.
- The
Steps You Should Follow:
-
Update Node.js Version:
- Make sure your project is running on Node.js version
^18.19.0
or>=20.6.0
. You can update your Node.js version using the package manager of your choice (e.g.,nvm
for Node Version Manager).
- Make sure your project is running on Node.js version
-
Install Updated Dependencies:
- Run
npm install
(oryarn install
if you are using Yarn) to install the updated versions. This command will automatically update yournode_modules
folder andpackage-lock.json
file based on the version specified inpackage.json
.
- Run
-
Update Other Dependencies if Necessary:
- Ensure all related dependencies are compatible with the new version of
@opentelemetry/resources
. You might need to update@opentelemetry/core
and@opentelemetry/semantic-conventions
according to the updated dependencies listed in the@opentelemetry/resources
package.
- Ensure all related dependencies are compatible with the new version of
-
Review Release Notes:
- Check the release notes or changelog for
@opentelemetry/resources
version2.0.0
for any breaking changes or new features.
- Check the release notes or changelog for
-
Run Tests:
- Run your test suite to ensure that the upgrade has not introduced any regressions.
-
Address Node.js Version Requirement:
- If your Node.js version does not meet the new requirement, you'll need to update it. Ensure your build environment and CI/CD pipelines also meet the new Node.js requirement.
-
Review Peer Dependencies:
- The peer dependency for
@opentelemetry/api
now requires at least version>=1.3.0
and less than1.10.0
. Ensure your project's@opentelemetry/api
version is compatible with this requirement.
- The peer dependency for
Example Commands:
# Ensure you have the correct Node.js version
nvm install 20.6.0
nvm use 20.6.0
# Update dependencies
npm install
# Run your tests
npm test
By following these steps, you can successfully upgrade the @opentelemetry/resources
package and ensure your project remains stable and compatible with the newer version.
> qwen-2.5-coder-32b [pr | 0]
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
Bumps @opentelemetry/resources from 1.30.1 to 2.0.0.
Release notes
Sourced from
@opentelemetry/resources
's releases.... (truncated)
Changelog
Sourced from
@opentelemetry/resources
's changelog.... (truncated)
Commits
7fde940
chore: prepare release 2.0.0/0.200.0 (#5521)ecd67de
doc: add section to SDK 2.x migration guide for implementors of resource dete...eaebf76
chore: prepare release 2.0.0-rc.1/0.200.0-rc.1 (#5534)e947bd9
chore(deps): update dependency babel-loader to v10 (#5518)5e20647
fix(deps): update dependency axios to v1.8.2 [security] (#5532)78fc472
chore(deps): lock file maintenance (#5531)693b09d
fix(core): avoid using util in configuration.ts for browser compatibility (#5...92fde6a
chore: prepare 2.0.0-dev.1/0.200.0-dev.1 pre-release (#5512)04b3210
doc: upgrade/migration guide for SDK 2.0 (#5513)cb48266
fix(deps): update dependency import-in-the-middle to v1.13.1 (#5517)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)