Skip to content

Conversation

@dyladan
Copy link
Member

@dyladan dyladan commented Jun 5, 2024

This is a draft PR to explore using entrypoints for explicit version imports of semconv

Changes:

  1. Duplicate existing files to 1.7 dir
  2. Add deprecation notes to index export entries explaining that you should import a version directly

Future changes:

  • Add a 1.25 dir/entrypoint
  • Add a 1.26 dir/entrypoint
  • and so on

Importing from the default import is deprecated
image


Importing 1.7 entrypoint is unchanged from previous
image


# Run the size checks for the generated files
cd "${ROOT_DIR}/packages/opentelemetry-semantic-conventions"
npm run size-check
Copy link
Contributor

Choose a reason for hiding this comment

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

curious why this was removed. If indeed not required anymore, the comment above needs to be updated

@JamieDanielson
Copy link
Member

@dyladan I think we can close this one now right? We sorted this out and landed on PR #4690 that has two entrypoints

@dyladan dyladan closed this Aug 6, 2024
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.

3 participants