From 6298a0027da4ce57fe818c05aded93cb776499a5 Mon Sep 17 00:00:00 2001 From: Jan-Marlon Leibl Date: Thu, 21 May 2026 13:54:31 +0200 Subject: [PATCH] chore(release): 2.0.1 Patch release covering three internal refactors (see PRs #7, #8, #9): - Extract shared constants, parameterize validators, simplify factory - Pull validateConnection / validateModelName / error mapping into base - Split OpenWebUI into strategy classes by backend Public API surface and method signatures are unchanged. A handful of error message strings were reworded (error type and status code remain identical), and BaseAIProvider gained new protected hooks with no-op defaults. --- package.json | 2 +- src/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 88ee8e3..d093d49 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "simple-ai-provider", - "version": "2.0.0", + "version": "2.0.1", "description": "A simple and extensible AI provider package for easy integration of multiple AI services", "main": "dist/index.js", "module": "dist/index.mjs", diff --git a/src/index.ts b/src/index.ts index 1164a50..369e6ec 100644 --- a/src/index.ts +++ b/src/index.ts @@ -58,4 +58,4 @@ export const SUPPORTED_PROVIDERS = ['claude', 'openai', 'gemini', 'openwebui'] a /** * Package version */ -export const VERSION = '2.0.0'; +export const VERSION = '2.0.1';