Skip to content

[dependabot][npm]: Bump @tgwf/co2 from 0.17.0 to 0.18.0#2

Merged
adamwirth merged 1 commit intomainfrom
dependabot/npm_and_yarn/tgwf/co2-0.18.0
Mar 25, 2026
Merged

[dependabot][npm]: Bump @tgwf/co2 from 0.17.0 to 0.18.0#2
adamwirth merged 1 commit intomainfrom
dependabot/npm_and_yarn/tgwf/co2-0.18.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Feb 27, 2026

Bumps @tgwf/co2 from 0.17.0 to 0.18.0.

Release notes

Sourced from @​tgwf/co2's releases.

v0.18.0

CO2.js v0.18 changes the default carbon estimation model to Sustainable Web Design Model (SWDM) version 4. It also see the addition of open, year grid intensity and fuel-mix data from from Electricity Maps.

What's Changed

Release notes: https://www.thegreenwebfoundation.org/news/release-guide-co2-js-v0-18/

Full Changelog: thegreenwebfoundation/co2.js@v0.17.0...v0.18.0


Accessing other Electricity Maps data

While we are able to provide annual grid data from Electricity Maps in CO2.js, users wishing to utilise data at higher-than-yearly resolution (e.g monthly, hourly etc.), or other historical and forecasted datapoints should contact Electricity Maps to access this data via their paid API. To do so, visit the Electricity Maps website for pricing and details.

Licenses

The annual grid intensity data is republished from Electricity Maps under the Open Database License (ODbL). Users of this data through CO2.js must:

  • Attribute: Credit Electricity Maps as the source
  • Share-Alike: Keep derivative works under the same license
  • Keep open: Provide unrestricted versions if using DRM

For full details on Electricity Maps methodology see: https://www.electricitymaps.com/data/methodology  For full detail on the ODbL see: https://opendatacommons.org/licenses/odbl/summary/

[PREVIEW] v0.18-alpha2

This PREVIEW release allows users to experiment with new features and functions that are planned for release in CO2.js.

Changes for the upcoming v0.18 release which are available in this PREVIEW release include:

  • changes the default carbon estimation model in CO2.js to Sustainable Web Design Version 4 (SWDMv4).
  • add yearly grid data from Electricity Maps for all zones for the calendar years 2021-2025.

You can try this release in your code using the NPM command npm install tgwf/co2@next

Full Changelog: thegreenwebfoundation/co2.js@v0.17.0...v0.17.3-0

Changes

Default estimation model is now SWDMv4

By default, carbon estimation calculations in CO2.js will use the SWDMv4 model. Users wishing to use SWDMv3 or the OneByte model should explicitly reference those versions/models in their code.

import { co2 } from "@tgwf/co2";
// Use the default Sustainable Web Design Model v4
const swd = new co2();
</tr></table>

... (truncated)

Changelog

Sourced from @​tgwf/co2's changelog.

[0.18.0] - 2026-02-26

Added

  • Annual grid carbon intensity, renewable percentage, carbon free percentage data from Electricity Maps for the years 2021 - 2025.

Changed

  • Default carbon estimation model is now the Sustainaable Web Design Model version 4.

[0.18.0-alpha2]

Added

  • Annual grid carbon intensity, renewable percentage, carbon free percentage data from Electricity Maps for the years 2021 - 2025.

[0.18.0-alpha] - 2025-12-08

Changed

  • Default carbon estimation model is now the Sustainaable Web Design Model version 4.
Commits

Dependabot compatibility score

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 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)

Bumps [@tgwf/co2](https://github.com/thegreenwebfoundation/co2.js) from 0.17.0 to 0.18.0.
- [Release notes](https://github.com/thegreenwebfoundation/co2.js/releases)
- [Changelog](https://github.com/thegreenwebfoundation/co2.js/blob/main/CHANGELOG.md)
- [Commits](thegreenwebfoundation/co2.js@v0.17.0...v0.18.0)

---
updated-dependencies:
- dependency-name: "@tgwf/co2"
  dependency-version: 0.18.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Feb 27, 2026
@adamwirth adamwirth merged commit 53b4674 into main Mar 25, 2026
@adamwirth adamwirth deleted the dependabot/npm_and_yarn/tgwf/co2-0.18.0 branch March 25, 2026 23:13
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 javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant