Skip to content

Commit

Permalink
Changelog for 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmojaki committed Dec 26, 2022
1 parent 4d0abfd commit 83a9701
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,30 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.4.0] - 2022-12-30

### Added

- Toolbar to highlight all call nodes of a specific function/method, expand their ancestors to reveal them, and hide other irrelevant nodes.
- Integration with the new [fvalues](https://github.com/oughtinc/fvalues) library, highlighting dynamic parts of formatted strings in the detail pane.
- Show the total cost of OpenAI API calls in each call node, assuming a price of $0.02 per 1000 tokens.
- When running a recipe:
- Automatically start the server in a background process if it's not already running. This can be disabled by setting the environment variable `OUGHT_ICE_AUTO_SERVER=0`. Run `python -m ice.server stop` to kill the process.
- Automatically open the recipe in the browser. This can be disabled by setting the environment variable `OUGHT_ICE_AUTO_BROWSER=0`.
- Log the URL instead of printing it.
- Environment variables `OUGHT_ICE_HOST` and `OUGHT_ICE_PORT` to configure the server host and port.

### Changed

- **Breaking trace file format change:** Traces are now stored in a directory with multiple files instead of one large file. This makes loading large traces in the UI much more efficient. Old trace files can no longer be loaded.
- Instances of dataclasses are serialized as JSON objects instead of strings using `dataclasses.asdict` so they have a readable structure in the detail pane.

### Fixed

- Fixed SQLite connection error which sometimes occurred when running async functions decorated with `@diskcache`.
- Replaced hardcoded `/code/papers/` path (which only made sense in the old docker container) with environment variable `PAPER_DIR`.
- Added empty `py.typed` file to the package for type checkers.

## [0.3.2] - 2022-11-28

### Fixed
Expand All @@ -25,7 +49,7 @@ Added missing `python_requires` to PyPI package.

### Added

- When running a recipe, the trace server now starts automatically.
- Allow running the trace server using `python -m ice.server`.

### Changed

Expand Down

0 comments on commit 83a9701

Please sign in to comment.