From cce325ffcbeec7b4db8d8b1a116d9433a7b41724 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 16 Apr 2025 18:46:26 +0000 Subject: [PATCH] chore(main): release dotprompt-1.2.0 --- .release-please-manifest.json | 2 +- js/CHANGELOG.md | 34 ++++++++++++++++++++++++++++++++++ js/package-lock.json | 4 ++-- js/package.json | 10 ++++++++-- 4 files changed, 45 insertions(+), 5 deletions(-) create mode 100644 js/CHANGELOG.md diff --git a/.release-please-manifest.json b/.release-please-manifest.json index ec60b1967..7717c8465 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,5 +1,5 @@ { - "js": "1.1.1", + "js": "1.2.0", "python/dotpromptz": "0.1.0", "python/handlebarrz": "0.1.0", "go": "0.1.0" diff --git a/js/CHANGELOG.md b/js/CHANGELOG.md new file mode 100644 index 000000000..4838088ff --- /dev/null +++ b/js/CHANGELOG.md @@ -0,0 +1,34 @@ +# Changelog + +## [1.2.0](https://github.com/yesudeep/dotprompt/compare/dotprompt-v1.1.1...dotprompt-1.2.0) (2025-04-16) + + +### Features + +* add implementation of helpers and util modules; move interfaces into dotpromptz project ([#73](https://github.com/yesudeep/dotprompt/issues/73)) ([8c7aea1](https://github.com/yesudeep/dotprompt/commit/8c7aea1faffaf823d01b132e55cb175a4fca5ccb)) +* adds renderMetadata method to render metadata without prompt inputs ([#11](https://github.com/yesudeep/dotprompt/issues/11)) ([7706cb7](https://github.com/yesudeep/dotprompt/commit/7706cb7e6bce0fede5c8e2f2285be8f9aa3230ab)) +* **go/parse:** parse.go implementation [#62](https://github.com/yesudeep/dotprompt/issues/62) ([#87](https://github.com/yesudeep/dotprompt/issues/87)) ([d5dc13c](https://github.com/yesudeep/dotprompt/commit/d5dc13c0bf0437875a3b133511ffed474a8b3bf9)) +* parseDocument python ([#80](https://github.com/yesudeep/dotprompt/issues/80)) ([82ebc36](https://github.com/yesudeep/dotprompt/commit/82ebc3672e8de051dfbdd92968ed3f84c79a247f)) +* partial test runner implementation now loads tests ([#139](https://github.com/yesudeep/dotprompt/issues/139)) ([b09dd2f](https://github.com/yesudeep/dotprompt/commit/b09dd2f9b8029317ce484d6f32d5a3fb89f5f7e1)) +* **py/dotpromptz:** _resolve_metadata for dotprompt ([#226](https://github.com/yesudeep/dotprompt/issues/226)) ([cfcc87b](https://github.com/yesudeep/dotprompt/commit/cfcc87b57e49785c2356b03fbc5b7bf773472683)) +* **py/dotpromptz:** add initial Dotprompt._resolve_tools implementation and raise ValueError when resolver is None ([#214](https://github.com/yesudeep/dotprompt/issues/214)) ([57caf5d](https://github.com/yesudeep/dotprompt/commit/57caf5d9a9f4fe720c67f99fd10439d5ebe434dc)) +* **py/dotpromptz:** translate render_metadata for dotprompt.py from ts ([#227](https://github.com/yesudeep/dotprompt/issues/227)) ([ae1919b](https://github.com/yesudeep/dotprompt/commit/ae1919b3457824241c734fdf8328f61279fb6710)) +* **py:** implement identify_partials in terms of regexps since we do not have an AST to walk [#90](https://github.com/yesudeep/dotprompt/issues/90) ([#150](https://github.com/yesudeep/dotprompt/issues/150)) ([f802275](https://github.com/yesudeep/dotprompt/commit/f8022755d7eef716bbb54dd08a2c3a061250d393)) +* **py:** implementation of parse.py; refactor parse.ts and update tests. ([#79](https://github.com/yesudeep/dotprompt/issues/79)) ([47e7245](https://github.com/yesudeep/dotprompt/commit/47e7245c0aae710b102178019d1f3449c2f1af66)) +* **python:** add OpenAI adapter implementation for dotprompt [#38](https://github.com/yesudeep/dotprompt/issues/38) ([#97](https://github.com/yesudeep/dotprompt/issues/97)) ([d171f87](https://github.com/yesudeep/dotprompt/commit/d171f8792ecf08f446e18ea3bbd5309cafa1d8a3)) +* script to update all deps in one go and update deps ([#130](https://github.com/yesudeep/dotprompt/issues/130)) ([09ac58e](https://github.com/yesudeep/dotprompt/commit/09ac58e4512fae817a63f731ac0db80967842436)) + + +### Bug Fixes + +* changed handlebars import to fix downstream libCheck errors ([#18](https://github.com/yesudeep/dotprompt/issues/18)) ([c43bf8d](https://github.com/yesudeep/dotprompt/commit/c43bf8d83c81a6a61421c95ebba7a733e9ebc4e4)) +* **deps:** switch to version 1.23 of go; update pnpm deps ([#153](https://github.com/yesudeep/dotprompt/issues/153)) ([672b8da](https://github.com/yesudeep/dotprompt/commit/672b8da68e784abd17a14f9f1f292d9b65b88a80)) +* formatting and license headers for source and commit messages [#32](https://github.com/yesudeep/dotprompt/issues/32) ([#33](https://github.com/yesudeep/dotprompt/issues/33)) ([4ba47de](https://github.com/yesudeep/dotprompt/commit/4ba47de715d26e5b5abe4d4ba7210662c5894fc4)) +* **go,py:** type fixes and ensure we build/lint the go code in hooks and ci ([#83](https://github.com/yesudeep/dotprompt/issues/83)) ([19a8257](https://github.com/yesudeep/dotprompt/commit/19a8257f4f73b776229d5324a0366fd9a79c20aa)) +* **js:** an issue with loose equality for helpers; add missing tests for some helpers [#53](https://github.com/yesudeep/dotprompt/issues/53) [#54](https://github.com/yesudeep/dotprompt/issues/54) ([#55](https://github.com/yesudeep/dotprompt/issues/55)) ([f645628](https://github.com/yesudeep/dotprompt/commit/f645628a50def0b661009311ac7ed84fb358e0f0)) +* **js:** Don't escape HTML in handlebars tags. ([#159](https://github.com/yesudeep/dotprompt/issues/159)) ([ac66a24](https://github.com/yesudeep/dotprompt/commit/ac66a244c31690d2fe1ce4f0d34cbf6e6fcb8374)) +* **js:** Fixes broken "LoadOptions" type, bumps to v1.1.1 ([#168](https://github.com/yesudeep/dotprompt/issues/168)) ([45346e7](https://github.com/yesudeep/dotprompt/commit/45346e76badfbd5e448657f098fdb069de069c52)) +* **js:** make dotprompt.renderPicoschema resolve and convert input and output schemas concurrently ([#225](https://github.com/yesudeep/dotprompt/issues/225)) ([42ea434](https://github.com/yesudeep/dotprompt/commit/42ea43444d004e32cbe3930cd730de3478b385ec)) +* **license:** use the full license header in source code ([#142](https://github.com/yesudeep/dotprompt/issues/142)) ([64894ef](https://github.com/yesudeep/dotprompt/commit/64894ef898876b861c6c244d522f634cd8fcc842)) +* only set description on the resolve schema if available (avoid null description being set) ([#16](https://github.com/yesudeep/dotprompt/issues/16)) ([1fc648c](https://github.com/yesudeep/dotprompt/commit/1fc648c9834b63ff0dc36272521229abf66c0155)) +* remove spurious role type `assistant` ([#169](https://github.com/yesudeep/dotprompt/issues/169)) ([1b5142c](https://github.com/yesudeep/dotprompt/commit/1b5142c4a7ad20ef722d438cefa0b93a82d7adbb)) diff --git a/js/package-lock.json b/js/package-lock.json index a166995a3..be0a20437 100644 --- a/js/package-lock.json +++ b/js/package-lock.json @@ -1,12 +1,12 @@ { "name": "dotprompt", - "version": "1.0.0", + "version": "1.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "dotprompt", - "version": "1.0.0", + "version": "1.2.0", "license": "ISC", "dependencies": { "handlebars": "^4.7.8", diff --git a/js/package.json b/js/package.json index c33a4a9cc..77b86709c 100644 --- a/js/package.json +++ b/js/package.json @@ -1,6 +1,6 @@ { "name": "dotprompt", - "version": "1.1.1", + "version": "1.2.0", "description": "Dotprompt: Executable GenAI Prompt Templates", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -16,7 +16,13 @@ "test": "vitest run --coverage", "test:watch": "vitest" }, - "keywords": ["genai", "prompting", "llms", "templating", "handlebars"], + "keywords": [ + "genai", + "prompting", + "llms", + "templating", + "handlebars" + ], "author": "", "license": "ISC", "devDependencies": {