# Changelog

## [4.1.0](https://github.com/mcarvin8/gitlab-llm-kit/compare/v4.0.0...v4.1.0) (2026-09-11)


### Features

* **smart-diff:** bump smart-diff to 6.3.0 ([#42](https://github.com/mcarvin8/gitlab-llm-kit/issues/42)) ([b60fb54](https://github.com/mcarvin8/gitlab-llm-kit/commit/b60fb540243f38c1902d3b4723a905a80c1f5c10))

## [4.0.0](https://github.com/mcarvin8/gitlab-llm-kit/compare/v3.0.0...v4.0.0) (2026-08-24)


### ⚠ BREAKING CHANGES

* `LabflowLanguageModelProvider` now returns a smart-diff `ChatModel` instead of an `ai` `LanguageModel`, and `createLabflowLlm` calls `ChatModel.generate()` instead of `ai`'s `generateText()`. Any caller supplying a custom `languageModelProvider` / `llmModelProvider` must return a `ChatModel` (`{ generate(options): Promise<ChatResult> }`).

### Features

* bump @mcarvin/smart-diff to 6.0.0, drop ai dependency ([#39](https://github.com/mcarvin8/gitlab-llm-kit/issues/39)) ([467c1d3](https://github.com/mcarvin8/gitlab-llm-kit/commit/467c1d308dbd902203b82787ddcb40502095474f))

## [3.0.0](https://github.com/mcarvin8/gitlab-llm-kit/compare/v2.6.0...v3.0.0) (2026-08-16)


### ⚠ BREAKING CHANGES

* minimum Node version raised to 22.22.1 (from >=22), per smart-diff's new requirement. `buildDiffPathspecs` and `buildDiffShapingGitArgs` are no longer re-exported (removed upstream in smart-diff v4) — path filtering and diff shaping are now handled internally by smart-diff without emitting git CLI args.

### Features

* bump @mcarvin/smart-diff to 4.1.1, drop local git binary requirement ([#36](https://github.com/mcarvin8/gitlab-llm-kit/issues/36)) ([b386fe2](https://github.com/mcarvin8/gitlab-llm-kit/commit/b386fe22dd8db4b427a38711d3c6a7ae7ec38a48))

## [2.6.0](https://github.com/mcarvin8/gitlab-llm-kit/compare/v2.5.0...v2.6.0) (2026-07-01)


### Features

* **ai:** bump @mcarvin/smart-diff from 3.0.0 to 3.2.0 ([#32](https://github.com/mcarvin8/gitlab-llm-kit/issues/32)) ([9c8aae7](https://github.com/mcarvin8/gitlab-llm-kit/commit/9c8aae743fdd4c2389a870d713e8e9b55d0c3725))
* **ai:** bump ai from 6.0.195 to 7.0.9 ([#33](https://github.com/mcarvin8/gitlab-llm-kit/issues/33)) ([48905ce](https://github.com/mcarvin8/gitlab-llm-kit/commit/48905cec87ccd03e3a2f11e1a143e38173e3c966))


### Bug Fixes

* **engine:** bump min node version to 22 ([#35](https://github.com/mcarvin8/gitlab-llm-kit/issues/35)) ([97e26fd](https://github.com/mcarvin8/gitlab-llm-kit/commit/97e26fdca6f78f840c44687124ed5c5bb49009d1))

## [2.5.0](https://github.com/mcarvin8/gitlab-llm-kit/compare/v2.4.0...v2.5.0) (2026-06-16)


### Features

* **ai:** bump @mcarvin/smart-diff from 2.3.2 to 3.0.0 ([#28](https://github.com/mcarvin8/gitlab-llm-kit/issues/28)) ([a67a061](https://github.com/mcarvin8/gitlab-llm-kit/commit/a67a061eb5fedd45fd86534cbace31867797b62d))

## [2.4.0](https://github.com/mcarvin8/gitlab-llm-kit/compare/v2.3.1...v2.4.0) (2026-06-15)


### Features

* **ai:** bump @mcarvin/smart-diff from 2.3.1 to 2.3.2 ([#25](https://github.com/mcarvin8/gitlab-llm-kit/issues/25)) ([84ba844](https://github.com/mcarvin8/gitlab-llm-kit/commit/84ba8440eacaa2035cbfd0661bfd7d55b69f3761))


### Bug Fixes

* **deps:** remove redundant AI SDK deps provided transitively by smart-diff ([#21](https://github.com/mcarvin8/gitlab-llm-kit/issues/21)) ([3f3e93d](https://github.com/mcarvin8/gitlab-llm-kit/commit/3f3e93d2165f2c30b6b4814b0b3dfaa704c1e21d))

## [2.3.1](https://github.com/mcarvin8/gitlab-llm-kit/compare/v2.3.0...v2.3.1) (2026-06-11)


### Bug Fixes

* **deps:** bump smart-diff ([#19](https://github.com/mcarvin8/gitlab-llm-kit/issues/19)) ([7b330eb](https://github.com/mcarvin8/gitlab-llm-kit/commit/7b330eb1a798ffea8f99daca2fc83c93c544c4ae))

## [2.3.0](https://github.com/mcarvin8/gitlab-llm-kit/compare/v2.2.1...v2.3.0) (2026-06-01)


### Features

* **ai:** bump the ai-sdk group with 11 updates ([#17](https://github.com/mcarvin8/gitlab-llm-kit/issues/17)) ([7657617](https://github.com/mcarvin8/gitlab-llm-kit/commit/7657617902ffdd40918a0ba715ee6c3b00256245))

## [2.2.1](https://github.com/mcarvin8/gitlab-llm-kit/compare/v2.2.0...v2.2.1) (2026-05-26)


### Bug Fixes

* **deps:** pin direct dependencies to exact versions ([#15](https://github.com/mcarvin8/gitlab-llm-kit/issues/15)) ([00cb500](https://github.com/mcarvin8/gitlab-llm-kit/commit/00cb500091442c4541af981ae160a084cce82fba))

## [2.2.0](https://github.com/mcarvin8/gitlab-llm-kit/compare/v2.1.0...v2.2.0) (2026-05-02)


### Features

* **ai:** bump @mcarvin/smart-diff from 2.1.0 to 2.2.0 ([#13](https://github.com/mcarvin8/gitlab-llm-kit/issues/13)) ([cb1c9ce](https://github.com/mcarvin8/gitlab-llm-kit/commit/cb1c9cec2a63d9bedea0fbe55f47546ad6c0310f))
* **ai:** bump the ai-sdk group across 1 directory with 14 updates ([#12](https://github.com/mcarvin8/gitlab-llm-kit/issues/12)) ([5a46080](https://github.com/mcarvin8/gitlab-llm-kit/commit/5a46080c0b91f444141942098f44ab2ed8101d00))

## [2.1.0](https://github.com/mcarvin8/gitlab-llm-kit/compare/v2.0.0...v2.1.0) (2026-04-24)


### Features

* **core:** bump @mcarvin/smart-diff from 2.0.0 to 2.1.0 ([#10](https://github.com/mcarvin8/gitlab-llm-kit/issues/10)) ([dce527f](https://github.com/mcarvin8/gitlab-llm-kit/commit/dce527f9d792c361c2d8bf4460a40793bc219f7d))

## [2.0.0](https://github.com/mcarvin8/gitlab-llm-kit/compare/v1.4.1...v2.0.0) (2026-04-21)


### ⚠ BREAKING CHANGES

* **ai:** `createLabflowLlm` no longer accepts `apiKey` / `baseURL` / `defaultHeaders`; use env vars or the new `provider` / `defaultModel` / `languageModelProvider` options. `summarizeMergeRequestDiffWithSmartDiff` and `summarizeCompareDiffWithSmartDiff` replace `openAiClientProvider` with `llmModelProvider` (Vercel AI SDK `LanguageModel` factory) and add an explicit `provider` option. The `createOpenAiLikeClient`, `resolveOpenAiLikeClientInit`, `shouldUseLlmGateway`, `OpenAiLikeClient`, and `OpenAiLikeClientInit` re-exports are removed in favor of `resolveLanguageModel`, `isLlmProviderConfigured`, `detectLlmProvider`, `LLM_GATEWAY_REQUIRED_MESSAGE`, `LlmModelProvider`, `LlmProviderId`, and `ResolveLanguageModelOptions`. The `openai` npm package is no longer a dependency.

### Features

* **ai:** adopt Vercel AI SDK via smart-diff 2.0.0 for multi-provider LLMs ([#7](https://github.com/mcarvin8/gitlab-llm-kit/issues/7)) ([285f53b](https://github.com/mcarvin8/gitlab-llm-kit/commit/285f53bfb01615ef62ea8678284b00055459fbdb))

## [1.4.1](https://github.com/mcarvin8/gitlab-llm-kit/compare/v1.4.0...v1.4.1) (2026-04-17)


### Bug Fixes

* **ai:** allow createLabflowLlm with header-only gateway auth ([fe84c8a](https://github.com/mcarvin8/gitlab-llm-kit/commit/fe84c8aa99e8b8bf6021897cd1c41b3483bd1ba9))

## [1.4.0](https://github.com/mcarvin8/gitlab-llm-kit/compare/v1.3.0...v1.4.0) (2026-04-17)


### Features

* **ai:** pass defaultHeaders through createLabflowLlm ([9691899](https://github.com/mcarvin8/gitlab-llm-kit/commit/969189970d037beba483dabfd34d7e9d1ad3181d))

## [1.3.0](https://github.com/mcarvin8/gitlab-llm-kit/compare/v1.2.0...v1.3.0) (2026-04-17)


### Features

* **ci jobs:** add insight functions for pipeline jobs ([a8be748](https://github.com/mcarvin8/gitlab-llm-kit/commit/a8be7488b074051446f0677c39dce75234ed34d7))
* **commits:** post insights as notes on commits ([3eefae1](https://github.com/mcarvin8/gitlab-llm-kit/commit/3eefae161fe7e12902f2b34b674a76b2dce7af86))

## [1.2.0](https://github.com/mcarvin8/gitlab-llm-kit/compare/v1.1.0...v1.2.0) (2026-04-17)


### Features

* **issues:** allow summaries to be posted to issues ([800772c](https://github.com/mcarvin8/gitlab-llm-kit/commit/800772c60a2a7c0da04f96d5a97e0e5c931122d1))
* **releases:** set AI summaries as GitLab release descriptions ([ea6f087](https://github.com/mcarvin8/gitlab-llm-kit/commit/ea6f087ba20bde5f174afad897664db182d6f656))
* **wiki:** add wiki CRUD helpers and optional publish for wiki/release insights ([4872410](https://github.com/mcarvin8/gitlab-llm-kit/commit/4872410bbdb50a5318650fff61f1c743590a9886))


### Bug Fixes

* **merge request:** extend comment posting to remaining MR insight functions ([4a334a5](https://github.com/mcarvin8/gitlab-llm-kit/commit/4a334a525d56ff2c2d113dc4dfcedc16999a3d8a))

## [1.1.0](https://github.com/mcarvin8/gitlab-llm-kit/compare/v1.0.0...v1.1.0) (2026-04-17)


### Features

* **merge requests:** allow AI insights to be posted to MRs as comments ([6a82b73](https://github.com/mcarvin8/gitlab-llm-kit/commit/6a82b73a07c9c9619de05e2f681e86867c517aa8))

## 1.0.0 (2026-04-16)


### Features

* init commit ([3501f32](https://github.com/mcarvin8/gitlab-llm-kit/commit/3501f32614f24f2da90b2a03ea16b50d1354dd39))
