Releases: thegreenwebfoundation/co2.js
v0.16.5
v0.16.4
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
- @alexzurbonsen made their first contribution in #226
Full Changelog: v0.16.3...v0.16.4
v0.16.3
Changes
- Fix issue #236 to include all
gridIntensity
values when running theperVisitTrace
orperByteTrace
functions. #237
Contributors
- @samuelIkoli made their first contribution
- @APJohns made their first contribution
Full Changelog: v0.16.2...v0.16.3
v0.16.2
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
- @Malay-dev made their first contribution in #230
- @dsubject made their first contribution in #221
Full Changelog: v0.16.1...v0.16.2
v0.16.1
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 - Add Sustainable Web Design Model v4
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
Release notes: https://www.thegreenwebfoundation.org/news/release-guide-co2-js-v0-16
v0.15.0 - Verbose hosting check results
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.
Update average annual grid intensities
- [AUTOMATED] Update average annual grid intensities 5e532f5
0.14.3
- [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
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
- @sfishel18 made their first contribution in #184
Full Changelog: v0.14.1...v0.14.2