Skip to content

Commit a9560bc

Browse files
authored
Merge branch 'master' into update-solhint-custom-rules
2 parents ac17893 + 2e5d1eb commit a9560bc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+1684
-352
lines changed

.changeset/clear-tools-refuse.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'openzeppelin-solidity': minor
3+
---
4+
5+
`RelayedCall`: Add a library to perform indirect calls through minimal and predictable relayers.

.changeset/sharp-scissors-drum.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'openzeppelin-solidity': minor
3+
---
4+
5+
`LowLevelCall`: Add a library to perform low-level calls and deal with the `returndata` more granularly.

.changeset/shiny-dolphins-lick.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'openzeppelin-solidity': minor
3+
---
4+
5+
`ERC4626`: compute `maxWithdraw` using `maxRedeem` and `previewRedeem` so that changes to the preview functions affect the max functions.

.changeset/silent-zebras-press.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'openzeppelin-solidity': minor
3+
---
4+
5+
`ERC7786Recipient`: Generic ERC-7786 cross-chain message recipient contract.

.changeset/solid-cobras-talk.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'openzeppelin-solidity': minor
3+
---
4+
5+
`Base64`: Add a new `decode` function that parses base64 encoded strings.

.changeset/three-parents-argue.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'openzeppelin-solidity': patch
3+
---
4+
5+
`ReentrancyGuard`, `ReentrancyGuardTransient`: Add an internal `_reentrancyGuardStorageSlot` function allowing slot customization via override.

.github/actions/setup/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Common environment setup
44
runs:
55
using: composite
66
steps:
7-
- uses: actions/setup-node@v4
7+
- uses: actions/setup-node@v5
88
with:
99
node-version: 22.x
1010
- uses: actions/cache@v4

.github/workflows/formal-verification.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
fi
4545
echo "result=$RESULT" >> "$GITHUB_OUTPUT"
4646
- name: Install python
47-
uses: actions/setup-python@v5
47+
uses: actions/setup-python@v6
4848
with:
4949
python-version: ${{ env.PIP_VERSION }}
5050
cache: 'pip'
@@ -75,7 +75,7 @@ jobs:
7575
- name: Set up environment
7676
uses: ./.github/actions/setup
7777
- name: Install python
78-
uses: actions/setup-python@v5
78+
uses: actions/setup-python@v6
7979
with:
8080
python-version: ${{ env.PIP_VERSION }}
8181
cache: 'pip'

.github/workflows/release-cycle.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
uses: ./.github/actions/setup
3333
- id: state
3434
name: Get state
35-
uses: actions/github-script@v7
35+
uses: actions/github-script@v8
3636
env:
3737
TRIGGERING_ACTOR: ${{ github.triggering_actor }}
3838
with:
@@ -66,7 +66,7 @@ jobs:
6666
name: Create branch with release candidate
6767
run: bash scripts/release/workflow/start.sh
6868
- name: Re-run workflow
69-
uses: actions/github-script@v7
69+
uses: actions/github-script@v8
7070
env:
7171
REF: ${{ steps.start.outputs.branch }}
7272
with:
@@ -89,7 +89,7 @@ jobs:
8989
if: needs.state.outputs.is_prerelease == 'true'
9090
run: bash scripts/release/workflow/exit-prerelease.sh
9191
- name: Re-run workflow
92-
uses: actions/github-script@v7
92+
uses: actions/github-script@v8
9393
with:
9494
script: await require('./scripts/release/workflow/rerun.js')({ github, context })
9595

@@ -108,7 +108,7 @@ jobs:
108108
- name: Set up environment
109109
uses: ./.github/actions/setup
110110
- name: Set release title
111-
uses: actions/github-script@v7
111+
uses: actions/github-script@v8
112112
with:
113113
result-encoding: string
114114
script: await require('./scripts/release/workflow/set-changesets-pr-title.js')({ core })
@@ -156,7 +156,7 @@ jobs:
156156
TAG: ${{ steps.pack.outputs.tag }}
157157
NPM_CONFIG_PROVENANCE: true
158158
- name: Create Github Release
159-
uses: actions/github-script@v7
159+
uses: actions/github-script@v8
160160
env:
161161
PRERELEASE: ${{ needs.state.outputs.is_prerelease }}
162162
with:
@@ -202,7 +202,7 @@ jobs:
202202
git checkout -B "$MERGE_BRANCH" "$GITHUB_REF_NAME"
203203
git push -f origin "$MERGE_BRANCH"
204204
- name: Create PR back to master
205-
uses: actions/github-script@v7
205+
uses: actions/github-script@v8
206206
with:
207207
script: |
208208
await github.rest.pulls.create({

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@
66

77
### Breaking changes
88

9+
- `SignerERC7702` is renamed as `SignerEIP7702`. Imports and inheritance must be updated to that new name and path. Behavior is unmodified.
910
- Update minimum pragma to 0.8.24 in `Votes`, `VotesExtended`, `ERC20Votes`, `Strings`, `ERC1155URIStorage`, `MessageHashUtils`, `ERC721URIStorage`, `ERC721Votes`, `ERC721Wrapper`, `ERC721Burnable`, `ERC721Consecutive`, `ERC721Enumerable`, `ERC721Pausable`, `ERC721Royalty`, `ERC721Wrapper`, `EIP712`, and `ERC7739`. ([#5726](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/5726))
1011

1112
### Deprecation
1213

14+
- `Initializable` and `UUPSUpgradeable` are no longer transpiled. An alias is present in the `@openzeppelin/contracts-upgradeable` package that redirect to the corresponding file in `@openzeppelin/contracts`. These alias will be removed in the next major release. Developers are advised to update their imports to get these files directly from the `@openzeppelin/contracts` package.
1315
- `ECDSA` signature malleability protection is partly deprecated. See documentation for more details.
1416

1517
## 5.4.0 (2025-07-17)

0 commit comments

Comments
 (0)