Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,8 @@ jobs:
pkg-pr-new:
needs:
- build-compiler
outputs:
commit_sha: ${{ steps.publish.outputs.sha }}
runs-on: ubuntu-24.04-arm
steps:
- name: Checkout
Expand All @@ -457,6 +459,7 @@ jobs:
git diff --exit-code packages/artifacts.json

- name: Publish packages to pkg.pr.new
id: publish
run: |
yarn dlx pkg-pr-new publish "." "./packages/@rescript/*"

Expand Down Expand Up @@ -558,9 +561,9 @@ jobs:

- name: Install ReScript package
run: |
COMMIT_SHA="${{ github.event.pull_request.head.sha || github.sha }}"
COMMIT_SHA="${{ needs.pkg-pr-new.outputs.commit_sha }}"
npm i --no-audit \
"https://pkg.pr.new/rescript-lang/rescript@${COMMIT_SHA::7}"
"https://pkg.pr.new/rescript-lang/rescript@${COMMIT_SHA}"
shell: bash
working-directory: ${{ steps.tmp-dir.outputs.path }}

Expand Down Expand Up @@ -612,8 +615,8 @@ jobs:

- name: Install ReScript package
run: |
COMMIT_SHA="${{ github.event.pull_request.head.sha || github.sha }}"
pnpm i "https://pkg.pr.new/rescript-lang/rescript@${COMMIT_SHA::7}"
COMMIT_SHA="${{ needs.pkg-pr-new.outputs.commit_sha }}"
pnpm i "https://pkg.pr.new/rescript-lang/rescript@${COMMIT_SHA}"
shell: bash
working-directory: ${{ steps.tmp-dir.outputs.path }}

Expand Down Expand Up @@ -647,8 +650,8 @@ jobs:

- name: Install ReScript package in rewatch/testrepo
run: |
COMMIT_SHA="${{ github.event.pull_request.head.sha || github.sha }}"
yarn add "rescript@https://pkg.pr.new/rescript-lang/rescript@${COMMIT_SHA::7}"
COMMIT_SHA="${{ needs.pkg-pr-new.outputs.commit_sha }}"
yarn add "rescript@https://pkg.pr.new/rescript-lang/rescript@${COMMIT_SHA}"
shell: bash
working-directory: rewatch/testrepo

Expand Down
12 changes: 2 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,20 @@
> - :nail_care: [Polish]
> - :house: [Internal]

# 13.0.0-alpha.2 (Unreleased)

#### :boom: Breaking Change

#### :eyeglasses: Spec Compliance

#### :rocket: New Feature
# 13.0.0-alpha.2

#### :bug: Bug fix

- Fix compiler crash (`Fatal error: Parmatch.all_record_args`) when matching empty dict/record patterns. https://github.com/rescript-lang/rescript/pull/8246
- Fix `null` falling into the object branch instead of the wildcard when pattern matching on untagged variants with both `Object` and `null` cases. https://github.com/rescript-lang/rescript/pull/8253

#### :memo: Documentation

#### :nail_care: Polish

- Build system: Watch only source folders from build state instead of the entire project directory, and report missing configured source folders. https://github.com/rescript-lang/rescript/pull/8219

#### :house: Internal

- speed up dev container test by installing ocaml in docker image instead of in `postCreate.sh`. https://github.com/rescript-lang/rescript/pull/8230
- Speed up dev container test by installing OCaml in docker image instead of in `postCreate.sh`. https://github.com/rescript-lang/rescript/pull/8230

# 13.0.0-alpha.1

Expand Down
Loading