Skip to content

Commit

Permalink
chore: bump version to v0.3.0
Browse files Browse the repository at this point in the history
Update the packages versions and changelogs for the `0.3.0 -
2023-08-30` release.
  • Loading branch information
kanej committed Aug 30, 2023
1 parent 42391d1 commit b30c0d7
Show file tree
Hide file tree
Showing 12 changed files with 79 additions and 51 deletions.
32 changes: 17 additions & 15 deletions docs/publish.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,22 @@

To publish ignition:

1. git fetch, Checkout out `main`, then ensure your branch is up to date `git pull --ff-only`
2. Run a full check, stopping on failure: `npm run fullcheck`
3. Create a release branch `git checkout -b release/yyyy-mm-dd`
4. Update the `CHANGELOG.md` under `./packages/core`.
5. Update the `CHANGELOG.md` under `./packages/hardhat-plugin`.
6. Update the `CHANGELOG.md` under `./packages/ui`.
7. Update the package versions based on semver: `npm version --no-git-tag-version --workspaces patch #minor #major`
8. Update the version of dependencies:
1. git fetch, Checkout out `development`, then ensure your branch is up to date `git pull --ff-only`
2. Perform a clean install and build (will lose all uncommitted changes) git clean -fdx ., npm install, npm run build
3. Run a full check, stopping on failure: `npm run fullcheck`
4. Confirm the commits represent the features for the release
5. Create a release branch `git checkout -b release/yyyy-mm-dd`
6. Update the `CHANGELOG.md` under `./packages/core`.
7. Update the `CHANGELOG.md` under `./packages/hardhat-plugin`.
8. Update the `CHANGELOG.md` under `./packages/ui`.
9. Update the package versions based on semver: `npm version --no-git-tag-version --workspaces patch #minor #major`
10. Update the version of dependencies:

- cores version in hardhat-ui deps
- cores version in hardhat-ignition devDeps and peerDeps
- examples version of hardhat-ignition

9. Commit the version update `git commit`:
11. Commit the version update `git commit`:

```
chore: bump version to vX.X.X
Expand All @@ -24,9 +26,9 @@ Update the packages versions and changelogs for the `X.X.X -
yyyy-mm-dd` release.
```

10. Push the release branch and open a pull request, the PR description should match the changelogs
11. On a successful check, `rebase merge` the release branch into main
12. Switch to main branch and pull the latest changes
13. Git tag the version, `g tag -a v0.x.x -m "v0.x.x"` and push the tag `git push --follow-tags`
14. Publish `@ignored/ignition-core`, `@ignored/ignition-ui` and `@ignored/hardhat-ignition` : `npm publish -w @ignored/ignition-core -w @ignored/hardhat-ui -w @ignored/hardhat-ignition`
15. Create a release on github off of the pushed tag
12. Push the release branch and open a pull request on `main`, the PR description should match the changelogs
13. On a successful check, `rebase merge` the release branch into `main`
14. Switch to main branch and pull the latest changes
15. Git tag the version, `g tag -a v0.x.x -m "v0.x.x"` and push the tag `git push --follow-tags`
16. Publish `@ignored/ignition-core`, `@ignored/ignition-ui` and `@ignored/hardhat-ignition` : `npm publish -w @ignored/ignition-core -w @ignored/ignition-ui -w @ignored/hardhat-ignition`
17. Create a release on github off of the pushed tag
4 changes: 2 additions & 2 deletions examples/complete/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@nomicfoundation/ignition-complete-example",
"private": true,
"version": "0.2.0",
"version": "0.3.0",
"scripts": {
"test": "hardhat test",
"lint": "npm run prettier -- --check && npm run eslint",
Expand All @@ -10,7 +10,7 @@
"prettier": "prettier \"*.{js,md,json}\" \"ignition/*.{js,md,json}\" \"test/*.{js,md,json}\" \"contracts/**/*.sol\""
},
"devDependencies": {
"@ignored/hardhat-ignition": "^0.2.0",
"@ignored/hardhat-ignition": "^0.3.0",
"@nomicfoundation/hardhat-toolbox": "3.0.0",
"hardhat": "^2.14.0",
"prettier-plugin-solidity": "1.1.3"
Expand Down
4 changes: 2 additions & 2 deletions examples/ens/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@nomicfoundation/ignition-ens-example",
"private": true,
"version": "0.2.0",
"version": "0.3.0",
"scripts": {
"test": "hardhat test",
"lint": "npm run prettier -- --check && npm run eslint",
Expand All @@ -10,7 +10,7 @@
"prettier": "prettier \"*.{js,md,json}\" \"ignition/*.{js,md,json}\" \"test/*.{js,md,json}\" \"contracts/**/*.sol\""
},
"devDependencies": {
"@ignored/hardhat-ignition": "^0.2.0",
"@ignored/hardhat-ignition": "^0.3.0",
"@nomicfoundation/hardhat-toolbox": "3.0.0",
"hardhat": "^2.14.0",
"prettier-plugin-solidity": "1.1.3"
Expand Down
4 changes: 2 additions & 2 deletions examples/sample/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@nomicfoundation/ignition-sample-example",
"private": true,
"version": "0.2.0",
"version": "0.3.0",
"scripts": {
"test": "hardhat test",
"lint": "npm run prettier -- --check && npm run eslint",
Expand All @@ -10,7 +10,7 @@
"prettier": "prettier \"*.{js,md,json}\" \"ignition/*.{js,md,json}\" \"test/*.{js,md,json}\" \"contracts/**/*.sol\""
},
"devDependencies": {
"@ignored/hardhat-ignition": "^0.2.0",
"@ignored/hardhat-ignition": "^0.3.0",
"@nomicfoundation/hardhat-toolbox": "3.0.0",
"hardhat": "^2.14.0",
"prettier-plugin-solidity": "1.1.3"
Expand Down
4 changes: 2 additions & 2 deletions examples/ts-sample/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@nomicfoundation/ignition-ts-sample-example",
"private": true,
"version": "0.2.0",
"version": "0.3.0",
"scripts": {
"test": "hardhat test",
"lint": "npm run prettier -- --check && npm run eslint",
Expand All @@ -10,7 +10,7 @@
"prettier": "prettier \"*.{js,ts,md,json}\" \"ignition/*.{js,ts,md,json}\" \"test/*.{js,ts,md,json}\" \"contracts/**/*.sol\""
},
"devDependencies": {
"@ignored/hardhat-ignition": "^0.2.0",
"@ignored/hardhat-ignition": "^0.3.0",
"@nomicfoundation/hardhat-toolbox": "3.0.0",
"hardhat": "^2.14.0",
"prettier-plugin-solidity": "1.1.3"
Expand Down
4 changes: 2 additions & 2 deletions examples/uniswap/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@nomicfoundation/ignition-uniswap-example",
"private": true,
"version": "0.2.0",
"version": "0.3.0",
"scripts": {
"test": "hardhat test",
"lint": "npm run prettier -- --check && npm run eslint",
Expand All @@ -10,7 +10,7 @@
"prettier": "prettier \"*.{js,md,json}\" \"ignition/*.{js,md,json}\" \"test/*.{js,md,json}\" \"contracts/**/*.sol\""
},
"devDependencies": {
"@ignored/hardhat-ignition": "^0.2.0",
"@ignored/hardhat-ignition": "^0.3.0",
"@nomicfoundation/hardhat-toolbox": "3.0.0",
"hardhat": "^2.14.0",
"prettier-plugin-solidity": "1.1.3"
Expand Down
36 changes: 18 additions & 18 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,19 @@ 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.0.0/).

## 0.3.0 - 2023-08-30

### Added

- Support eip-1559 style transactions ([#8](https://github.com/NomicFoundation/ignition/issues/8))
- Automatic gas bumping of transactions ([#294](https://github.com/NomicFoundation/ignition/issues/294))
- Improve validation based on artifacts ([#390](https://github.com/NomicFoundation/ignition/issues/390))

### Changed

- Switch peer dependency from ethers v5 to ethers v6 ([#338](https://github.com/NomicFoundation/ignition/issues/338))
- Deprecate support for node 14, and add support for node 20 ([#370](https://github.com/NomicFoundation/ignition/issues/370))

## 0.2.0 - 2023-08-16

### Added
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ignored/ignition-core",
"version": "0.2.0",
"version": "0.3.0",
"license": "MIT",
"author": "Nomic Foundation",
"homepage": "https://hardhat.org",
Expand Down
13 changes: 13 additions & 0 deletions packages/hardhat-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,19 @@ 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.0.0/).

## 0.3.0 - 2023-08-30

### Added

- Support eip-1559 style transactions ([#8](https://github.com/NomicFoundation/ignition/issues/8))
- Automatic gas bumping of transactions ([#294](https://github.com/NomicFoundation/ignition/issues/294))
- Improve validation based on artifacts ([#390](https://github.com/NomicFoundation/ignition/issues/390))

### Changed

- Switch peer dependency from ethers v5 to ethers v6 ([#338](https://github.com/NomicFoundation/ignition/issues/338))
- Deprecate support for node 14, and add support for node 20 ([#370](https://github.com/NomicFoundation/ignition/issues/370))

## 0.2.0 - 2023-08-16

### Added
Expand Down
10 changes: 5 additions & 5 deletions packages/hardhat-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ignored/hardhat-ignition",
"version": "0.2.0",
"version": "0.3.0",
"license": "MIT",
"author": "Nomic Foundation",
"homepage": "https://hardhat.org",
Expand Down Expand Up @@ -31,8 +31,8 @@
"prepack": "npm run build"
},
"devDependencies": {
"@ignored/ignition-core": "^0.2.0",
"@ignored/ignition-ui": "^0.2.0",
"@ignored/ignition-core": "^0.3.0",
"@ignored/ignition-ui": "^0.3.0",
"@istanbuljs/nyc-config-typescript": "1.0.2",
"@nomicfoundation/hardhat-ethers": "^3.0.4",
"@types/chai": "^4.2.22",
Expand Down Expand Up @@ -71,8 +71,8 @@
"typescript": "^4.7.4"
},
"peerDependencies": {
"@ignored/ignition-core": "^0.2.0",
"@ignored/ignition-ui": "^0.2.0",
"@ignored/ignition-core": "^0.3.0",
"@ignored/ignition-ui": "^0.3.0",
"@nomicfoundation/hardhat-ethers": "^3.0.4",
"hardhat": "^2.14.0"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ignored/ignition-ui",
"version": "0.2.0",
"version": "0.3.0",
"type": "module",
"scripts": {
"predev": "npm run regenerate-deployment-example",
Expand All @@ -14,7 +14,7 @@
"prepack": "npm run build"
},
"dependencies": {
"@ignored/ignition-core": "^0.2.0",
"@ignored/ignition-core": "^0.3.0",
"mermaid": "10.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand Down

0 comments on commit b30c0d7

Please sign in to comment.