Releases: mlco2/codecarbon
v2.7.2
This release has no impact on current end users, it is mostly on the incoming new UI with authentication.
What’s Changed
- Build with Hatch instead of
build
(#699) @benoit-cty - fix(deploy) fix typo (#698) @prmths128
- feat: 🔨 use react state in the organization page (#694) @inimaz
- config(docker) add config to use local backend (#695) @prmths128
- Docker compose alt (#682) @prmths128
- fix: starlette version compatible with fastapi (#691) @inimaz
- feat: hashed passwords + alembic migration (#688) @inimaz
- style + fixes (ui): project page (#686) @inimaz
- feat(ui): create new project (#684) @inimaz
- fix: infinite load in project components (#685) @inimaz
- feat: add missing charts (#676) @SaboniAmine
- feat: project tokens UI (#683) @inimaz
- feat(cli,api) add auth to cli for new api (#675) @prmths128
- WIP feat(api) add permissions checks where needed (#670) @prmths128
- feat(api, webapp): various changes (#668) @SaboniAmine
- fix(webapp) fix app crashing when fetching organizations list without auth (#671) @prmths128
- feat(cli): use api-token to save emissions in API (#664) @inimaz
- More vibrant primary color (#665) @alexphiev
- feat(api) add permissions checks where needed (wip) (#659) @prmths128
- Clean server side api calls to use SWR for now + apply theme colors * IBM Plex Mono font (#663) @alexphiev
- doc(api): update local deployment procedure (#661) @SaboniAmine
⬆️ Dependencies updates
- chore(deps): bump werkzeug from 3.0.4 to 3.0.6 in /requirements (#696) @dependabot
- chore(deps): bump starlette from 0.38.4 to 0.40.0 in /requirements (#690) @dependabot
- chore(deps): bump path-to-regexp from 6.2.2 to 6.3.0 in /webapp (#666) @dependabot
👥 List of contributors
@SaboniAmine, @alexphiev, @benoit-cty, @dependabot, @dependabot[bot], @inimaz, @prmths128 and benoit-cty
v2.7.1
What’s Changed
- Fix unwanted print in 2.7.0 (#662) @benoit-cty
- fix(webapp) fix frontend after backend changes (#660) @prmths128
- fix(api) fix signup and token (#657) @prmths128
- feat(api) add jwt bearer auth (#648) @prmths128
👥 List of contributors
v2.7.0
What’s Changed
20 PR added in this release:
- Fixed duration values in task monitoring (#649) @Gommarlo
- Check output folder exist at startup (#611) @benoit-cty
- Log tracking method used and required installs for tracking CPU (#641) @rosekelly6400
- ci(ui): setup ci for the ui + prettier (#652) @inimaz
- fix(ui): remove imports + add await (#651) @inimaz
- Removed redundant dangling return keywords from
rapl.py
(#635) @MyGodItsFull0fStars - Refactoring changes to cpu.py (#634) @MyGodItsFull0fStars
- Added type hints to functions and docstring to ApplePowermetrics class (#636) @MyGodItsFull0fStars
- Added type hint co2 signal (#638) @MyGodItsFull0fStars
- subprocess.Popen now uses a with-statement in powermetrics.py (#637) @MyGodItsFull0fStars
- feat(webapp) form to add users to organization (#646) @prmths128
- feat(api) new routes to add users to organizations (#647) @prmths128
- Fix tests with auth (#645) @SaboniAmine
- feat(api) use new membership table to manage org members (#642) @prmths128
- init refacto for functional filtering in api (#643) @SaboniAmine
- Apps together strong (#640) @prmths128
- Fixed typo in CONTRIBUTING.md (#633) @MyGodItsFull0fStars
- fix: added the TDP of CPU Intel Core i7-1360P (#626) @loekadam
- Added type hints and docstring to GPUDevice (#631) @MyGodItsFull0fStars
- docs(CLI): 📝 fix asciinema links (#632) @LuisBlanche
🚀 Features
- Add experiment_id to tracker-logged report (#594) @halsimov
- feat: ensure only one instance of codecarbon is run per machine (#562) @inimaz
⬆️ Dependencies updates
- chore(deps): bump cryptography from 43.0.0 to 43.0.1 in /requirements (#650) @dependabot
- chore(deps): bump micromatch from 4.0.7 to 4.0.8 in /webapp (#644) @dependabot
👥 List of contributors
@Gommarlo, @LuisBlanche, @MyGodItsFull0fStars, @SaboniAmine, @alexphiev, @benoit-cty, @dependabot, @halsimov, @inimaz, @loekadam, @prmths128, and @rosekelly6400
v2.6.0
What’s Changed
- Python 3.12 support (#607) @benoit-cty
- Catch error from pynvml.nvmlDeviceGetTotalEnergyConsumption (Issue #586) (#613) @joshuaj1397
🚀 Features
- Feat/rework cli (#506) @LuisBlanche
👥 List of contributors
@LuisBlanche, @benoit-cty, @joshuaj1397, Joshua Johnson and benoit-cty
v2.5.1
What’s Changed
- Feat: check project token (#624) @inimaz
- feat(api): project token management (#617) @inimaz
- Update README.md - Contributor Name (#623) @Lucas-Otavio
- fix: create user in app db if exists in fief (#619) @SaboniAmine
- feat(api) add missing step to registration workflow (#616) @prmths128
- fix(api): user signup flow (#614) @inimaz
- Feat/organization access control (#604) @prmths128
- feat(api) allow creating user with id and no password (#609) @prmths128
- Update impact.csv with 2023 values (#610) @eherra
- feat(api) add fief auth layer (#603) @prmths128
- fix(api): python version to 3.11 + fix last alembic upgrade (#601) @inimaz
- feat(api): new user actions (#596) @inimaz
- feat(api): patch organizations (#595) @inimaz
- feat(api): add projects patch and delete methods (#592) @inimaz
- chore(db): alembic revision to remove teams (#591) @inimaz
- chore(carbonserver) rework api endpoints (#590) @prmths128
🔧 Fixes & Refactoring
- Update emissions_tracker.py to fix issue #549 (#589) @LeahChercham
- fix: 🔨 update Dockerfile and Docker -compose for local dev (#599) @LuisBlanche
⬆️ Dependencies updates
- Bump certifi from 2024.6.2 to 2024.7.4 (#606) @dependabot
- Bump certifi from 2024.6.2 to 2024.7.4 in /requirements (#602) @dependabot
👥 List of contributors
@LeahChercham, @Lucas-Otavio, @LuisBlanche, @SaboniAmine, @benoit-cty, @dependabot, @dependabot[bot], @eherra, @inimaz and @prmths128
v2.5.0
What’s Changed
- Handle empty response from Colab Entreprise (#580) @benoit-cty
- Handle TRES in Slurm (#584) @benoit-cty
- warning for the next release (#581) @inimaz
- Chores: remove team references (#573) @inimaz
- feat: add logfire as output method (#542) @inimaz
- chore(carbonserver) rework api endpoints and models (#577) @prmths128
- Fix powermetrics test asking for password on Linux (#576) @benoit-cty
- chore(carbonserver) Harmonize endpoints (#574) @prmths128
- feat(output): unifying execution of 'live' output handlers (#459) @eledhwen
- logging: log the path of the file where emissions are saved (#561) @inimaz
- fix: warning invalid gpus format (#560) @inimaz
- Update impact.csv (#568) @eherra
⬆️ Dependencies updates
- Bump urllib3 from 2.0.7 to 2.2.2 in /requirements (#579) @dependabot
👥 List of contributors
@benoit-cty, @dependabot, @eherra, @eledhwen, @inimaz, @prmths128
v2.4.3rc1
What’s Changed
- Add automatic publish to conda to the CI (#558) @benoit-cty
⬆️ Dependencies updates
- Bump requests from 2.31.0 to 2.32.0 (#556) @dependabot
👥 List of contributors
@benoit-cty, @dependabot, @dependabot[bot] and benoit-cty
v2.4.2
What’s Changed
- Update Conda recipe (#554) @benoit-cty
- refactor output (#552) @inimaz
- Add how to cite in README.md (#553) @benoit-cty
- Fix CPU database compare (#551) @benoit-cty
- Update cpu_power.csv (#548) @Lucas-Otavio
⬆️ Dependencies updates
- Bump requests from 2.31.0 to 2.32.0 in /requirements (#555) @dependabot
- Bump werkzeug from 3.0.1 to 3.0.3 in /requirements (#545) @dependabot
- Bump idna from 3.6 to 3.7 (#538) @dependabot
👥 List of contributors
@Lucas-Otavio, @benoit-cty, @dependabot, @dependabot[bot], @inimaz, @sashavor and benoit-cty
v2.4.1
What’s Changed
- Switching to Hatch for package management (#535) and Fix problems with Hatch (#539) @benoit-cty
- TDP of Intel® Core™ i5-2400 (#531) @Lucas-Otavio
- Update cpu_power.csv (#529) @RafiullahOmar
- Big updates on cpu_power.csv (#534) @Lucas-Otavio
- Accept list of ints in gpu_ids param (#519) @inimaz
- Docs: remove personal conversation, fix small typos (#528) @amv213
⬆️ Dependencies updates
- Bump jinja2 from 3.1.3 to 3.1.4 in /requirements (#546) @dependabot
- Bump idna from 3.6 to 3.7 in /requirements (#536) @dependabot
👥 List of contributors
@Lucas-Otavio, @RafiullahOmar, @amv213, @benoit-cty, @inimaz
👥 List of contributors
@Lucas-Otavio, @benoit-cty, @dependabot, @dependabot[bot] and benoit-cty
v2.4.0rc0
What’s Changed
- Switching to Hatch for package management (#535) @benoit-cty
- feat: TDP of Intel® Core™ i5-2400 (#531) @Lucas-Otavio
- Update cpu_power.csv (#529) @RafiullahOmar
- feat: accept list of ints in gpu_ids param (#519) @inimaz
- docs: remove personal conversation, fix small typos (#528) @amv213
👥 List of contributors
@Lucas-Otavio, @RafiullahOmar, @amv213, @benoit-cty, @inimaz