From afb666bbf317e37ff638b76421a930da7aadad64 Mon Sep 17 00:00:00 2001 From: Ahmad Othman Date: Fri, 8 May 2026 19:53:46 +0300 Subject: [PATCH] chore(main): release 1.7.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 101 ++++++++++++++++++++++++++++++++++ deno.json | 2 +- version.txt | 2 +- 4 files changed, 104 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 093be7e..64e0684 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.6.1" + ".": "1.7.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 91c7532..ac01b31 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,106 @@ # Changelog +## [1.7.0](https://github.com/AhmedOsman101/commit-sage-cli/compare/v1.6.1...v1.7.0) (2026-05-08) + + +### Features + +* add API error types ([d0cc8ca](https://github.com/AhmedOsman101/commit-sage-cli/commit/d0cc8ca3714051f5a4fe8d77811747e00236a0dd)) +* add API key retrieval to ConfigService ([d7d436a](https://github.com/AhmedOsman101/commit-sage-cli/commit/d7d436a13bbe8528a28326fcb5d371ce884032bd)) +* Add API key validation utility ([745d189](https://github.com/AhmedOsman101/commit-sage-cli/commit/745d189d6034a7d75f37958bd635b3935781f17f)) +* add arrirpc schema ([1fbfabb](https://github.com/AhmedOsman101/commit-sage-cli/commit/1fbfabb22a1e806c2a714eb5165224a970ea6bd9)) +* add command execution service ([5d6f328](https://github.com/AhmedOsman101/commit-sage-cli/commit/5d6f328a6161aef7e4db96d870db2f2643dae274)) +* add commit message templates ([196615d](https://github.com/AhmedOsman101/commit-sage-cli/commit/196615d5fd6e7dae0be040f5fc98cf319dd20041)) +* add CommitFormat type for commit message formatting ([142f53a](https://github.com/AhmedOsman101/commit-sage-cli/commit/142f53a60fb467f885196b63ee6560d878dc0166)) +* add CommitMessage type definition to index.d.ts ([4e814d0](https://github.com/AhmedOsman101/commit-sage-cli/commit/4e814d0bf4935f774ca30e9745b6201b4cb66716)) +* Add compile task and std/fmt import ([c6f420a](https://github.com/AhmedOsman101/commit-sage-cli/commit/c6f420a8dc3c115fb6d65bd791186137382d75aa)) +* add config file ([5d552d5](https://github.com/AhmedOsman101/commit-sage-cli/commit/5d552d5eae617e37699abf938ea045ba8b4a7fee)) +* add config file validation ([0aa551c](https://github.com/AhmedOsman101/commit-sage-cli/commit/0aa551cc3152e1a57567ec189c511ecf0b82c463)) +* add config schema and types ([045d898](https://github.com/AhmedOsman101/commit-sage-cli/commit/045d89803291a457d1608e2d706945c65e1a3eb3)) +* add config schema and update config path ([4d66752](https://github.com/AhmedOsman101/commit-sage-cli/commit/4d66752be08a1aa578e190e1d9c3892654b96422)) +* add config service types ([1b76c37](https://github.com/AhmedOsman101/commit-sage-cli/commit/1b76c377da088fbfebedb382ba5416b93c73c0ad)) +* add config validation service ([53596c1](https://github.com/AhmedOsman101/commit-sage-cli/commit/53596c1817b95ae54953ff3cc1475a999e93dffa)) +* add constants for messages ([2cd196a](https://github.com/AhmedOsman101/commit-sage-cli/commit/2cd196a76e84ff015a8fd762bdb83402420d81b9)) +* add custom error classes ([24a7611](https://github.com/AhmedOsman101/commit-sage-cli/commit/24a7611df3005bb3222ef759c39a3119c6488b97)) +* add custom logger ([d365dc2](https://github.com/AhmedOsman101/commit-sage-cli/commit/d365dc25db6c30682ced8dbff390eaad62606de3)) +* add file system service ([6d331ae](https://github.com/AhmedOsman101/commit-sage-cli/commit/6d331ae63cba58ecc5fedff36908e779db3a2e2e)) +* add general and model url validation ([2c7dbb0](https://github.com/AhmedOsman101/commit-sage-cli/commit/2c7dbb08a656495906c4c1fefd3e35eec8681fa1)) +* add general config options ([b3983a8](https://github.com/AhmedOsman101/commit-sage-cli/commit/b3983a8a1f66e6924381710c5bbdb71b0c62608e)) +* add git blame analyzer service ([00042fb](https://github.com/AhmedOsman101/commit-sage-cli/commit/00042fbd402dcdbe2736fc2777c5b0eaef3cf742)) +* add Moonshot AI, Z.AI, MiniMax, and OpenRouter provider support ([c2f1300](https://github.com/AhmedOsman101/commit-sage-cli/commit/c2f1300e991900e8e066ea053dfc51a904941318)) +* add multiple AI providers ([e765e80](https://github.com/AhmedOsman101/commit-sage-cli/commit/e765e80c43dce11f5c7fded715d2026f3503743e)) +* add multiple model provider configs ([74b20f6](https://github.com/AhmedOsman101/commit-sage-cli/commit/74b20f6451f453386719d85c06dba9c8e890da96)) +* add Ollama support for commit generation ([a8ba51d](https://github.com/AhmedOsman101/commit-sage-cli/commit/a8ba51d35553174dfbbd9a8e1520d332cf1834ed)) +* add OpenAI service integration ([e331b0b](https://github.com/AhmedOsman101/commit-sage-cli/commit/e331b0ba8abba1a958d90a0cef1aee66b15c96c9)) +* Add release-please config file ([ba99102](https://github.com/AhmedOsman101/commit-sage-cli/commit/ba99102dc24868f3bd6b0dc6638e9aa364fc2b26)) +* add typescript definition file ([a5884f3](https://github.com/AhmedOsman101/commit-sage-cli/commit/a5884f32da58c91c9883b283c110c2f898e90e44)) +* add url and integer validation methods ([a580b5c](https://github.com/AhmedOsman101/commit-sage-cli/commit/a580b5c8078f2228e4e3c28ee66a9927ec989969)) +* add verbose debug logging with DEBUG=1 env var ([bd5fa5a](https://github.com/AhmedOsman101/commit-sage-cli/commit/bd5fa5adbc1d82327e38050abed751a1c7f24333)) +* **ai:** fetch diff and changed files ([e149b6b](https://github.com/AhmedOsman101/commit-sage-cli/commit/e149b6bfd0890be5aaef3775588ee4a9a4663040)) +* **ai:** use extractReasoningMiddleware for thinking tag removal ([fbd2bf0](https://github.com/AhmedOsman101/commit-sage-cli/commit/fbd2bf0fc9983c4c907ffd3413b69274548898ff)) +* **config:** add config types ([87af26c](https://github.com/AhmedOsman101/commit-sage-cli/commit/87af26c459b6009f848a2e4a94b8def50a6ebe00)) +* **config:** add custom OpenAI API key env var ([f6d9dea](https://github.com/AhmedOsman101/commit-sage-cli/commit/f6d9dea4a0cf1c472e92ab7c43f25584819e0daf)) +* **config:** add openai provider and schema validation ([e9c979a](https://github.com/AhmedOsman101/commit-sage-cli/commit/e9c979af4c1ca121918bc5241d623d48f38a15ed)) +* **config:** align AI provider configs with AI SDK ([13f20e4](https://github.com/AhmedOsman101/commit-sage-cli/commit/13f20e428a6c23d549ccfc8ba6fefbd2cd2e061e)) +* **config:** enhance api key handling ([02056d0](https://github.com/AhmedOsman101/commit-sage-cli/commit/02056d0988149a233e8e324c5697692da81df095)) +* **config:** Enhance API key handling ([f7177c8](https://github.com/AhmedOsman101/commit-sage-cli/commit/f7177c8ed718a0ba97ec4b997d1290094008e8ae)) +* **config:** improve API key input and storage ([934b2e5](https://github.com/AhmedOsman101/commit-sage-cli/commit/934b2e553f15b59099bb20c03b8f3332328d0429)) +* **config:** update base URLs and type definitions ([705a2d7](https://github.com/AhmedOsman101/commit-sage-cli/commit/705a2d7264c005e18c155bc1d9333f740f0e9700)) +* configure release-please for multi-package ([8e2ce23](https://github.com/AhmedOsman101/commit-sage-cli/commit/8e2ce239336601c56b7a38533aeb1942069615e3)) +* **config:** validate config and API keys ([4be2a7c](https://github.com/AhmedOsman101/commit-sage-cli/commit/4be2a7ccbba3430ad4e78eb8d5a6b9a2faff6c2f)) +* consolidate AI provider configuration ([1b95cfa](https://github.com/AhmedOsman101/commit-sage-cli/commit/1b95cfae356db659e9cdccd5b63fd88f853270fb)) +* create aiService.ts ([14cdc33](https://github.com/AhmedOsman101/commit-sage-cli/commit/14cdc3322f6c535d14b8c7bb66118d0d9c93a844)) +* create biome.jsonc ([0cebfff](https://github.com/AhmedOsman101/commit-sage-cli/commit/0cebfff58c92e41fa9a6be0a66beae5f561807aa)) +* create codestralService.ts, geminiService.ts and modelService.ts ([761a581](https://github.com/AhmedOsman101/commit-sage-cli/commit/761a58103c3df89b7bfc8004927f4d9f104d50d6)) +* create configValidationService.ts ([2e43489](https://github.com/AhmedOsman101/commit-sage-cli/commit/2e434896bff4abd45380ed3da1f6fe4f0436b92a)) +* define config types for providers ([32b03ec](https://github.com/AhmedOsman101/commit-sage-cli/commit/32b03ecd73bccdc942a77599a1d9ff117b805907)) +* enhance logging and add release script ([bbceb1f](https://github.com/AhmedOsman101/commit-sage-cli/commit/bbceb1f67cdfd74d75fdb017fc7e35ff509a9b16)) +* **error:** normalize and classify AI errors ([4addd7c](https://github.com/AhmedOsman101/commit-sage-cli/commit/4addd7c3e4daa4feef463b3c1492b7ab95d4aa75)) +* Expand OpenAI model config to support any model string ([fa784d4](https://github.com/AhmedOsman101/commit-sage-cli/commit/fa784d4d8e0154f0ab061fb9468ba8ffa3cb8eed)) +* **fs:** add file handle support ([6d2245a](https://github.com/AhmedOsman101/commit-sage-cli/commit/6d2245a465bf1ead033e271fcccc77f773efde8a)) +* **git:** support staged changes analysis ([2c45a55](https://github.com/AhmedOsman101/commit-sage-cli/commit/2c45a55af263a58022da6e35354c6c21f364fb10)) +* handle deleted files in git blame analyzer ([f8e4051](https://github.com/AhmedOsman101/commit-sage-cli/commit/f8e40512fa9e8f06c723f74a6f158ab35965bbf7)) +* implement Codestral service ([4e35f74](https://github.com/AhmedOsman101/commit-sage-cli/commit/4e35f749538bf7a9cf54ad06c57a9f8865375382)) +* implement config service ([a864520](https://github.com/AhmedOsman101/commit-sage-cli/commit/a8645200f81a87fa06998ac8ca45dc3f09fc2b9a)) +* implement Gemini model integration ([9969376](https://github.com/AhmedOsman101/commit-sage-cli/commit/9969376fafc1943b326cdb50a18f91fde16f95bf)) +* implement git service ([ca44ea4](https://github.com/AhmedOsman101/commit-sage-cli/commit/ca44ea45999b373f73055c45e0d992dc30a3bd06)) +* implement prompt generation service ([223e945](https://github.com/AhmedOsman101/commit-sage-cli/commit/223e945475f171d1d4440cef3fb57e6570491e54)) +* improve commit message generation ([bb6f6eb](https://github.com/AhmedOsman101/commit-sage-cli/commit/bb6f6eb6f17503b586a5fefbccdee8f4bfa67241)) +* improve config validation error messages ([e810d4b](https://github.com/AhmedOsman101/commit-sage-cli/commit/e810d4b40ad5244573640b1bd5d057c11ff47cd3)) +* improve error handling and logging ([16c6fa2](https://github.com/AhmedOsman101/commit-sage-cli/commit/16c6fa21e88e46b9744f81ee98108cfb9c975161)) +* Improve object and array logging ([bc52cac](https://github.com/AhmedOsman101/commit-sage-cli/commit/bc52cac864bee46df89249ac27f1b850593bcd53)) +* Improve Result type and add Text2Err function ([008a37c](https://github.com/AhmedOsman101/commit-sage-cli/commit/008a37c4a1848ffa8686d36bb88a5e722e7423d9)) +* initial commit and basic functionality ([ab3b050](https://github.com/AhmedOsman101/commit-sage-cli/commit/ab3b0507517d1057ba2fe2c9bd4bb0fdbc5440f0)) +* initial setup and logging ([5c8deda](https://github.com/AhmedOsman101/commit-sage-cli/commit/5c8deda26e71f7f30e6bd303a6e01ea32bd96bf9)) +* **install:** add installer logic for Commit Sage ([2111a5a](https://github.com/AhmedOsman101/commit-sage-cli/commit/2111a5aa648171d909e1833c7b64f5ee0c436cd1)) +* main functionality ([e6f45b2](https://github.com/AhmedOsman101/commit-sage-cli/commit/e6f45b2d8de15ce2d788e364d932af95d17c75ae)) +* **openai:** add OpenAI provider config support ([c4d74f7](https://github.com/AhmedOsman101/commit-sage-cli/commit/c4d74f7e96c6b38403faaa765e624895835fc322)) +* strip thinking tags from LLM output ([b5d8f06](https://github.com/AhmedOsman101/commit-sage-cli/commit/b5d8f06d110bce3de67734f121a5220b27ed8276)) +* update ai providers and error handling ([bf6479e](https://github.com/AhmedOsman101/commit-sage-cli/commit/bf6479e99c9c78249d326a6676d8388ab2866663)) + + +### Bug Fixes + +* **config:** correct syntax error in constants file ([d896b6b](https://github.com/AhmedOsman101/commit-sage-cli/commit/d896b6b71a23b85703babccec38e32c8d1e4b298)), closes [#456](https://github.com/AhmedOsman101/commit-sage-cli/issues/456) +* **config:** improve config validation and error handling ([43e89b6](https://github.com/AhmedOsman101/commit-sage-cli/commit/43e89b6941cdc93bc0bbd6644d1e9cb1c98532b7)) +* **config:** remove unnecessary await in api key validation ([fbdcd7d](https://github.com/AhmedOsman101/commit-sage-cli/commit/fbdcd7d1ce86e5292daa46d4d25295296e566146)) +* **config:** remove unnecessary await in migrateConfig ([cb84cc1](https://github.com/AhmedOsman101/commit-sage-cli/commit/cb84cc131d671a0b994ef62bb8e08c8e77b08b20)) +* detect deleted files in git status ([b6e32cd](https://github.com/AhmedOsman101/commit-sage-cli/commit/b6e32cda14ab775627108afd4d900d042e5f7f23)) +* handle empty commit messages from ai service ([38a3762](https://github.com/AhmedOsman101/commit-sage-cli/commit/38a37621afc5f1b559874d7bdb7636b6eb06e0de)) +* improve error logging in main ([08cc692](https://github.com/AhmedOsman101/commit-sage-cli/commit/08cc692a6a765796f1add370118b3fc9cc704a32)) +* **installer:** correct output and binary paths ([15b3101](https://github.com/AhmedOsman101/commit-sage-cli/commit/15b3101a5297e198d972f2f33e4451f07114ffe0)) +* remove extra blank line in Logger.ts ([7702397](https://github.com/AhmedOsman101/commit-sage-cli/commit/77023974bda52aaa49f625406667cf4b0568e2bd)) +* remove openrouter from schema required array ([0adddd9](https://github.com/AhmedOsman101/commit-sage-cli/commit/0adddd9f21f6d9a7e75d43d6ca9b8b264347849c)) +* resolve infinite migration loop in config loading ([efd8d90](https://github.com/AhmedOsman101/commit-sage-cli/commit/efd8d903bc1cef76673b9cfd7037742a8a01511c)) +* update config schema URL ([1f940f7](https://github.com/AhmedOsman101/commit-sage-cli/commit/1f940f7972b3d5a2ed05c367cdc7c93b45f5b488)) +* update config schema URL ([b21caa0](https://github.com/AhmedOsman101/commit-sage-cli/commit/b21caa0e12ace18f368b48386b8c3c3dd2856abd)) +* use DEFAULT_CONFIG for optional baseUrl, require provider.model ([c057453](https://github.com/AhmedOsman101/commit-sage-cli/commit/c057453e6ba040e8cb4be9d82ce949fce879fd5a)) + + +### Performance Improvements + +* improve file deletion check in git service ([ae206fe](https://github.com/AhmedOsman101/commit-sage-cli/commit/ae206fe33bc3e6b66ba0ad18312727d3b62b704b)) + ## [1.6.1](https://github.com/AhmedOsman101/commit-sage-cli/compare/v1.6.0...v1.6.1) (2026-02-27) ### Features diff --git a/deno.json b/deno.json index a11d49d..607f19b 100644 --- a/deno.json +++ b/deno.json @@ -1,5 +1,5 @@ { - "version": "1.6.1", + "version": "1.7.0", "tasks": { "dev": "deno run -A --watch src/main.ts", "run": "deno run -A src/main.ts", diff --git a/version.txt b/version.txt index 9c6d629..bd8bf88 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -1.6.1 +1.7.0