Skip to content

Releases: thegreenwebfoundation/co2.js

v0.16.5

20 Jan 02:10
Compare
Choose a tag to compare

What's Changed

  • [AUTOMATED] Update average annual grid intensities by @github-actions in #246

Full Changelog: v0.16.4...v0.16.5

v0.16.4

10 Dec 03:13
Compare
Choose a tag to compare

What's Changed

  • separate options parsing for byteTrace and visitTrace functions by @alexzurbonsen in #226
  • [AUTOMATED] Update average annual grid intensities by @github-actions in #245

New Contributors

Full Changelog: v0.16.3...v0.16.4

v0.16.3

30 Nov 08:47
Compare
Choose a tag to compare

Changes

  • Fix issue #236 to include all gridIntensity values when running the perVisitTrace or perByteTrace functions. #237

Contributors

Full Changelog: v0.16.2...v0.16.3

v0.16.2

12 Nov 04:19
Compare
Choose a tag to compare

What's Changed

  • Add JSDoc comments to data generation scripts and output files by @Malay-dev in #230
  • Added basic error handling to data fetch in emissions script by @dsubject in #221
  • [AUTOMATED] Update average annual grid intensities by @github-actions in #228
  • Bump url2green version by @fershad in #238

New Contributors

Full Changelog: v0.16.1...v0.16.2

v0.16.1

10 Sep 07:46
Compare
Choose a tag to compare

This release sets up the minimum capability to publish CO2.js to JSR. This is experimental at the moment, with the main purpose being to utilise some of the documenting capabilities that is available through JSR.

v0.16.0...v0.16.1

v0.16 - Add Sustainable Web Design Model v4

01 Jul 04:01
Compare
Choose a tag to compare

Significant updates in this release include:

  • Add Sustainable Web Design version 4 b4a7eef
  • Add Sustainable Web Design rating scale 142c041
  • allow for SWDM version change 15e33a5
  • add contributing.md 22d4bcc
  • calculate operational and embodied emissions per segment a525f33

v0.15.0...v0.16.0

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

v0.15.0 - Verbose hosting check results

03 May 04:56
Compare
Choose a tag to compare

CO2.js v0.15 gives developers access to richer information about a hosting provider when checking a domain or multiple domains for green hosting.

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

  • Adds support for verbose response when checking domains d012292 . Thank you @sfishel18 for this contribution.
  • update grid intensities 03b5e45
  • remove pagexray dependency, related functions, and test 2a8f601 b2fefd0 41ee904 1e6508a
  • Added new JSdoc typedef for components of CO2 estimate Added it as a union for return types that can be total or components d6700f5 . Thank you @mgriffin-scottlogic for this contribution.

v0.14.4...v0.15.0

Update average annual grid intensities

08 Mar 14:36
Compare
Choose a tag to compare
  • [AUTOMATED] Update average annual grid intensities 5e532f5

v0.14.3...v0.14.4

0.14.3

21 Feb 08:52
Compare
Choose a tag to compare
  • [AUTOMATED] Update average annual grid intensities f59eefc

Please note that this update includes data from Ember Climate that reflects their updated carbon intensity methodology.

Read the methodology at: https://ember-climate.org/data-catalogue/yearly-electricity-data/

A note from Ember about the change is below:

We have made a significant update to our carbon intensity calculations which hopefully helped to significantly increase their accuracy. Previously, we were using IPCC emissions factors by fuel that did not distinguish between countries or technologies. Our new factors are on a by country, by fuel, by year basis to more accurately capture coal and gas fleets, how they change over time, and where and how coal and gas is sourced.

Crucially, while widely used, IPCC factors were a significant underestimate, especially for emissions from coal generation. The IPCC, in its methodology, relied on calculations that assumed near impossible efficiency for future coal plants that does not accurately reflect current day coal generation.

We hope that our new approach will be more accurate and we're aiming to make our methodology fully public and reproducible in the near future.

v0.14.2...v0.14.3

v0.14.2

29 Jan 04:42
Compare
Choose a tag to compare

What's Changed

  • Adds user agent header for requests to Green Web Foundation APIs by @sfishel18 in #184
import { hosting } from "@tgwf/co2"
hosting.check("google.com", "myGreenWebApp")

New Contributors

Full Changelog: v0.14.1...v0.14.2