Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/2023-09-15 #475

Merged
merged 96 commits into from
Sep 15, 2023
Merged

Release/2023-09-15 #475

merged 96 commits into from
Sep 15, 2023

Conversation

kanej
Copy link
Member

@kanej kanej commented Sep 15, 2023

0.4.0 - 2023-09-15

Added

  • Advanced cli UI for deploy (#401)
  • Store artifact debug files as part of deployment directory (#473)

Changed

  • Changed npm package name to @nomicfoundation/hardhat-ignition
  • rename the plan task to visualize (#471)
  • Constrain module ids and action ids to better support storing deployments on windows (#466)
  • Rename use-verbose flag on deploy task to simple-text-ui (#444)

Fixed

  • Fix batch completion on non-automining chains (#467)

zoeyTM and others added 30 commits August 24, 2023 14:46
Switched out the usage of flat to the core function.

Added in doc comments to meet api-extractor rules.
On a rerun no batches are executed. Show the deployed addresses anyway.
This involved adding a deployment complete event, that passes the
deployment result.

This will be extended to failure cases in future commits.
Instead of showing all batches at once. Only display a batch if at least
one future has started (excluding the first batch).

We may want to enhance this by tracking the current batch in the ui
based on the batch events.
kanej and others added 25 commits September 14, 2023 11:42
Modify our id separators, swapping:

- `:` => `#`
- `#` => `.`

This allows us to write the identifiers as filenames on windows.

Resolves #441.
Module builder refactor: overload `contract`, `contractAt`, and `library`.
We intend to support viewing an already run deployment, hence plan makes
less sense. Instead we will go with the more generic visualize for the
moment.
Replace the deployment serializer with just an IgnitionModule
serializer.
For the moment, remove the visualize function from the public core api.

Out intent is to bring this back, returning the full deployment result
type so that a visualization can show the current journaled state of a
deployment. This will be additative to the api.
The chainId check test needs to read an existing deployment, the startup
time seems to trip the timeout.
If a build info is stored for a future id, record a debug file as a
pointer. The debug file is a sibling to the artifact file, so under
`./ignition/deployments/<depid>/artifacts`:

- `LockModule#Lock.json`
- `LockModule#Lock.dbg.json`

The dbg file points at the Ignition build info file via a relative path.

Resolves #472.
Update the packages versions and changelogs for the `0.4.0 -
2023-09-15` release.
@kanej kanej requested a review from alcuadrado September 15, 2023 11:33
@kanej kanej merged commit cd01360 into main Sep 15, 2023
8 checks passed
@kanej kanej deleted the release/2023-09-15 branch September 15, 2023 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants