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

Update @tgwf/co2 0.13.10 → 0.14.1 (major) #4886

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

depfu[bot]
Copy link
Contributor

@depfu depfu bot commented Jan 16, 2024

Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ @​tgwf/co2 (0.13.10 → 0.14.1) · Repo · Changelog

Release Notes

[0.14.1](https://github.com/thegreenwebfoundation/co2.js/releases/tag/v0.14.1)

Why not v0.14.0? Because about 6 months ago I accidentally published v0.14.0 instead of a patch version update. I couldn't remove the tags from NPM or unpublish the package, so we're here now.

  • Add guidance for using type definitions from DefinitelyTyped in production 27e2ed4 b5d8828
  • Remove previous index.d.ts file ff6f767
  • Reduce NPM package size dbd9d7d
  • Update average annual average grid intensities 49da1c4 84384da

v0.13.10...v0.14.1

⚠️ Upcoming feature deprecation notice

In the next version of CO2.js (0.15.0) we will be removing some functions that were specific to using CO2.js with [Sitespeed's Page X-ray](https://bounce.depfu.com/github.com/sitespeedio/pagexray). Namely, we will be removing the following functions from the CO2.js library:

  • perDomain
  • perPage
  • perContentType
  • dirtiestResources
  • perParty

This functionality has already [been merged into](https://bounce.depfu.com/github.com/sitespeedio/sitespeed.io/pull/4034) the [Sitespeed.io Sustainability Plugin](https://www.sitespeed.io/documentation/sitespeed.io/sustainable/). Once the above functions have been removed from CO2.js, you will need to use the Sitespeed.io Sustainability Plugin or your own code for that functionality.

If this change impacts your code, please [follow the issue on GitHub](https://bounce.depfu.com/github.com/thegreenwebfoundation/co2.js/issues/182) and leave a comment if you have any concerns.

Does any of this look wrong? [Please let us know.](https://depfu.com/packages/npm/@TGWF%2Fco2/feedback)

Commits

[See the full diff on Github](https://github.com/thegreenwebfoundation/co2.js/compare/51b85e23dc1f52ac6642259c09e56fef62948087...fcd392c2931fa02724234bc268294325aa875f38). The new version differs by 13 commits:


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

┆Issue is synchronized with this Jira Task

@depfu depfu bot added the dependencies Pull requests that update a dependency file label Jan 16, 2024
@depfu depfu bot requested review from canova and julienw January 16, 2024 09:40
Copy link

codecov bot commented Jan 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (95291e5) 88.41% compared to head (468a204) 88.39%.

❗ Current head 468a204 differs from pull request most recent head dbba142. Consider uploading reports for the commit dbba142 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4886      +/-   ##
==========================================
- Coverage   88.41%   88.39%   -0.03%     
==========================================
  Files         303      301       -2     
  Lines       27130    26895     -235     
  Branches     7329     7270      -59     
==========================================
- Hits        23988    23774     -214     
+ Misses       2924     2905      -19     
+ Partials      218      216       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@julienw
Copy link
Contributor

julienw commented Jan 17, 2024

@depfu rebase

@depfu depfu bot force-pushed the depfu/update/yarn/@tgwf/co2-0.14.1 branch from 468a204 to dbba142 Compare January 17, 2024 10:46
Copy link
Contributor

@julienw julienw left a comment

Choose a reason for hiding this comment

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

I tested the power track on the deployed preview, this looks good.

@julienw julienw enabled auto-merge (squash) January 17, 2024 10:48
@julienw julienw merged commit 594a4a0 into main Jan 17, 2024
15 of 16 checks passed
@depfu depfu bot deleted the depfu/update/yarn/@tgwf/co2-0.14.1 branch January 17, 2024 10:48
@data-sync-user
Copy link
Collaborator

➤ Dave Hunt commented:

Test comment (ignore)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants