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

feat: feed wrapping #918

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions .depcheckrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,13 @@
"@babel/preset-typescript",
"@commitlint/cli",
"@commitlint/config-conventional",
"@types/content-disposition",
"@types/debug",
"babel-jest",
"babel-loader",
"bufferutil",
"cross-blob",
"debug",
"husky",
"ts-node",
"utf-8-validate",
"webpack-cli",
"playwright-test"
"playwright-test",
"@types/jest",
"ts-jest"
]
}
2 changes: 0 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ on:
env:
BEE_API_URL: 'http://127.0.0.1:1633'
BEE_PEER_API_URL: 'http://127.0.0.1:11633'
BEE_DEBUG_API_URL: 'http://127.0.0.1:1635'
BEE_PEER_DEBUG_API_URL: 'http://127.0.0.1:11635'
BEE_TEST_CHEQUEBOOK: true

jobs:
Expand Down
34 changes: 9 additions & 25 deletions .github/workflows/update_bee.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ on:
repository_dispatch:
types: [update-bee]


jobs:
create-api-docs-pr:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -57,13 +56,6 @@ jobs:
field: engines.beeApiVersion
value: ${{ env.API_VERSION }}

- name: Replace Debug API version in package.json
uses: jossef/action-set-json-field@v1
with:
file: package.json
field: engines.beeDebugApiVersion
value: ${{ env.DEBUG_API_VERSION }}

- name: Add trailing new-line to package.json
run: printf "\n" >> package.json

Expand All @@ -72,30 +64,22 @@ jobs:
with:
find: "export const SUPPORTED_BEE_VERSION_EXACT = '.*?'"
replace: "export const SUPPORTED_BEE_VERSION_EXACT = '${{ env.BEE_VERSION_WITH_COMMIT }}'"
include: "src/modules/debug/status.ts"
include: 'src/modules/debug/status.ts'
regex: true

- name: Replace SUPPORTED_API_VERSION for Status module
uses: jacobtomlinson/gha-find-replace@v2
with:
find: "export const SUPPORTED_API_VERSION = '.*?'"
replace: "export const SUPPORTED_API_VERSION = '${{ env.API_VERSION }}'"
include: "src/modules/debug/status.ts"
regex: true

- name: Replace SUPPORTED_DEBUG_API_VERSION for Status module
uses: jacobtomlinson/gha-find-replace@v2
with:
find: "export const SUPPORTED_DEBUG_API_VERSION = '.*?'"
replace: "export const SUPPORTED_DEBUG_API_VERSION = '${{ env.DEBUG_API_VERSION }}'"
include: "src/modules/debug/status.ts"
include: 'src/modules/debug/status.ts'
regex: true

- name: Replace README version
uses: jacobtomlinson/gha-find-replace@v2
with:
find: "<!-- SUPPORTED_BEE_START -->.*?<!-- SUPPORTED_BEE_END -->"
replace: "<!-- SUPPORTED_BEE_START -->${{ env.FINAL_CLEAN_BEE_VERSION }}<!-- SUPPORTED_BEE_END -->"
find: '<!-- SUPPORTED_BEE_START -->.*?<!-- SUPPORTED_BEE_END -->'
replace: '<!-- SUPPORTED_BEE_START -->${{ env.FINAL_CLEAN_BEE_VERSION }}<!-- SUPPORTED_BEE_END -->'
include: README.md
regex: true

Expand All @@ -105,11 +89,11 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.REPO_GHA_PAT }}
with:
title: "chore: update to bee ${{ env.FINAL_CLEAN_BEE_VERSION }}"
body: "Updated Bee version ${{ env.BEE_VERSION_WITH_COMMIT }}"
branch: "bee-${{ env.FINAL_CLEAN_BEE_VERSION }}"
commit-message: "chore: update to bee"
author: "bee-worker <[email protected]>"
title: 'chore: update to bee ${{ env.FINAL_CLEAN_BEE_VERSION }}'
body: 'Updated Bee version ${{ env.BEE_VERSION_WITH_COMMIT }}'
branch: 'bee-${{ env.FINAL_CLEAN_BEE_VERSION }}'
commit-message: 'chore: update to bee'
author: 'bee-worker <[email protected]>'

- uses: joutvhu/get-release@v1
id: release-notes
Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,8 @@ node_modules

# Generated files
docs

*.shape
shaper.ts

test/primitives/32mb.bin
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

85 changes: 85 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,91 @@
# Changelog


## [8.0.2](https://github.com/ethersphere/bee-js/compare/v8.0.1...v8.0.2) (2024-09-16)


### Bug Fixes

* handle bad request in feed index lookup ([#949](https://github.com/ethersphere/bee-js/issues/949)) ([a1730f9](https://github.com/ethersphere/bee-js/commit/a1730f907e90c77caaeb00a8b6306f04fc9e9f19))

## [8.0.1](https://github.com/ethersphere/bee-js/compare/v8.0.0...v8.0.1) (2024-09-16)


### Bug Fixes

* allow collection items with zero size ([#947](https://github.com/ethersphere/bee-js/issues/947)) ([e5d9590](https://github.com/ethersphere/bee-js/commit/e5d9590774000acdea29eb1fa5409704e2b26a05))

## [8.0.0](https://github.com/ethersphere/bee-js/compare/v7.1.2...v8.0.0) (2024-09-13)


### ⚠ BREAKING CHANGES

* add act ([#942](https://github.com/ethersphere/bee-js/issues/942))

### Features

* add act ([#942](https://github.com/ethersphere/bee-js/issues/942)) ([09f22ee](https://github.com/ethersphere/bee-js/commit/09f22ee1b9cd462c6eb8bbc762ee58fdd1aa961e))

## [7.1.2](https://github.com/ethersphere/bee-js/compare/v7.1.1...v7.1.2) (2024-09-10)


### Bug Fixes

* fix tar padding ([#943](https://github.com/ethersphere/bee-js/issues/943)) ([a40d5ec](https://github.com/ethersphere/bee-js/commit/a40d5ecab2e325353f8dc7a71adda0ab1c8b29a4))

## [7.1.1](https://github.com/ethersphere/bee-js/compare/v7.1.0...v7.1.1) (2024-08-08)


### Bug Fixes

* correct jsdocs links ([#938](https://github.com/ethersphere/bee-js/issues/938)) ([105909d](https://github.com/ethersphere/bee-js/commit/105909db865ea29be449cba9d1e54c2b479138aa))

## [7.1.0](https://github.com/ethersphere/bee-js/compare/v7.0.4...v7.1.0) (2024-07-17)


### Features

* add capitalizeAddressERC55 function ([#933](https://github.com/ethersphere/bee-js/issues/933)) ([8e06014](https://github.com/ethersphere/bee-js/commit/8e06014fe2be32e6435bdec3fc75c86dbbc77f10))

## [7.0.4](https://github.com/ethersphere/bee-js/compare/v7.0.3...v7.0.4) (2024-07-17)


### Bug Fixes

* add chaintip field ([#931](https://github.com/ethersphere/bee-js/issues/931)) ([4a45a56](https://github.com/ethersphere/bee-js/commit/4a45a562c649d90cb6fa3668cd74bf033ca18ad5))

## [7.0.3](https://github.com/ethersphere/bee-js/compare/v7.0.2...v7.0.3) (2024-06-18)


### Bug Fixes

* ignore errors while waiting for stamp ([#927](https://github.com/ethersphere/bee-js/issues/927)) ([ac2092e](https://github.com/ethersphere/bee-js/commit/ac2092e173fe122d66bca77ddb9bbd3be351942a))

## [7.0.2](https://github.com/ethersphere/bee-js/compare/v7.0.1...v7.0.2) (2024-06-17)


### Bug Fixes

* allow falsy feed index ([#925](https://github.com/ethersphere/bee-js/issues/925)) ([4e63889](https://github.com/ethersphere/bee-js/commit/4e638894144ff1eae1f6d095f9022da8a80df9a8))

## [7.0.1](https://github.com/ethersphere/bee-js/compare/v7.0.0...v7.0.1) (2024-06-17)


### Bug Fixes

* floor update feed timestamp ([#923](https://github.com/ethersphere/bee-js/issues/923)) ([7170b47](https://github.com/ethersphere/bee-js/commit/7170b47f0751fc2daf7ee481da8eba8b7fb5de47))

## [7.0.0](https://github.com/ethersphere/bee-js/compare/v6.9.1...v7.0.0) (2024-06-02)


### ⚠ BREAKING CHANGES

* merge api ([#920](https://github.com/ethersphere/bee-js/issues/920))

### Features

* merge api ([#920](https://github.com/ethersphere/bee-js/issues/920)) ([a7b68be](https://github.com/ethersphere/bee-js/commit/a7b68be04b859832c5a003cc95ab9ed598acb456))

## [6.9.1](https://github.com/ethersphere/bee-js/compare/v6.9.0...v6.9.1) (2024-04-24)


Expand Down
Loading