Skip to content

Commit 7b26eae

Browse files
committed
Merge branch 'main' into bump-typescript-5.6
2 parents bc9266c + 2bb9015 commit 7b26eae

File tree

166 files changed

+20438
-18798
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

166 files changed

+20438
-18798
lines changed

.github/workflows/docker-build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
with:
4646
ref: ${{ inputs.branch }}
4747
- name: Cache Docker layers
48-
uses: actions/[email protected].1
48+
uses: actions/[email protected].2
4949
with:
5050
path: /tmp/.buildx-cache
5151
key: ${{ runner.os }}-buildx-v1-${{ github.sha }}
@@ -75,7 +75,7 @@ jobs:
7575
7676
- name: Docker meta
7777
id: docker_meta_success
78-
uses: docker/metadata-action@v5.5.1
78+
uses: docker/metadata-action@v5.6.1
7979
if: ${{inputs.push_image}}
8080
with:
8181
images: ${{inputs.image_name}}
@@ -89,7 +89,7 @@ jobs:
8989
9090
- name: Build
9191
if: ${{!inputs.push_image}}
92-
uses: docker/build-push-action@v6.7.0
92+
uses: docker/build-push-action@v6.10.0
9393
with:
9494
context: .
9595
file: ${{inputs.docker_file}}
@@ -114,7 +114,7 @@ jobs:
114114

115115
- name: Build & Push
116116
if: ${{inputs.push_image}}
117-
uses: docker/build-push-action@v6.7.0
117+
uses: docker/build-push-action@v6.10.0
118118
with:
119119
context: .
120120
file: ${{inputs.docker_file}}

CHANGELOG.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,11 @@ Changes before Tatum release are not documented in this file.
1616
- it is supported for `PUBLISH` and `SUBSCRIBE` permissions
1717
- new `StreamrClient#getUserId()` method
1818
- Method `StreamrClient#getDiagnosticInfo()` provides diagnostic info about network (https://github.com/streamr-dev/network/pull/2740, https://github.com/streamr-dev/network/pull/2741)
19-
- Add accessors for stream metadata fields: (https://github.com/streamr-dev/network/pull/2825, https://github.com/streamr-dev/network/pull/2845)
19+
- Add accessors for stream metadata fields: (https://github.com/streamr-dev/network/pull/2825, https://github.com/streamr-dev/network/pull/2845, https://github.com/streamr-dev/network/pull/2883)
2020
- `Stream#getPartitionCount()`
2121
- `Stream#getDescription()` and `Stream#setDescription()`
2222
- `Stream#getStorageDayCount()` and `Stream#setStorageDayCount()`
23+
- Add method `StreamrClient#getStreamMetadata()` (https://github.com/streamr-dev/network/pull/2883)
2324
- Add validation for public permissions (https://github.com/streamr-dev/network/pull/2819)
2425
- Add `opts` parameter to `StreamrClient#addStreamToStorageNode` (https://github.com/streamr-dev/network/pull/2858)
2526
- controls how long to wait for storage node to pick up on assignment
@@ -40,6 +41,10 @@ Changes before Tatum release are not documented in this file.
4041
- **BREAKING CHANGE:** Replace methods `StreamrClient#updateStream()` and `Stream#update()`: (https://github.com/streamr-dev/network/pull/2826, https://github.com/streamr-dev/network/pull/2855, https://github.com/streamr-dev/network/pull/2859, https://github.com/streamr-dev/network/pull/2862)
4142
- use `StreamrClient#setStreamMetadata()` and `Stream#setMetadata()` instead
4243
- both methods overwrite metadata instead of merging it
44+
- **BREAKING CHANGE:** Methods `Stream#getMetadata()` and `Stream#getStreamParts()` are async (https://github.com/streamr-dev/network/pull/2883)
45+
- Caching changes:
46+
- storage node addresses (https://github.com/streamr-dev/network/pull/2877, https://github.com/streamr-dev/network/pull/2878)
47+
- stream metadata and permissions (https://github.com/streamr-dev/network/pull/2889)
4348
- Upgrade `StreamRegistry` from v4 to v5 (https://github.com/streamr-dev/network/pull/2780)
4449
- Network-level changes:
4550
- avoid routing through proxy connections (https://github.com/streamr-dev/network/pull/2801)
@@ -52,6 +57,7 @@ Changes before Tatum release are not documented in this file.
5257
- **BREAKING CHANGE:** Remove `Stream#detectFields()` method (https://github.com/streamr-dev/network/pull/2864)
5358
- **BREAKING CHANGE:** Remove `Stream#delete()` method (https://github.com/streamr-dev/network/pull/2863)
5459
- use `StreamrClient#deleteStream()` instead
60+
- **BREAKING CHANGE:** Remove `StreamrClient#findOperators()` method (https://github.com/streamr-dev/network/pull/2876)
5561
- Remove support for legacy encryption keys (https://github.com/streamr-dev/network/pull/2757)
5662
- Remove obsolete config options:
5763
- `network.node.id` (https://github.com/streamr-dev/network/pull/2777)
@@ -85,12 +91,15 @@ Changes before Tatum release are not documented in this file.
8591

8692
#### Removed
8793

88-
- **BREAKING CHANGE:** Remove deprecated `bin/config-wizard` script (i.e. the `streamr-broker-init` command)
94+
- **BREAKING CHANGE:** Remove deprecated `bin/config-wizard` script (i.e. the `streamr-broker-init` command) (https://github.com/streamr-dev/network/pull/2830)
8995
- use `streamr-node-init` command instead
96+
- **BREAKING CHANGE:** Remove deprecated command `streamr-broker` (https://github.com/streamr-dev/network/pull/2881)
97+
- use `streamr-node` command instead
9098

9199
#### Fixed
92100

93101
- Fix operator flag voting behavior when using custom gas estimation (https://github.com/streamr-dev/network/pull/2784)
102+
- Fix a bug causing the inspection process to freeze (https://github.com/streamr-dev/network/pull/2893)
94103

95104
#### Security
96105

bin/run-nodes.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ run_application() {
1919
{ print "\033[38;2;" color "m" substr($0, 1, 1) substr($0, index($0, " "), length($0)); color = default_color }'
2020
}
2121

22-
run_application node ./dist/bin/broker.js S1 '136;136;255' configs/development-1.env.json &
23-
run_application node ./dist/bin/broker.js B1 '0;136;255' configs/development-2.env.json &
24-
run_application node ./dist/bin/broker.js B2 '136;204;255' configs/development-3.env.json &
22+
run_application node ./dist/bin/streamr-node.js S1 '136;136;255' configs/development-1.env.json &
23+
run_application node ./dist/bin/streamr-node.js B1 '0;136;255' configs/development-2.env.json &
24+
run_application node ./dist/bin/streamr-node.js B2 '136;204;255' configs/development-3.env.json &
2525

2626
wait

docs/.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
# Generated files
88
.docusaurus
99
.cache-loader
10-
/docs/usage/sdk/api
1110

1211
# Misc
1312
.DS_Store
@@ -20,3 +19,6 @@ npm-debug.log*
2019
yarn-debug.log*
2120
yarn-error.log*
2221
/.vscode
22+
23+
# Autogenerated API documentation
24+
/docs/usage/sdk/api

docs/.nvmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,9 @@ For ease of use, small changes can be suggested by editing the markdown file on
1010
### Run it locally
1111
Simply, `npm ci` & `npm start`
1212

13-
## Streamr core devs
14-
Deployments are automatically made after every commit to `main`, therefore editing markdown files directly on `main` will be reflected in production within a minute or two.
13+
### Create & serve production build locally
14+
Simply, `npm ci` & `npm run build` & `npm run serve`
15+
16+
### Clean & clear build folder
17+
Simply, `npm run clear`
18+

docs/babel.config.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

docs/docs/streamr-network/brubeck-network/_category_.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

docs/docs/streamr-network/brubeck-network/dashboards-and-apis.md

Lines changed: 0 additions & 64 deletions
This file was deleted.

docs/docs/streamr-network/brubeck-network/mining-on-streamr.md

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)