From 78d7b34b07b1b3889c63e497fa45b0ca5515db2d Mon Sep 17 00:00:00 2001 From: halvardssm Date: Sun, 4 Oct 2026 11:15:19 +0000 Subject: [PATCH 1/4] chore: update versions --- Releases.md | 88 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) diff --git a/Releases.md b/Releases.md index 9ae9056..a909929 100644 --- a/Releases.md +++ b/Releases.md @@ -90,6 +90,94 @@ #### @stdext/assert 0.1.1 (patch) +- fix(assert): Added message as option argument to asserts, and added object + asserts + +#### @stdext/cli 0.0.1 (patch) + +- feat(cli): added further options to command +- feat(cli): added command +- feat(cli): Added cli module with parseArgs + +#### @stdext/collections 0.0.6 (patch) + +- feat(collections)!: fix DeferredStack release, add clear and abortable pop +- feat(collections): add deferred stack +- fix(collections): added release and remove callbacks + +#### @stdext/crypto 0.2.0 (minor) + +- feat(crypto)!: add HMAC and SCRAM, align module interfaces +- fix(crypto): password verification +- fix(crypto): Fixed errors due to changes in deno types +- chore(crypto): change ts-ignore to ts-expect-error + +#### @stdext/database 0.0.1 (patch) + +- feat(database): added docs and examples +- feat(database)!: refactored code +- feat(database)!: refactored spec +- feat(database)!: align the Postgres driver with the spec +- feat(database)!: align the SQLite driver with the spec +- feat(database)!: align the SQL spec and core with runtime APIs +- feat(database): add Postgres driver +- feat(database)!: add core driver classes, extend conformance suite, rewrite + SQLite driver +- fix(database): implemented validation +- docs(database): document the drivers and the runtime aligned API +- docs(database): adjusted RFC according to discussion +- docs(database): Moved the RFC +- chore(database): removed postgres driver and cleaned up tests + +#### @stdext/encoding 0.1.1 (patch) + +- feat(encoding): add binary reader and writer + +#### @stdext/event 0.1.0 (minor) + +- feat(event): added docs and tests + +#### @stdext/ffi 0.0.1 (patch) + +- feat(ffi): added docs and tests + +#### @stdext/fs 0.0.1 (patch) + +- feat(fs): added docs and tests + +#### @stdext/json 0.1.1 (patch) + +- feat(json): Added JSON Schema +- fix(json): Added exports and format types +- chore(json): fix lint + +#### @stdext/types 0.1.1 (patch) + +- feat(types): added new constructor type helper and added examples to existing + type helpers +- feat(types): added type and improved documentation + +#### @stdext/validation 0.1.1 (minor) + +- feat(validation): added more helpers +- feat(validation): refactor validation +- feat(validation): added fluent validation api +- feat(validation): Added tests and jsdoc - thanks AI +- feat(validation): Implemented a basic validator implementing StandardSchemaV1, + StandardJSONSchemaV1 and JSONSchema +- feat(validation): added validation namespace, and standard compliant validator +- fix(validation): Improved docs and tests +- chore(validation): Added jsdoc and improved readme - thanks AI + +#### @stdext/zip 0.0.1 (patch) + +- feat(zip): add zip and unzip for archives and directories +- fix(zip): replace with std + +### 2026.10.04 + +#### @stdext/assert 0.1.1 (patch) + - fix(assert): Added message as option argument to asserts, and added object asserts From 60f10c7919a8fb435802abe3b0557f8a8f3cc982 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halvard=20M=C3=B8rstad?= Date: Sun, 4 Oct 2026 13:24:20 +0200 Subject: [PATCH 2/4] cleaned up release --- Releases.md | 181 ---------------------------------------------------- 1 file changed, 181 deletions(-) diff --git a/Releases.md b/Releases.md index a909929..173dcd3 100644 --- a/Releases.md +++ b/Releases.md @@ -1,186 +1,5 @@ ### 2026.10.04 -#### @stdext/assert 0.1.1 (patch) - -- fix(assert): Added message as option argument to asserts, and added object - asserts - -#### @stdext/cli 0.0.1 (patch) - -- feat(cli): added further options to command -- feat(cli): added command -- feat(cli): Added cli module with parseArgs - -#### @stdext/collections 0.0.6 (patch) - -- feat(collections)!: fix DeferredStack release, add clear and abortable pop -- feat(collections): add deferred stack -- fix(collections): added release and remove callbacks - -#### @stdext/crypto 0.2.0 (minor) - -- feat(crypto)!: add HMAC and SCRAM, align module interfaces -- fix(crypto): password verification -- fix(crypto): Fixed errors due to changes in deno types -- chore(crypto): change ts-ignore to ts-expect-error - -#### @stdext/database 0.0.1 (patch) - -- feat(database): added docs and examples -- feat(database)!: refactored code -- feat(database)!: refactored spec -- feat(database)!: align the Postgres driver with the spec -- feat(database)!: align the SQLite driver with the spec -- feat(database)!: align the SQL spec and core with runtime APIs -- feat(database): add Postgres driver -- feat(database)!: add core driver classes, extend conformance suite, rewrite - SQLite driver -- fix(database): implemented validation -- docs(database): document the drivers and the runtime aligned API -- docs(database): adjusted RFC according to discussion -- docs(database): Moved the RFC -- chore(database): removed postgres driver and cleaned up tests - -#### @stdext/encoding 0.1.1 (patch) - -- feat(encoding): add binary reader and writer - -#### @stdext/event 0.1.0 (minor) - -- feat(event): added docs and tests - -#### @stdext/ffi 0.0.1 (patch) - -- feat(ffi): added docs and tests - -#### @stdext/fs 0.0.1 (patch) - -- feat(fs): added docs and tests - -#### @stdext/json 0.1.1 (patch) - -- feat(json): Added JSON Schema -- fix(json): Added exports and format types -- chore(json): fix lint - -#### @stdext/types 0.1.1 (patch) - -- feat(types): added new constructor type helper and added examples to existing - type helpers -- feat(types): added type and improved documentation - -#### @stdext/validation 0.1.1 (minor) - -- feat(validation): added more helpers -- feat(validation): refactor validation -- feat(validation): added fluent validation api -- feat(validation): Added tests and jsdoc - thanks AI -- feat(validation): Implemented a basic validator implementing StandardSchemaV1, - StandardJSONSchemaV1 and JSONSchema -- feat(validation): added validation namespace, and standard compliant validator -- fix(validation): Improved docs and tests -- chore(validation): Added jsdoc and improved readme - thanks AI - -#### @stdext/zip 0.0.1 (patch) - -- feat(zip): add zip and unzip for archives and directories -- fix(zip): replace with std - -### 2026.10.04 - -#### @stdext/assert 0.1.1 (patch) - -- fix(assert): Added message as option argument to asserts, and added object - asserts - -#### @stdext/cli 0.0.1 (patch) - -- feat(cli): added further options to command -- feat(cli): added command -- feat(cli): Added cli module with parseArgs - -#### @stdext/collections 0.0.6 (patch) - -- feat(collections)!: fix DeferredStack release, add clear and abortable pop -- feat(collections): add deferred stack -- fix(collections): added release and remove callbacks - -#### @stdext/crypto 0.2.0 (minor) - -- feat(crypto)!: add HMAC and SCRAM, align module interfaces -- fix(crypto): password verification -- fix(crypto): Fixed errors due to changes in deno types -- chore(crypto): change ts-ignore to ts-expect-error - -#### @stdext/database 0.0.1 (patch) - -- feat(database): added docs and examples -- feat(database)!: refactored code -- feat(database)!: refactored spec -- feat(database)!: align the Postgres driver with the spec -- feat(database)!: align the SQLite driver with the spec -- feat(database)!: align the SQL spec and core with runtime APIs -- feat(database): add Postgres driver -- feat(database)!: add core driver classes, extend conformance suite, rewrite - SQLite driver -- fix(database): implemented validation -- docs(database): document the drivers and the runtime aligned API -- docs(database): adjusted RFC according to discussion -- docs(database): Moved the RFC -- chore(database): removed postgres driver and cleaned up tests - -#### @stdext/encoding 0.1.1 (patch) - -- feat(encoding): add binary reader and writer - -#### @stdext/event 0.1.0 (minor) - -- feat(event): added docs and tests - -#### @stdext/ffi 0.0.1 (patch) - -- feat(ffi): added docs and tests - -#### @stdext/fs 0.0.1 (patch) - -- feat(fs): added docs and tests - -#### @stdext/json 0.1.1 (patch) - -- feat(json): Added JSON Schema -- fix(json): Added exports and format types -- chore(json): fix lint - -#### @stdext/types 0.1.1 (patch) - -- feat(types): added new constructor type helper and added examples to existing - type helpers -- feat(types): added type and improved documentation - -#### @stdext/validation 0.1.1 (minor) - -- feat(validation): added more helpers -- feat(validation): refactor validation -- feat(validation): added fluent validation api -- feat(validation): Added tests and jsdoc - thanks AI -- feat(validation): Implemented a basic validator implementing StandardSchemaV1, - StandardJSONSchemaV1 and JSONSchema -- feat(validation): added validation namespace, and standard compliant validator -- fix(validation): Improved docs and tests -- chore(validation): Added jsdoc and improved readme - thanks AI - -#### @stdext/zip 0.0.1 (patch) - -- feat(zip): add zip and unzip for archives and directories -- fix(zip): replace with std - -### 2026.10.04 - -#### @stdext/assert 0.1.1 (patch) - -- fix(assert): Added message as option argument to asserts, and added object - asserts - #### @stdext/collections 0.0.6 (patch) - feat(collections)!: fix DeferredStack release, add clear and abortable pop From 795574ae92d589438111cd7197539b845b2e79d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halvard=20M=C3=B8rstad?= Date: Sun, 4 Oct 2026 13:27:57 +0200 Subject: [PATCH 3/4] Fixed release file --- Releases.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Releases.md b/Releases.md index 173dcd3..7d4f4ae 100644 --- a/Releases.md +++ b/Releases.md @@ -1,5 +1,18 @@ ### 2026.10.04 +#### @stdext/cli 0.0.1 (patch) + +- feat(cli): added further options to command +- feat(cli): added command +- feat(cli): Added cli module with parseArgs + +#### @stdext/zip 0.0.1 (patch) + +- feat(zip): add zip and unzip for archives and directories +- fix(zip): replace with std + +### 2026.10.04 + #### @stdext/collections 0.0.6 (patch) - feat(collections)!: fix DeferredStack release, add clear and abortable pop From 34ea09c649f6c3f7497c2b8f533c9525d55092c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halvard=20M=C3=B8rstad?= Date: Sun, 4 Oct 2026 13:37:58 +0200 Subject: [PATCH 4/4] fixed versions --- .github/workflows/version_bump.yml | 37 +++++++++++++++++++------ .github/workflows/workspace_publish.yml | 2 +- Releases.md | 31 +++++++++++---------- cli/deno.json | 2 +- collections/deno.json | 2 +- database/deno.json | 2 +- event/deno.json | 2 +- ffi/deno.json | 2 +- fs/deno.json | 2 +- validation/deno.json | 2 +- zip/deno.json | 2 +- 11 files changed, 55 insertions(+), 31 deletions(-) diff --git a/.github/workflows/version_bump.yml b/.github/workflows/version_bump.yml index 5ad24fb..b045d7f 100644 --- a/.github/workflows/version_bump.yml +++ b/.github/workflows/version_bump.yml @@ -1,11 +1,8 @@ name: version_bump - permissions: contents: write pull-requests: write - on: workflow_dispatch - jobs: build: name: version bump @@ -19,13 +16,37 @@ jobs: - name: Set up Deno uses: denoland/setup-deno@v2 with: - deno-version: canary + cache: true + + - name: Determine release branch + id: branch + run: echo "name=release-$(date -u +%Y-%m-%d-%H-%M-%S)" >> "$GITHUB_OUTPUT" - name: Run version bump run: | git fetch --unshallow origin - deno run -A jsr:@deno/bump-workspaces@^0.1/cli + deno bump-version + # `deno bump-version` writes release notes as single long lines; + # format them so the release PR passes `deno fmt --check`. + deno fmt Releases.md + + - name: Commit and open release PR env: - GITHUB_TOKEN: ${{ secrets.CI_TOKEN }} - GIT_USER_NAME: ${{ github.actor }} - GIT_USER_EMAIL: ${{ github.actor}}@users.noreply.github.com + GH_TOKEN: ${{ secrets.CI_TOKEN }} + BRANCH: ${{ steps.branch.outputs.name }} + run: | + if git diff --quiet; then + echo "No version bumps detected; nothing to do." + exit 0 + fi + git config user.name "${{ github.actor }}" + git config user.email "${{ github.actor }}@users.noreply.github.com" + git checkout -b "$BRANCH" + git add . + git commit -m "chore: update versions" + git push origin "$BRANCH" + gh pr create \ + --base main \ + --head "$BRANCH" \ + --title "chore: release $(date -u +%Y.%m.%d)" \ + --body "Automated release PR generated by \`deno bump-version\`. Review the version bumps and \`Releases.md\` before merging." diff --git a/.github/workflows/workspace_publish.yml b/.github/workflows/workspace_publish.yml index 7e4215e..6cce706 100644 --- a/.github/workflows/workspace_publish.yml +++ b/.github/workflows/workspace_publish.yml @@ -16,7 +16,7 @@ jobs: steps: - name: Clone repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 # Installs deno and rust from mise.toml. - name: Set up mise diff --git a/Releases.md b/Releases.md index 7d4f4ae..5e73847 100644 --- a/Releases.md +++ b/Releases.md @@ -1,19 +1,17 @@ ### 2026.10.04 -#### @stdext/cli 0.0.1 (patch) +#### @stdext/assert 0.1.1 (patch) + +- fix(assert): Added message as option argument to asserts, and added object + asserts + +#### @stdext/cli 0.0.2 (patch) - feat(cli): added further options to command - feat(cli): added command - feat(cli): Added cli module with parseArgs -#### @stdext/zip 0.0.1 (patch) - -- feat(zip): add zip and unzip for archives and directories -- fix(zip): replace with std - -### 2026.10.04 - -#### @stdext/collections 0.0.6 (patch) +#### @stdext/collections 0.1.0 (minor) - feat(collections)!: fix DeferredStack release, add clear and abortable pop - feat(collections): add deferred stack @@ -26,7 +24,7 @@ - fix(crypto): Fixed errors due to changes in deno types - chore(crypto): change ts-ignore to ts-expect-error -#### @stdext/database 0.0.1 (patch) +#### @stdext/database 0.1.0 (minor) - feat(database): added docs and examples - feat(database)!: refactored code @@ -47,15 +45,15 @@ - feat(encoding): add binary reader and writer -#### @stdext/event 0.1.0 (minor) +#### @stdext/event 0.1.1 (patch) - feat(event): added docs and tests -#### @stdext/ffi 0.0.1 (patch) +#### @stdext/ffi 0.0.2 (patch) - feat(ffi): added docs and tests -#### @stdext/fs 0.0.1 (patch) +#### @stdext/fs 0.0.2 (patch) - feat(fs): added docs and tests @@ -71,7 +69,7 @@ type helpers - feat(types): added type and improved documentation -#### @stdext/validation 0.1.1 (minor) +#### @stdext/validation 0.1.2 (patch) - feat(validation): added more helpers - feat(validation): refactor validation @@ -83,6 +81,11 @@ - fix(validation): Improved docs and tests - chore(validation): Added jsdoc and improved readme - thanks AI +#### @stdext/zip 0.0.2 (patch) + +- feat(zip): add zip and unzip for archives and directories +- fix(zip): replace with std + ### 2026.10.03 #### @stdext/assert 0.1.1 (patch) diff --git a/cli/deno.json b/cli/deno.json index 09b42be..f314bc4 100644 --- a/cli/deno.json +++ b/cli/deno.json @@ -1,5 +1,5 @@ { - "version": "0.0.1", + "version": "0.0.2", "name": "@stdext/cli", "exports": { ".": "./mod.ts", diff --git a/collections/deno.json b/collections/deno.json index 56cffd2..6600e61 100644 --- a/collections/deno.json +++ b/collections/deno.json @@ -1,5 +1,5 @@ { - "version": "0.0.6", + "version": "0.1.0", "name": "@stdext/collections", "exports": { ".": "./mod.ts", diff --git a/database/deno.json b/database/deno.json index 574b41a..2606e9b 100644 --- a/database/deno.json +++ b/database/deno.json @@ -1,5 +1,5 @@ { - "version": "0.0.1", + "version": "0.1.0", "name": "@stdext/database", "exports": { "./sql": "./sql/mod.ts", diff --git a/event/deno.json b/event/deno.json index be8ee89..ba95da5 100644 --- a/event/deno.json +++ b/event/deno.json @@ -1,5 +1,5 @@ { - "version": "0.1.0", + "version": "0.1.1", "name": "@stdext/event", "exports": { ".": "./mod.ts" diff --git a/ffi/deno.json b/ffi/deno.json index 4408465..7cca918 100644 --- a/ffi/deno.json +++ b/ffi/deno.json @@ -1,5 +1,5 @@ { - "version": "0.0.1", + "version": "0.0.2", "name": "@stdext/ffi", "exports": { ".": "./mod.ts", diff --git a/fs/deno.json b/fs/deno.json index 054b8ca..a1db87f 100644 --- a/fs/deno.json +++ b/fs/deno.json @@ -1,5 +1,5 @@ { - "version": "0.0.1", + "version": "0.0.2", "name": "@stdext/fs", "exports": { ".": "./mod.ts", diff --git a/validation/deno.json b/validation/deno.json index d95d09e..cfede84 100644 --- a/validation/deno.json +++ b/validation/deno.json @@ -1,5 +1,5 @@ { - "version": "0.1.1", + "version": "0.1.2", "name": "@stdext/validation", "exports": { ".": "./mod.ts" diff --git a/zip/deno.json b/zip/deno.json index 8311544..d3c7afa 100644 --- a/zip/deno.json +++ b/zip/deno.json @@ -1,5 +1,5 @@ { - "version": "0.0.1", + "version": "0.0.2", "name": "@stdext/zip", "exports": { ".": "./mod.ts",