From d06d4f7a0a8e863c48c95c37dcc3b7aa4ee9cec9 Mon Sep 17 00:00:00 2001 From: Mohsen Azimi Date: Wed, 19 Feb 2025 08:57:11 +0700 Subject: [PATCH] release: v0.19.0 --- CHANGELOG.md | 26 +++++++++++++++++++++++++- Cargo.lock | 2 +- Cargo.toml | 2 +- 3 files changed, 27 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d538e7c..98e8740 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,8 +5,31 @@ 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.19.0] - 2025-02-19 +[0.19.0]: https://github.com/bodo-run/yek/compare/v0.18.0...v0.19.0 +### Bug Fixes + +- Improve token counting accuracy +- Ensure token and max-size limits are respected +- Remove unnecessary mut keywords from test configs +- Update token limit enforcement test + +### Features + +- Use tiktoken for accurate token counting +- Add token count to debug output + +### Miscellaneous Tasks + +- Bump clap from 4.5.28 to 4.5.30 +- Bump tempfile from 3.16.0 to 3.17.1 + +### Performance + +- Only count tokens when debug logging is enabled + ## [0.18.0] - 2025-02-13 -[0.18.0]: https://github.com/bodo-run/yek/compare/v0.17.0...v0.18.0 +[0.18.0]: https://github.com/bodo-run/yek/compare/v0.16.0...v0.18.0 ### Bug Fixes - Ensure files with same timestamp get same boost @@ -42,6 +65,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Release - V0.17.0 +- V0.18.0 ## [0.16.0] - 2025-01-30 [0.16.0]: https://github.com/bodo-run/yek/compare/v0.15.0...v0.16.0 diff --git a/Cargo.lock b/Cargo.lock index 0e7bc95..5a1c582 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4017,7 +4017,7 @@ dependencies = [ [[package]] name = "yek" -version = "0.18.0" +version = "0.19.0" dependencies = [ "anyhow", "assert_cmd", diff --git a/Cargo.toml b/Cargo.toml index 3b42471..b7d16ab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "yek" -version = "0.18.0" +version = "0.19.0" edition = "2021" description = "A tool to serialize a repository into chunks of text files" license = "MIT"