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
17 changes: 10 additions & 7 deletions .github/workflows/release-wasm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ jobs:
release-npm:
name: Release NPM
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write # Required for OIDC

steps:
- uses: actions/checkout@v4
Expand All @@ -17,6 +20,11 @@ jobs:
ref: ${{ github.event.pull_request.head.sha || github.ref }}
- uses: dtolnay/rust-toolchain@stable

- uses: actions/setup-node@v4
with:
node-version: '22'
registry-url: 'https://registry.npmjs.org'

- name: Get version tag
id: vars
run: |
Expand All @@ -31,11 +39,6 @@ jobs:
PACKAGE_VERSION: ${{ steps.vars.outputs.tag }}
run: .github/scripts/make_package.sh

- name: Authenticate with NPM
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc

- name: Publish to NPM
run: npm publish
working-directory: ./crates/js/pkg
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm publish --provenance --access public
working-directory: ./crates/js/pkg
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@
# Huff Neo Compiler changelog

## Unreleased

## [1.5.9] - 2025-12-24
- Add support to pass builtin functions to `__VERBATIM`.
- `__VERBATIM` can now wrap builtins that generate PUSH + value, stripping the PUSH opcode.
- Supported: `__FUNC_SIG`, `__EVENT_HASH`, `__BYTES`, `__ERROR`, `__RIGHTPAD`, `__LEFTPAD`.
- Example: `__VERBATIM(__FUNC_SIG("withdraw(uint256)"))` emits raw 4-byte selector without PUSH4.
- EVM version `Osaka` is now the default.
- Update to foundry v1.5.1.

## [1.5.8] - 2025-11-29
- Fix `__RIGHTPAD()` incorrectly padding odd-length hex values.
Expand Down
Loading
Loading