Skip to content

Commit

Permalink
Merge pull request #831 from oasisprotocol/ptrus/release-0.5.0
Browse files Browse the repository at this point in the history
release v0.5.0
  • Loading branch information
ptrus authored Dec 18, 2024
2 parents 708476e + da448ce commit a38130e
Show file tree
Hide file tree
Showing 13 changed files with 73 additions and 43 deletions.
1 change: 0 additions & 1 deletion .changelog/798.trivial.md

This file was deleted.

1 change: 0 additions & 1 deletion .changelog/808.feature.md

This file was deleted.

1 change: 0 additions & 1 deletion .changelog/810.bugfix.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changelog/812.feature.md

This file was deleted.

16 changes: 0 additions & 16 deletions .changelog/820.feature.md

This file was deleted.

4 changes: 0 additions & 4 deletions .changelog/821.feature.md

This file was deleted.

Empty file removed .changelog/822.trivial.md
Empty file.
1 change: 0 additions & 1 deletion .changelog/823.feature.md

This file was deleted.

3 changes: 0 additions & 3 deletions .changelog/824.feature.md

This file was deleted.

1 change: 0 additions & 1 deletion .changelog/827.feature.md

This file was deleted.

4 changes: 0 additions & 4 deletions .changelog/828.feature.md

This file was deleted.

4 changes: 2 additions & 2 deletions .punch_version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
major = 0
minor = 4
patch = 2
minor = 5
patch = 0
71 changes: 71 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,77 @@ The format is inspired by [Keep a Changelog].

<!-- TOWNCRIER -->

## 0.5.0 (2024-12-18)

### Features

- storage: add index for fetching events emitted by a specific contract
([#808](https://github.com/oasisprotocol/nexus/issues/808))

- feature: Add support for runtime rofl transactions
([#812](https://github.com/oasisprotocol/nexus/issues/812))

New runtime transactions:

- `rofl.Create`, `rofl.Update`, `rofl.Remove`, `rofl.Register`

New runtime events:

- `rofl.app_created`, `rofl.app_updated`, `rofl.app_removed`

- Improve Status Reporting for Consensus-Accounts Transactions
([#820](https://github.com/oasisprotocol/nexus/issues/820))

The handling of multi-step runtime transactions (`consensus.Deposit`,
`consensus.Withdraw`, `consensus.Delegate`, and `consensus.Undelegate`)
has been improved. Previously, these transactions were marked as successful
once they were included in a block, even though the second step (executed in
the next runtime block) could fail. This could result in misleading statuses
for users.

To address this:

- These transactions will now be reported without a status until the second
step is completed

- Once the relevant event is received, the transaction status will be updated
to either successful or failed

- server: Enforce request timeouts using `http.TimeoutHandler`
([#821](https://github.com/oasisprotocol/nexus/issues/821))

The request timeout is configurable via the `server.request_timeout` field.
By default, it is set to 10 seconds.

- api/consensus/events: Include timestamp in response
([#823](https://github.com/oasisprotocol/nexus/issues/823))

- api/runtime/transactions: Support method filter
([#824](https://github.com/oasisprotocol/nexus/issues/824))

Example: `/v1/emerald/transactions?method=consensus.Withdraw`.

- Push images to ghcr.io/oasisprotocol/nexus docker repository
([#827](https://github.com/oasisprotocol/nexus/issues/827))

- Add `sort_by` parameter to `/{runtime}/evm_tokens` endpoint.
([#828](https://github.com/oasisprotocol/nexus/issues/828))

The parameter can be used to configure if results should be sorted by number
of total holders, or by the calculated market cap.

### Bug Fixes and Improvements

- fix: Run PreWork once, even for parallel analyzers
([#810](https://github.com/oasisprotocol/nexus/issues/810))

### Deployment Notes

This release includes three migrations that are automatically applied during
deployment. To prevent downtime, you can manually pre-apply the indexes from
migrations `07_runtime_events_evm_contracts_events` and
`08_runtime_transactions_method_idx` before starting the upgrade.

## 0.4.2 (2024-11-22)

### Bug Fixes and Improvements
Expand Down

0 comments on commit a38130e

Please sign in to comment.