Skip to content

Commit

Permalink
chore: version packages
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanleecode committed Oct 23, 2024
1 parent e2a5cef commit 7cceee9
Show file tree
Hide file tree
Showing 15 changed files with 349 additions and 251 deletions.
143 changes: 0 additions & 143 deletions .changeset/dependencies-GH-2506.md

This file was deleted.

19 changes: 0 additions & 19 deletions .changeset/dependencies-GH-2507.md

This file was deleted.

19 changes: 0 additions & 19 deletions .changeset/dependencies-GH-2508.md

This file was deleted.

31 changes: 0 additions & 31 deletions .changeset/dependencies-GH-2509.md

This file was deleted.

33 changes: 0 additions & 33 deletions .changeset/friendly-toys-remember.md

This file was deleted.

35 changes: 35 additions & 0 deletions packages/connect/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,40 @@
# Changelog

## 2.0.0

### Major Changes

- e2a5cef: ## Breaking Changes

- Modified `addChain` and `addWellKnownChain` methods:
- Now accept a single `options` object parameter instead of separate `jsonRpcCallback` and `databaseContent` parameters
- The `jsonRpcCallback` is now passed as `options.jsonRpcCallback`
- The `databaseContent` is now passed as `options.databaseContent`
- Removed `JsonRpcCallback` type export. Use the callback type from the `options` parameter of `addChain` and `addWellKnownChain` instead.
- Updated peer dependency for `@substrate/smoldot-discovery` to "^2"

## New Features

- Added new methods to the Chain interface to conform with smoldot's interface:
- `nextJsonRpcResponse`: Returns a promise that resolves with the next JSON-RPC response
- `jsonRpcResponses`: Returns an async iterable of JSON-RPC responses

## Other Changes

- Updated internal implementation to use Effect for streaming JSON RPC responses in a Queue.
- Updated error handling to include `QueueFullError`.

## Migration Guide

Users of this package will need to update their code to use the new method signatures for `addChain` and `addWellKnownChain`, and adapt to the removed `JsonRpcCallback` type export. Please refer to the updated documentation for the new usage patterns.

When upgrading, ensure you're using version 3 or higher of `@substrate/smoldot-discovery` as a peer dependency.

### Patch Changes

- Updated dependencies [e2a5cef]
- @substrate/smoldot-discovery@2.0.0

## 1.3.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/connect/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@substrate/connect",
"version": "1.3.1",
"version": "2.0.0",
"description": "Substrate-connect to Smoldot clients. Using either substrate extension with predefined clients or an internal smoldot client based on chainSpecs provided.",
"author": "Parity Team <admin@parity.io>",
"license": "GPL-3.0-only",
Expand Down
30 changes: 30 additions & 0 deletions packages/smoldot-discovery-connector/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
# @substrate/smoldot-discovery-connector

## 0.3.0

### Minor Changes

- e2a5cef: ## Breaking Changes

- Modified `addChain` and `addWellKnownChain` methods:
- Now accept a single `options` object parameter instead of separate `jsonRpcCallback` and `databaseContent` parameters
- The `jsonRpcCallback` is now passed as `options.jsonRpcCallback`
- The `databaseContent` is now passed as `options.databaseContent`
- Removed `JsonRpcCallback` type export. Use the callback type from the `options` parameter of `addChain` and `addWellKnownChain` instead.
- Updated peer dependency for `@substrate/smoldot-discovery` to "^2"

## New Features

- Added new methods to the Chain interface to conform with smoldot's interface:
- `nextJsonRpcResponse`: Returns a promise that resolves with the next JSON-RPC response
- `jsonRpcResponses`: Returns an async iterable of JSON-RPC responses

## Other Changes

- Updated internal implementation to use Effect for streaming JSON RPC responses in a Queue.
- Updated error handling to include `QueueFullError`.

## Migration Guide

Users of this package will need to update their code to use the new method signatures for `addChain` and `addWellKnownChain`, and adapt to the removed `JsonRpcCallback` type export. Please refer to the updated documentation for the new usage patterns.

When upgrading, ensure you're using version 3 or higher of `@substrate/smoldot-discovery` as a peer dependency.

## 0.2.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/smoldot-discovery-connector/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@substrate/smoldot-discovery-connector",
"version": "0.2.1",
"version": "0.3.0",
"author": "Parity Technologies (https://github.com/paritytech)",
"repository": {
"type": "git",
Expand Down Expand Up @@ -61,6 +61,6 @@
"vitest": "^2.0.5"
},
"peerDependencies": {
"@substrate/smoldot-discovery": "^3"
"@substrate/smoldot-discovery": "^2"
}
}
30 changes: 30 additions & 0 deletions packages/smoldot-discovery/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
# @substrate/smoldot-discovery

## 2.0.0

### Major Changes

- e2a5cef: ## Breaking Changes

- Modified `addChain` and `addWellKnownChain` methods:
- Now accept a single `options` object parameter instead of separate `jsonRpcCallback` and `databaseContent` parameters
- The `jsonRpcCallback` is now passed as `options.jsonRpcCallback`
- The `databaseContent` is now passed as `options.databaseContent`
- Removed `JsonRpcCallback` type export. Use the callback type from the `options` parameter of `addChain` and `addWellKnownChain` instead.
- Updated peer dependency for `@substrate/smoldot-discovery` to "^2"

## New Features

- Added new methods to the Chain interface to conform with smoldot's interface:
- `nextJsonRpcResponse`: Returns a promise that resolves with the next JSON-RPC response
- `jsonRpcResponses`: Returns an async iterable of JSON-RPC responses

## Other Changes

- Updated internal implementation to use Effect for streaming JSON RPC responses in a Queue.
- Updated error handling to include `QueueFullError`.

## Migration Guide

Users of this package will need to update their code to use the new method signatures for `addChain` and `addWellKnownChain`, and adapt to the removed `JsonRpcCallback` type export. Please refer to the updated documentation for the new usage patterns.

When upgrading, ensure you're using version 3 or higher of `@substrate/smoldot-discovery` as a peer dependency.

## 1.2.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/smoldot-discovery/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@substrate/smoldot-discovery",
"version": "1.2.0",
"version": "2.0.0",
"author": "Parity Technologies (https://github.com/paritytech)",
"repository": {
"type": "git",
Expand Down
Loading

0 comments on commit 7cceee9

Please sign in to comment.