Skip to content

docs: use exact version tags instead of the moving v1 tag - #116

Merged
fengmk2 merged 4 commits into
mainfrom
docs/deprecate-v1-tag
Aug 4, 2026
Merged

docs: use exact version tags instead of the moving v1 tag#116
fengmk2 merged 4 commits into
mainfrom
docs/deprecate-v1-tag

Conversation

@fengmk2

@fengmk2 fengmk2 commented Aug 4, 2026

Copy link
Copy Markdown
Member

The v1 major tag is frozen at v1.15.0: the voidzero-dev org-level tag ruleset blocks non-fast-forward tag updates, so it can no longer be moved on each release. This PR restructures the docs around exact version pinning.

  • New Versioning section: pin an exact release tag (or commit SHA), with a warning that v1 is frozen at v1.15.0 and should not be used
  • All GitHub, GitLab, and Azure examples now pin v1.16.0
  • GitLab examples pin setup-ref to the same tag as the remote URL, so the compiled runtime matches the included template; the separate pinned-runtime section is folded into basic usage
  • package.json version now tracks the latest release (bumped to 1.16.0); it was pinned at 1.0.0 when releases only moved tags
  • Release steps updated: a PR bumps package.json and the README tags before tagging, no v1 move

Follow-up in #117 (stacked on this PR): the GitLab setup-ref and Azure setupRef template defaults still fall back to the frozen v1, so an unpinned include silently gets the v1.15.0 runtime.

fengmk2 added 2 commits August 4, 2026 11:54
The v1 major tag is frozen at v1.15.0: the voidzero-dev org-level tag
ruleset blocks non-fast-forward tag updates, so it can no longer be
moved on each release.

- Add a Versioning section telling users to pin an exact release tag
  (or commit SHA) and warning that v1 is frozen and should not be used
- Pin all GitHub, GitLab, and Azure examples to v1.16.0
- Pin setup-ref in the GitLab examples to match the remote URL and
  drop the now-redundant pinned-runtime section
- Rewrite the release steps: bump the README tags, no v1 move
The release PR now bumps both the package.json version and the README
version tags before the tag is cut.
@fengmk2
fengmk2 marked this pull request as ready for review August 4, 2026 04:07
Copilot AI review requested due to automatic review settings August 4, 2026 04:07
@fengmk2 fengmk2 self-assigned this Aug 4, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the repository documentation to discourage using the frozen v1 moving tag and instead pin consumers to exact immutable release tags (or SHAs), aligning GitHub Actions / GitLab / Azure usage examples with the current release practices.

Changes:

  • Added a new Versioning section explaining exact tag/SHA pinning and warning that v1 is frozen at v1.15.0.
  • Updated GitHub/GitLab/Azure examples to pin v1.16.0 and aligned GitLab setup-ref / Azure setupRef guidance with the chosen tag.
  • Bumped package.json version to 1.16.0 and updated the release process docs to reflect “bump versions via PR before tagging”.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
README.md Adds versioning guidance and updates all usage + release documentation to use exact tags rather than v1.
package.json Updates the project version to track the latest release (1.16.0).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md Outdated
@fengmk2

This comment was marked as resolved.

@chatgpt-codex-connector

This comment was marked as resolved.

Copilot AI review requested due to automatic review settings August 4, 2026 04:19

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

Suppressed comments (1)

README.md:637

  • The release checklist says to confirm only dist/index.mjs is in sync, but just above it the README states that multiple generated entrypoints under dist/ must be committed (dist/index.mjs, dist/gitlab/index.mjs, dist/azure/index.mjs). This mismatch could lead to cutting a release with stale GitLab/Azure runtimes.
2. Update `main` and confirm `dist/index.mjs` is in sync (the working tree must stay clean after building):

Copilot AI review requested due to automatic review settings August 4, 2026 04:21

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

Suppressed comments (1)

README.md:637

  • The release checklist says to confirm only dist/index.mjs is in sync, but the build also produces the GitLab and Azure runtimes under dist/ (see the “Before Committing” section just above). Calling out only dist/index.mjs is misleading for release verification; consider referring to dist/ outputs (or listing the three entry points) instead.
2. Update `main` and confirm `dist/index.mjs` is in sync (the working tree must stay clean after building):

@fengmk2
fengmk2 merged commit 54c5138 into main Aug 4, 2026
43 checks passed
@fengmk2
fengmk2 deleted the docs/deprecate-v1-tag branch August 4, 2026 05:32
fengmk2 added a commit that referenced this pull request Aug 4, 2026
Follow-up to #116 (now merged).

An unpinned `setup-ref` (GitLab) or `setupRef` (Azure) downloaded the
compiled runtime from the moving `v1` tag, which is now frozen at
v1.15.0, so unpinned includes silently ran a stale v1.15.0 runtime.

- Default `setup-ref` / `setupRef` (input default and bash env fallback)
to `v1.16.0`, the latest release
- Update the README input tables and the release checklist: the release
PR now also bumps these defaults, so from v1.17.0 on the shipped
template downloads the runtime of its own release
- Update the `src/azure/template.test.ts` assertion

The README examples keep the explicit `setup-ref` pin, which is still
the recommended setup and the only correct one for v1.16.0 itself (its
shipped template default is the frozen `v1`).
@fengmk2 fengmk2 mentioned this pull request Aug 4, 2026
fengmk2 added a commit that referenced this pull request Aug 4, 2026
Bump the version to v1.16.1 in package.json, the README examples, and
the setup-ref / setupRef defaults in the GitLab and Azure templates.

Changes since v1.16.0:

- fix: stop defaulting setup-ref/setupRef to the frozen v1 tag (#117)
- docs: use exact version tags instead of the moving v1 tag (#116)

After merge, tag the merge commit as v1.16.1 and push the tag.

---------

Signed-off-by: MK (fengmk2) <fengmk2@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants