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

chore(opentelemetry-context-zone-peer-dep): support zone.js ^v0.13.0 #4320

Merged
merged 20 commits into from
Jan 17, 2024

Conversation

rodgerbrennan
Copy link
Contributor

update deps to support angular 16
Fixes #4245

update deps to support angular 16
closes issue open-telemetry#4245

Signed-off-by: rbrennan <4884521+rodgerbrennan@users.noreply.github.com>
@rodgerbrennan rodgerbrennan requested a review from a team as a code owner November 22, 2023 18:28
Copy link

linux-foundation-easycla bot commented Nov 22, 2023

CLA Signed

The committers listed above are authorized under a signed CLA.

Copy link
Member

@pichlermarc pichlermarc left a comment

Choose a reason for hiding this comment

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

Hi there, thank you for your contribution!

Looks like a few unintentional changes made it in here, I pointed them out in the comments. 🙂

packages/opentelemetry-context-zone-peer-dep/package.json Outdated Show resolved Hide resolved
packages/opentelemetry-context-zone-peer-dep/package.json Outdated Show resolved Hide resolved
packages/opentelemetry-context-zone-peer-dep/package.json Outdated Show resolved Hide resolved
packages/opentelemetry-context-zone-peer-dep/package.json Outdated Show resolved Hide resolved
packages/opentelemetry-context-zone-peer-dep/package.json Outdated Show resolved Hide resolved
tsconfig.tsbuildinfo Outdated Show resolved Hide resolved
@pichlermarc pichlermarc changed the title chore(opentelemetry-context-zone-peer-dep): chore(opentelemetry-context-zone-peer-dep): support zone.js ^v0.13.0 Nov 29, 2023
This reverts commit 624df4e.
Copy link

codecov bot commented Dec 14, 2023

Codecov Report

Merging #4320 (0bc5230) into main (71ef1b1) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4320   +/-   ##
=======================================
  Coverage   92.20%   92.20%           
=======================================
  Files         336      336           
  Lines        9512     9512           
  Branches     2016     2016           
=======================================
  Hits         8771     8771           
  Misses        741      741           

Copy link
Member

@pichlermarc pichlermarc left a comment

Choose a reason for hiding this comment

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

FYI @rodgerbrennan I'm not sure that you're aware, but the browser tests for this PR seem to be failing - you can invoke them locally by running npm run compile folllowed by npm run test:browser.

We'll need the tests need to pass before we can merge this PR to ensure we don't introduce a regression for our users.

@rodgerbrennan
Copy link
Contributor Author

@pichlermarc I believe my latest commit fixes the browser tests

@@ -14,7 +14,7 @@
* limitations under the License.
*/

import 'zone.js';
import 'zone.js/dist/zone';
Copy link
Member

Choose a reason for hiding this comment

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

I believe we should enable transpiling the zone.js with webpack if the default entry of zone.js contains advanced syntax.

This can be done in a follow-up PR.

Suggested change
import 'zone.js/dist/zone';
// Default 'zone.js' contains advanced syntax that can not be consumed by the test webpack.
// Load the es5 target bundle instead.
import 'zone.js/dist/zone';

@pichlermarc
Copy link
Member

@rodgerbrennan Still requires an entry in CHANGELOG.md then this should be good to go 🙂

@rodgerbrennan
Copy link
Contributor Author

@rodgerbrennan Still requires an entry in CHANGELOG.md then this should be good to go 🙂

I added a note in the changelog under unreleased, house(internal)

@legendecas legendecas merged commit bf8714e into open-telemetry:main Jan 17, 2024
20 checks passed
@rodgerbrennan rodgerbrennan deleted the fix/zonejs-version branch February 21, 2024 05:08
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.

[context-zone-peer-dep] update zone.js dependency
4 participants