Skip to content

Commit c51fc81

Browse files
immrsdericglauPatrick-Ehimen
authored
Combined Cairo Alpha changes (#494)
Co-authored-by: Eric Lau <[email protected]> Co-authored-by: 0xOse <[email protected]>
1 parent 8fb2ed4 commit c51fc81

File tree

98 files changed

+18148
-15
lines changed

Some content is hidden

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

98 files changed

+18148
-15
lines changed

packages/core/cairo_alpha/.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/cache
2+
/artifacts
3+
/contracts/generated
4+
/openzeppelin-contracts.json
Lines changed: 172 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,172 @@
1+
# Changelog
2+
3+
## Unreleased
4+
5+
- **Breaking changes**:
6+
- Use OpenZeppelin Contracts for Cairo v2.0.0-alpha.0. ([#491](https://github.com/OpenZeppelin/contracts-wizard/pull/491))
7+
8+
## 1.0.0 (2025-02-25)
9+
10+
- **Breaking changes**:
11+
- Use OpenZeppelin Contracts for Cairo v1.0.0. ([#458](https://github.com/OpenZeppelin/contracts-wizard/pull/458))
12+
13+
## 0.21.1 (2025-01-23)
14+
15+
- Update to use TypeScript v5. ([#231](https://github.com/OpenZeppelin/contracts-wizard/pull/231))
16+
- Remove unused dependencies. ([#430](https://github.com/OpenZeppelin/contracts-wizard/pull/430))
17+
18+
## 0.21.0 (2025-01-13)
19+
20+
- Add Vesting tab. ([#425](https://github.com/OpenZeppelin/contracts-wizard/pull/425))
21+
22+
- **Breaking changes**:
23+
- Remove `isAccessControlRequired` from `governor` and `vesting`. ([#426](https://github.com/OpenZeppelin/contracts-wizard/pull/426))
24+
- Update Contracts Wizard license to AGPLv3. ([#424](https://github.com/OpenZeppelin/contracts-wizard/pull/424))
25+
26+
## 0.20.1 (2024-12-17)
27+
28+
- Add OutsideExecution to accounts. ([#422](https://github.com/OpenZeppelin/contracts-wizard/pull/422))
29+
30+
## 0.20.0 (2024-12-10)
31+
32+
- Add Governor tab. ([#417](https://github.com/OpenZeppelin/contracts-wizard/pull/417))
33+
34+
- **Breaking changes**:
35+
- Use OpenZeppelin Contracts for Cairo v0.20.0. ([#419](https://github.com/OpenZeppelin/contracts-wizard/pull/419))
36+
37+
## 0.19.0 (2024-11-27)
38+
39+
- Add ERC2981 (RoyaltyInfo) for ERC721 and ERC1155. ([#413](https://github.com/OpenZeppelin/contracts-wizard/pull/413))
40+
41+
## 0.18.0 (2024-11-15)
42+
43+
- **Breaking changes**:
44+
- Use OpenZeppelin Contracts for Cairo v0.19.0. ([#405](https://github.com/OpenZeppelin/contracts-wizard/pull/405))
45+
46+
## 0.17.0 (2024-10-22)
47+
48+
- Add ERC721 votes. ([#399](https://github.com/OpenZeppelin/contracts-wizard/pull/399))
49+
50+
- **Breaking changes**:
51+
- Use OpenZeppelin Contracts for Cairo v0.18.0. ([#399](https://github.com/OpenZeppelin/contracts-wizard/pull/399))
52+
- Use `VotesComponent` for ERC20 votes.
53+
54+
## 0.16.0 (2024-09-26)
55+
56+
- Add ERC721Enumerable. ([#391](https://github.com/OpenZeppelin/contracts-wizard/pull/391))
57+
58+
- **Breaking changes**:
59+
- Use OpenZeppelin Contracts for Cairo v0.17.0. ([#396](https://github.com/OpenZeppelin/contracts-wizard/pull/396))
60+
61+
## 0.15.0 (2024-09-19)
62+
63+
- Add Account and EthAccount. ([#387](https://github.com/OpenZeppelin/contracts-wizard/pull/387))
64+
65+
- **Breaking changes**:
66+
- Use OpenZeppelin Contracts for Cairo v0.15.0. ([#378](https://github.com/OpenZeppelin/contracts-wizard/pull/378))
67+
- Use OpenZeppelin Contracts for Cairo v0.16.0. ([#384](https://github.com/OpenZeppelin/contracts-wizard/pull/384))
68+
69+
## 0.14.0 (2024-06-20)
70+
71+
- **Breaking changes**:
72+
- Use OpenZeppelin Contracts for Cairo v0.14.0. ([#369](https://github.com/OpenZeppelin/contracts-wizard/pull/369))
73+
- Fix compile error with ERC1155 Burnable.
74+
75+
## 0.13.0 (2024-05-22)
76+
77+
- **Breaking changes**:
78+
- Use OpenZeppelin Contracts for Cairo v0.13.0. ([#359](https://github.com/OpenZeppelin/contracts-wizard/pull/359))
79+
- Use Hooks with ERC721 and ERC1155.
80+
- Use Hooks for Pausable.
81+
82+
## 0.12.0 (2024-05-01)
83+
84+
- Add `votes` option to ERC20. ([#355](https://github.com/OpenZeppelin/contracts-wizard/pull/355))
85+
- Require `appName` and `appVersion` when `votes` is enabled.
86+
- Sort implemented traits.
87+
- **Breaking changes**:
88+
- Use OpenZeppelin Contracts for Cairo v0.12.0.
89+
- Use Hooks with ERC20.
90+
91+
## 0.11.0 (2024-04-17)
92+
93+
- **Breaking changes**:
94+
- Set `upgradeable` to `true` by default. ([#334](https://github.com/OpenZeppelin/contracts-wizard/pull/334))
95+
96+
## 0.10.2 (2024-04-03)
97+
98+
- Use OpenZeppelin Contracts for Cairo v0.11.0. ([#351](https://github.com/OpenZeppelin/contracts-wizard/pull/351))
99+
- Add ERC1155.
100+
- Remove redundant not paused assertions for camel case functions.
101+
- Fix use of ERC20 mixin.
102+
- Sort imports alphabetically.
103+
104+
## 0.10.1 (2024-03-27)
105+
106+
- Use mixins. ([#348](https://github.com/OpenZeppelin/contracts-wizard/pull/348))
107+
108+
## 0.10.0 (2024-03-12)
109+
110+
- **Breaking changes**:
111+
- Use OpenZeppelin Contracts for Cairo v0.10.0. ([#344](https://github.com/OpenZeppelin/contracts-wizard/pull/344))
112+
- ERC721: Remove token URI parameter from safe mint functions.
113+
- ERC721: Add optional base URI parameter. If not set, this defaults to empty string.
114+
- Use string literals for ByteArray initialization instead of short strings.
115+
116+
## 0.9.2 (2024-02-26)
117+
118+
- Remove code comment for Cairo lang version. ([#337](https://github.com/OpenZeppelin/contracts-wizard/pull/337))
119+
120+
## 0.9.1 (2024-02-22)
121+
122+
- Add code comments for compatible OpenZeppelin Contracts for Cairo and Cairo lang versions. ([#331](https://github.com/OpenZeppelin/contracts-wizard/pull/331))
123+
124+
## 0.9.0 (2024-02-12)
125+
126+
- **Breaking changes**:
127+
- Remove non-standard `safeAllowance` option from ERC20. ([#324](https://github.com/OpenZeppelin/contracts-wizard/pull/324))
128+
- Use `abi(embed_v0)` attribute instead of `external` for impls derived from interfaces.
129+
- Use `abi(per_item)` attribute instead of `external` for impls with generated traits.
130+
131+
## 0.8.0 (2023-12-11)
132+
133+
- **Breaking changes**:
134+
- Use Cairo 1+ and OpenZeppelin Contracts for Cairo v0.8.0.
135+
- Remove functions for `getInitialSupply` and `toUint256`.
136+
- Remove ERC1155.
137+
- Role-Based Access Control adds separate constructor arguments to assign different users for different roles.
138+
- Throws error if `name` results in an identifer that is empty or does not have valid characters.
139+
- Throws error if `name` or `symbol` result in strings longer than 31 characters.
140+
141+
## 0.6.0 (2023-01-11)
142+
143+
- Add ERC1155. ([#167](https://github.com/OpenZeppelin/contracts-wizard/pull/167))
144+
- Update formatting. ([#217](https://github.com/OpenZeppelin/contracts-wizard/pull/217))
145+
- **Breaking change**: Renamed `isApprovedForAll` return variable name (`isApproved` -> `approved`) in ERC721. ([#167](https://github.com/OpenZeppelin/contracts-wizard/pull/167))
146+
147+
## 0.5.0 (2022-09-22)
148+
149+
- Add `owner` view for Ownable. ([#165](https://github.com/OpenZeppelin/contracts-wizard/issues/165))
150+
- Implement Cairo 0.10 syntax changes. ([#173](https://github.com/OpenZeppelin/contracts-wizard/issues/173))
151+
152+
## 0.4.0 (2022-08-04)
153+
154+
- Update directory structure for libraries. ([#157](https://github.com/OpenZeppelin/contracts-wizard/pull/157))
155+
156+
## 0.3.1 (2022-07-12)
157+
158+
- Add Role-Based Access Control. ([#147](https://github.com/OpenZeppelin/contracts-wizard/pull/147))
159+
160+
## 0.3.0 (2022-07-01)
161+
162+
- Support Contracts for Cairo v0.2.0. ([#135](https://github.com/OpenZeppelin/contracts-wizard/pull/135))
163+
- Support custom contract type, optional access control. ([#140](https://github.com/OpenZeppelin/contracts-wizard/pull/140))
164+
165+
## 0.2.0 (2022-06-15)
166+
167+
- Update API format for Cairo. ([#136](https://github.com/OpenZeppelin/contracts-wizard/pull/136))
168+
- Add functions for getInitialSupply and toUint256. ([#138](https://github.com/OpenZeppelin/contracts-wizard/pull/138))
169+
170+
## 0.1.0 (2022-05-13)
171+
172+
- Initial API for Cairo. ([#127](https://github.com/OpenZeppelin/contracts-wizard/pull/127))

0 commit comments

Comments
 (0)