-
Notifications
You must be signed in to change notification settings - Fork 355
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* bump to 0.8.0 (#834) * Update PULL_REQUEST_TEMPLATE.md (#827) * Update PULL_REQUEST_TEMPLATE.md * Update PULL_REQUEST_TEMPLATE.md * Update PULL_REQUEST_TEMPLATE.md * Update RELEASING and CONTRIBUTING (#828) * update RELEASING * fix linting * update CONTRIBUTING * fix emphasis * add changelog to releasing.md * improve live testing guidelines * Update CONTRIBUTING.md Co-authored-by: Andrew Fleming <[email protected]> --------- Co-authored-by: Andrew Fleming <[email protected]> * Add `ERC721ABI` and fix other abis (#761) * fix account abi * fix erc20 abi * fix erc721 abi * reorder internal fns * reorder internal fns * fix comment * reorder fns * fix casing * fix casing * reorder api fns * add dual interfaces link * add camel methods to api * remove imports * re-add src5_state * Apply suggestions from code review Co-authored-by: Eric Nordelo <[email protected]> * add deployer trait/impl * change non-standard to impls in fn list * fix in-code doc style * fix comments * fix interface order * remove unused impl --------- Co-authored-by: Eric Nordelo <[email protected]> * Update utility docs (#825) * fix: link (#545) * feat: add utility docs * Update docs/modules/ROOT/pages/utilities.adoc Co-authored-by: Andrew Fleming <[email protected]> * Update docs/modules/ROOT/pages/utilities.adoc Co-authored-by: Andrew Fleming <[email protected]> * Update docs/modules/ROOT/pages/utilities.adoc Co-authored-by: Andrew Fleming <[email protected]> * feat: apply review updates * Update docs/modules/ROOT/pages/utilities.adoc Co-authored-by: Andrew Fleming <[email protected]> * feat: apply review updates * fix: remove drop events * feat: update CHANGELOG * feat: apply review udpates --------- Co-authored-by: Andrew Fleming <[email protected]> * Add in-code docs (#822) * add in-code comment * normalize in-code comments * fix comment * fix comments * fix comments * add double back ticks for comment possessives * add missing reqs * add missing reqs, fix _burn description * fix __execute__ reqs * remove double backticks * remove unused imports * fix: implementation name (#840) * Improve component tests with ComponentState (#836) * refactor: component state in tests * feat: update CHANGELOG * Update CHANGELOG.md Co-authored-by: Martín Triay <[email protected]> * feat: apply review updates * fix: CHANGELOG --------- Co-authored-by: Martín Triay <[email protected]> * Document SRC5 migration (#821) * start migration guide * add links, add register_interfaces example * add supports_interfaces * add supports_interfaces to docs * fix formatting * revert change * Apply suggestions from code review Co-authored-by: Martín Triay <[email protected]> * remove upgrade fn from code block * remove supports_interfaces * add deregister_erc165_interface * change src5 migration title * fix src5 migration doc * fix how-to section * fix formatting * add deregister_erc165_interface * update interface registration section * add link to register_interface * update CHANGELOG * Apply suggestions from code review Co-authored-by: Martín Triay <[email protected]> * remove register_erc165_interface * remove deregister_erc165_interface from utilities * remove deregister from guide * fix import * remove register_interfaces fn from API * remove unused var * add initializable warning --------- Co-authored-by: Martín Triay <[email protected]> * Document Class Hashes (#832) * fix: link (#545) * feat: add page * feat: finish UI * Update docs/modules/ROOT/pages/api/erc721.adoc Co-authored-by: Andrew Fleming <[email protected]> * feat: apply review updates * fix: remove trailing space * feat: update CHANGELOG * Update CHANGELOG.md Co-authored-by: Martín Triay <[email protected]> * feat: apply review updates * feat: apply review updates --------- Co-authored-by: Andrew Fleming <[email protected]> Co-authored-by: Martín Triay <[email protected]> * Update extensibility docs (#823) * add extensibility docs * start setup guide * change file name * Apply suggestions from code review Co-authored-by: Eric Nordelo <[email protected]> * fix name * change title * change title to component impl * update changelog * add comp storage section * finish new structure * finish edits, add customization section * simplify titles * finish custom impl section * Apply suggestions from code review Co-authored-by: Martín Triay <[email protected]> * fix comp storage section * change section title to setup, minor edits * add cmp storage link, clean up impl section * add cairo book link * add api design tip * Apply suggestions from code review --------- Co-authored-by: Eric Nordelo <[email protected]> Co-authored-by: Martín Triay <[email protected]> * Update docs navbar (#838) * update docs navbar * complete navbar * fix navbar * fix navbar * update changelog * update changelog * fix changelog * update wizard and rename usage -> components * fix broken links * reordered changelog * fix default collapsed sections --------- Co-authored-by: Andrew Fleming <[email protected]> Co-authored-by: Eric Nordelo <[email protected]> Co-authored-by: Andrew Fleming <[email protected]>
- Loading branch information
1 parent
c23e8e9
commit 6f72a52
Showing
47 changed files
with
3,579 additions
and
2,453 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [Unreleased] | ||
|
||
### Added | ||
|
||
- Documentation for SRC5 migration (#821) | ||
- Usage docs (#823) | ||
- Utilities documentation (#825) | ||
- Documentation for presets (#832) | ||
|
||
### Changed | ||
|
||
- Use ComponentState in tests (#836) | ||
- Docsite navbar (#838) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,29 @@ | ||
# Releasing | ||
|
||
Releasing checklist: | ||
(1) Checkout the branch to be released. This will usually be `main` except in the event of a hotfix. For hotfixes, checkout the release branch you want to fix. | ||
|
||
(1) Write a changelog. | ||
|
||
(2) Run version bump script with the new version as an argument and open a PR. | ||
(2) Create a new release branch. | ||
|
||
```sh | ||
python scripts/update_version.py v0.5.1 | ||
git checkout -b release-v0.8.0 | ||
``` | ||
|
||
(3) Create and push a release branch. | ||
|
||
```txt | ||
git checkout -b release-v0.5.1 | ||
git push release-v0.5.1 | ||
``` | ||
(3) Search and replace the current release version with the one to be released (e.g. `0.7.0` to `0.8.0`, or `0.8.0-beta.0` to `0.8.0-beta.1`). | ||
|
||
(4) Checkout the branch to be released. This should be `main` except in the event of a hotfix. For hotfixes, checkout the latest release branch. | ||
(4) Create the release entry in [the changelog](CHANGELOG.md) with the contents of the _Unreleased_ section, which should be left empty. | ||
|
||
(5) Create a tag for the release. | ||
(5) Push and open a PR targeting `main` to carefully review the release changes. | ||
|
||
```sh | ||
git tag v0.5.1 | ||
git push release-v0.8.0 | ||
``` | ||
|
||
(6) Push the tag to the main repository, [triggering the CI and release process](https://github.com/OpenZeppelin/cairo-contracts/blob/b27101eb826fae73f49751fa384c2a0ff3377af2/.github/workflows/python-app.yml#L60). | ||
(6) Once merged, create a tag on the release branch and push it to the main repository. | ||
|
||
```sh | ||
git push origin v0.5.1 | ||
git tag v0.8.0 | ||
git push origin v0.8.0 | ||
``` | ||
|
||
(7) Finally, go to the repo's [releases page](https://github.com/OpenZeppelin/cairo-contracts/releases/) and [create a new one](https://github.com/OpenZeppelin/cairo-contracts/releases/new) with the new tag and the base branch as target (which should be `main` except in the event of a hotfix). | ||
(7) Finally, go to the repo's [releases page](https://github.com/OpenZeppelin/cairo-contracts/releases/) and [create a new one](https://github.com/OpenZeppelin/cairo-contracts/releases/new) with the new tag and the base branch as target (`main` except in the event of a hotfix). | ||
Make sure to write a detailed release description and a short changelog. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,40 @@ | ||
* xref:index.adoc[Overview] | ||
//* xref:wizard.adoc[Wizard] | ||
//* xref:extensibility.adoc[Extensibility] | ||
* xref:interfaces.adoc[Interfaces and Dispatchers] | ||
* xref:upgrades.adoc[Upgrades] | ||
** xref:/api/upgrades.adoc[API Reference] | ||
* xref:wizard.adoc[Wizard] | ||
* xref:accounts.adoc[Accounts] | ||
** xref:/guides/deployment.adoc[Counterfactual deployments] | ||
** xref:/api/account.adoc[API Reference] | ||
* Learn | ||
* xref:access.adoc[Access Control] | ||
** xref:/api/access.adoc[API Reference] | ||
** xref:components.adoc[Components] | ||
** xref:presets.adoc[Presets] | ||
** xref:interfaces.adoc[Interfaces and Dispatchers] | ||
** xref:guides/deployment.adoc[Counterfactual deployments] | ||
// ** xref:udc.adoc[Universal Deployer Contract] | ||
|
||
* Tokens | ||
** xref:erc20.adoc[ERC20] | ||
*** xref:/guides/erc20-supply.adoc[Creating Supply] | ||
*** xref:/api/erc20.adoc[API Reference] | ||
* Modules | ||
** xref:erc721.adoc[ERC721] | ||
*** xref:/api/erc721.adoc[API Reference] | ||
// ** xref:erc1155.adoc[ERC1155] | ||
** xref:access.adoc[Access Control] | ||
*** xref:/api/access.adoc[API Reference] | ||
* xref:security.adoc[Security] | ||
** xref:/api/security.adoc[API Reference] | ||
** xref:accounts.adoc[Accounts] | ||
*** xref:/api/account.adoc[API Reference] | ||
|
||
* xref:introspection.adoc[Introspection] | ||
** xref:/api/introspection.adoc[API Reference] | ||
** xref:introspection.adoc[Introspection] | ||
*** xref:/guides/src5-migration.adoc[Migrating ERC165 to SRC5] | ||
*** xref:/api/introspection.adoc[API Reference] | ||
|
||
// * xref:udc.adoc[Universal Deployer Contract] | ||
// * xref:utilities.adoc[Utilities] | ||
** xref:security.adoc[Security] | ||
*** xref:/api/security.adoc[API Reference] | ||
** Tokens | ||
*** xref:erc20.adoc[ERC20] | ||
**** xref:/guides/erc20-supply.adoc[Creating Supply] | ||
**** xref:/api/erc20.adoc[API Reference] | ||
*** xref:erc721.adoc[ERC721] | ||
**** xref:/api/erc721.adoc[API Reference] | ||
// *** xref:erc1155.adoc[ERC1155] | ||
** xref:upgrades.adoc[Upgrades] | ||
*** xref:/api/upgrades.adoc[API Reference] | ||
|
||
** xref:utilities.adoc[Utilities] | ||
|
||
* xref:contracts::index.adoc[Contracts for Solidity] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.