Skip to content

chore: release 2.23.0 #561

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

Merged
merged 1 commit into from
Mar 10, 2025
Merged
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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## [2.23.0](https://www.github.com/ethersphere/swarm-cli/compare/v2.22.0...v2.23.0) (2025-03-10)


### Features

* add stamp extend command ([#567](https://www.github.com/ethersphere/swarm-cli/issues/567)) ([5dba920](https://www.github.com/ethersphere/swarm-cli/commit/5dba920c23b5e38949c282df93d833619bb8a164))
* update get-bee to fetch bee 2.4.0 ([#560](https://www.github.com/ethersphere/swarm-cli/issues/560)) ([7ac4839](https://www.github.com/ethersphere/swarm-cli/commit/7ac483931d7a3913aff864caa25cd9d49c1c37cb))

## [2.22.0](https://www.github.com/ethersphere/swarm-cli/compare/v2.21.0...v2.22.0) (2024-12-09)


2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ethersphere/swarm-cli",
"version": "2.22.0",
"version": "2.23.0",
"description": "CLI tool for Bee",
"keywords": [
"Bee",

Unchanged files with check annotations Beta

const addressString = this.address || (await this.getAddressString())
const reader = this.bee.makeFeedReader(topic, addressString)
const { payload, feedIndex, feedIndexNext } = await reader.download()
// TODO: verify this

Check warning on line 83 in src/command/feed/print.ts

GitHub Actions / check (18.x)

Unexpected 'todo' comment: 'TODO: verify this'
const reference = payload
spinner.stop()
this.console.verbose(createKeyValue('Chunk Reference', reference.toHex()))
import { Option } from 'furious-commander'
import { RootCommand } from '../root-command'
// TODO: https://github.com/ethersphere/bee/issues/2041

Check warning on line 5 in src/command/pss/pss-command.ts

GitHub Actions / check (18.x)

Unexpected 'todo' comment: 'TODO:...'
export class PssCommand extends RootCommand {
public topic!: string
notFoundMessage?: string
}
function hasStatusCode(error: any, statusCode: number): boolean {

Check warning on line 17 in src/utils/error.ts

GitHub Actions / check (18.x)

Unexpected any. Specify a different type
return error?.response?.status === statusCode
}
return hasStatusCode(error, 500)
}
export function errorHandler(error: any, options?: BeeErrorOptions): void {

Check warning on line 35 in src/utils/error.ts

GitHub Actions / check (18.x)

Unexpected any. Specify a different type
if (!process.exitCode) {
process.exitCode = 1
}
declare global {
namespace jest {
interface Matchers<R> {

Check warning on line 6 in test/custom-matcher.ts

GitHub Actions / check (18.x)

'R' is defined but never used
toMatchLinesInOrder(expected: string[][]): CustomMatcherResult
toMatchLinesInAnyOrder(expected: string[][]): CustomMatcherResult
}
const nodeInfo: NodeInfo = { beeMode: BeeModes.LIGHT, chequebookEnabled: true, swapEnabled: true }
function bytesToString(key: string, value: any): any {

Check warning on line 175 in test/http-mock/cheque-mock.ts

GitHub Actions / check (18.x)

Unexpected any. Specify a different type

Check warning on line 175 in test/http-mock/cheque-mock.ts

GitHub Actions / check (18.x)

Unexpected any. Specify a different type
if (Array.isArray(value)) {
return value.map(v => bytesToString(key, v))
}
}
if (typeof value === 'object' && value !== null) {
const newObj: any = {}

Check warning on line 193 in test/http-mock/cheque-mock.ts

GitHub Actions / check (18.x)

Unexpected any. Specify a different type
for (const k in value) {
if (value.hasOwnProperty(k)) {
newObj[k] = bytesToString(k, value[k])
])
})
// TODO: https://github.com/ethersphere/bee/issues/2041

Check warning on line 30 in test/quality-of-life/topic.spec.ts

GitHub Actions / check (18.x)

Unexpected 'todo' comment: 'TODO:...'
test.skip('should be possible with --topic in pss', async () => {
await invokeTestCli(['pss', 'receive', '-t', TOPIC_HEX, '--timeout', '1'])
expect(consoleMessages).toMatchLinesInOrder([
])
})
// TODO: https://github.com/ethersphere/bee/issues/2041

Check warning on line 38 in test/quality-of-life/topic.spec.ts

GitHub Actions / check (18.x)

Unexpected 'todo' comment: 'TODO:...'
test.skip('should be possible with --topic-string in pss', async () => {
await invokeTestCli(['pss', 'receive', '-T', 'Awesome PSS Topic', '--timeout', '1'])
expect(consoleMessages).toMatchLinesInOrder([