Skip to content

Version 0.16.0 beta.1 - #162

Merged
cknitt merged 4 commits into
masterfrom
version-0.16.0-beta.1
Jul 31, 2026
Merged

Version 0.16.0 beta.1#162
cknitt merged 4 commits into
masterfrom
version-0.16.0-beta.1

Conversation

@cknitt

@cknitt cknitt commented Jul 31, 2026

Copy link
Copy Markdown
Member

No description provided.

@cknitt
cknitt requested review from fhammerschmidt and tsnobip and removed request for fhammerschmidt July 31, 2026 09:46
@pkg-pr-new

pkg-pr-new Bot commented Jul 31, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@rescript/react@162

commit: b8adf22

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 83b15df71b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package.json
{
"name": "@rescript/react",
"version": "0.16.0",
"version": "0.16.0-beta.1",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Allow prerelease tags for the beta package

When releasing this version with the matching v0.16.0-beta.1 tag, the Configure release step in .github/workflows/publish.yml rejects it because line 63 accepts only vX.X.X; conversely, a permitted v0.16.0 tag then fails the package-version equality check on line 69. Consequently, no release tag can publish this beta through the repository's npm workflow, so the tag validation needs to support prerelease suffixes.

Useful? React with 👍 / 👎.

@tsnobip tsnobip left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

except from the potential prerelease tag issue, it looks good to me

@cknitt
cknitt force-pushed the version-0.16.0-beta.1 branch from 48cb716 to 9fcb2b7 Compare July 31, 2026 12:11
@cknitt

cknitt commented Jul 31, 2026

Copy link
Copy Markdown
Member Author

@codex review

fhammerschmidt
fhammerschmidt previously approved these changes Jul 31, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9fcb2b7d23

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

if [[ ! "$GITHUB_REF_NAME" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo "::error::Release tags must match vX.X.X, got $GITHUB_REF_NAME."
if [[ ! "$GITHUB_REF_NAME" =~ ^v[0-9]+\.[0-9]+\.[0-9]+(-[0-9A-Za-z-]+(\.[0-9A-Za-z-]+)*)?$ ]]; then

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Keep prereleases off the latest dist-tag

When a tag such as v0.16.0-beta.1 passes this newly widened check, the publish step runs npm publish without --tag; the npm publish documentation specifies that the tag defaults to latest and is added to the submitted package. Publishing this beta would therefore replace @rescript/react's latest version, causing ordinary unversioned installs to receive a prerelease that requires an alpha ReScript runtime; select an explicit non-latest dist-tag whenever PACKAGE_VERSION is a prerelease.

Useful? React with 👍 / 👎.

@cknitt

cknitt commented Jul 31, 2026

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. What shall we delve into next?

Reviewed commit: b8adf221cf

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@cknitt
cknitt merged commit bb34644 into master Jul 31, 2026
4 checks passed
@cknitt
cknitt deleted the version-0.16.0-beta.1 branch July 31, 2026 12:29
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.

3 participants