Releases: mlco2/codecarbon
v2.8.3
What’s Changed
- bump version (#765) @SaboniAmine
- fix: redirect user to dashboard after cli account creation (#763) @SaboniAmine
- Feat/update project settings (name +description) (#761) @inimaz
- allow accessing public project data (#759) @prmths128
- feat(api): add auth to project token endpoints (#746) @inimaz
- Document how to run CodeCarbon as a service (#754) @benoit-cty
⬆️ Dependencies updates
- chore(deps): bump next from 14.2.15 to 14.2.21 in /webapp (#762) @dependabot
- chore(deps): bump jinja2 from 3.1.4 to 3.1.5 in /requirements (#753) @dependabot
- chore(deps): bump next from 14.2.12 to 14.2.15 in /webapp (#750) @dependabot
- chore(deps): bump nanoid from 3.3.7 to 3.3.8 in /webapp (#747) @dependabot
👥 List of contributors
@SaboniAmine, @benoit-cty, @dependabot, @dependabot[bot], @inimaz, @prmths128 and benoit-cty
v2.8.2
What’s Changed
Package
- fix: codecarbon lock multithread safe (#737) @inimaz
- Add a ResourceTracker to have cleaner code (#741) @benoit-cty
- Add SmolLM2 example (#734) @benoit-cty
API / Dashboard
- Fix/fix prod api (#748) @SaboniAmine
- config(codecarbon) update cli auth settings (#740) @prmths128
- chore(carbonserver) more cors (#739) @prmths128
- chore(carbonserver) update cors config (#738) @prmths128
- fix(ui): units are now kg and kWh (#728) @inimaz
- fix: scatter chart shows correct timestamp (#727) @inimaz
👥 List of contributors
@SaboniAmine, @benoit-cty, @inimaz, @prmths128 and benoit-cty
v2.8.1
What’s Changed
- feat: log where the config file is (#726) @inimaz
- Fix API calls (#725) @benoit-cty
- fix(cli): codecarbon monitor --no-api working again (#721) @inimaz
👥 List of contributors
@benoit-cty and @inimaz
v2.8.0
What’s Changed
Package
- Update carbon intensity from Our word in data's data (#674) @MarionCoutarel
- Use CUDA_VISIBLE_DEVICES by default (#712) @benoit-cty
Future dashboard and API
- feat(webapp) add more complete getting started message (#705) @prmths128
- Cli auth fixes (#715) @prmths128
- feat: add new organization button (#718) @inimaz
- Fix empty experiment (#710) @prmths128
⬆️ Dependencies updates
- chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 in /webapp (#719) @dependabot
👥 List of contributors
@MarionCoutarel, @benoit-cty, @dependabot, @dependabot[bot], @inimaz, @prmths128
v2.7.4
What’s Changed
🔧 Fixes & Refactoring
- [CI] Fix Conda build (#700) @benoit-cty
- fix: lock release when there is a python error (#701) @inimaz
- fix: pin versions of hatch and hatchling (#706) @inimaz
👥 List of contributors
@benoit-cty, @inimaz and benoit-cty
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