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

Bump the dfinity-dependencies group across 1 directory with 6 updates #157

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 17, 2024

Bumps the dfinity-dependencies group with 4 updates in the / directory: @dfinity/agent, @dfinity/auth-client, @dfinity/utils and @dfinity/identity-secp256k1.

Updates @dfinity/agent from 1.0.1 to 1.3.0

Release notes

Sourced from @​dfinity/agent's releases.

Release 1.3.0

What's Changed

New feature - exponential backoff for retries, using a new HttpAgent option - backoffStrategy. The agent can accept a BackoffStrategyFactory, which is a function that returns a BackoffStrategy. The strategy itself must include a next method, which yields a number or null

The default strategy mimics the one used by agent-rs. It will increase the interval using exponential backoff, and adding in a "jitter", randomizing the result a little to decrease the likelihood of calls firing at the same time as your application scales, which could cause performance issues under certain conditions.

If you prefer a constant backoff, a custom factory would look something like this in TypeScript:

import { HttpAgent, BackoffStrategy } from '@dfinity/agent'; 
const strat: BackoffStrategy = {
next: () => 1000
}
const agent = new HttpAgent({
backoffStrategy: () => strat
});

Full Changelog: dfinity/agent-js@v1.2.1...v1.3.0

Release 1.2.1

What's Changed

Full Changelog: dfinity/agent-js@v1.2.0...v1.2.1

Release 1.2.0

What's Changed

Full Changelog: dfinity/agent-js@v1.1.1...v1.2.0

Release 1.1.1

... (truncated)

Changelog

Sourced from @​dfinity/agent's changelog.

[1.3.0] - 2024-05-01

Added

  • docs: adds instructions on how to run unit and e2e tests to the README
  • chore: adds required npm audit check to PRs
  • new HttpAgent option: backoffStrategy - allows you to set a custom delay strategy for retries. The default is a newly exported exponentialBackoff, but you can pass your own function to customize the delay between retries.

Changed

  • chore: upgrades github actions to v4
  • fix: retry logic now includes delays with exponential backoff matching the dfx strategy. Retries should no longer happen too quickly for the replica to catch up.

[1.2.1] - 2024-04-25

Added

  • feat: make IdbStorage get/set methods generic
  • chore: add context to errors thrown when failing to decode CBOR values.
  • chore: replaces globle npm install with setup-node for size-limit action

[1.2.0] - 2024-03-25

Added

  • feat: adds support for verified queries against management canister
    • includes support for fetch_canister_logs in the actor provided by getManagementCanister
    • also includes support for bitcoin queries

Logging

// Agent should not use an anonymous identity for this call, and should ideally be a canister controller
const management = await getManagementCanister({ agent });
const logs = await management.fetch_canister_logs({ canister_id: canisterId });

Bitcoin

// For now, the verifyQuerySignatures option must be set to false
const agent = await makeAgent({ host: 'https://icp-api.io', verifyQuerySignatures: false });
const management = getManagementCanister({
    agent
});
const result = await management.bitcoin_get_balance_query({
address: 'bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh',
network: { mainnet: null },
min_confirmations: [6],
</tr></table>

... (truncated)

Commits

Updates @dfinity/auth-client from 1.0.1 to 1.3.0

Release notes

Sourced from @​dfinity/auth-client's releases.

Release 1.3.0

What's Changed

New feature - exponential backoff for retries, using a new HttpAgent option - backoffStrategy. The agent can accept a BackoffStrategyFactory, which is a function that returns a BackoffStrategy. The strategy itself must include a next method, which yields a number or null

The default strategy mimics the one used by agent-rs. It will increase the interval using exponential backoff, and adding in a "jitter", randomizing the result a little to decrease the likelihood of calls firing at the same time as your application scales, which could cause performance issues under certain conditions.

If you prefer a constant backoff, a custom factory would look something like this in TypeScript:

import { HttpAgent, BackoffStrategy } from '@dfinity/agent'; 
const strat: BackoffStrategy = {
next: () => 1000
}
const agent = new HttpAgent({
backoffStrategy: () => strat
});

Full Changelog: dfinity/agent-js@v1.2.1...v1.3.0

Release 1.2.1

What's Changed

Full Changelog: dfinity/agent-js@v1.2.0...v1.2.1

Release 1.2.0

What's Changed

Full Changelog: dfinity/agent-js@v1.1.1...v1.2.0

Release 1.1.1

... (truncated)

Changelog

Sourced from @​dfinity/auth-client's changelog.

[1.3.0] - 2024-05-01

Added

  • docs: adds instructions on how to run unit and e2e tests to the README
  • chore: adds required npm audit check to PRs
  • new HttpAgent option: backoffStrategy - allows you to set a custom delay strategy for retries. The default is a newly exported exponentialBackoff, but you can pass your own function to customize the delay between retries.

Changed

  • chore: upgrades github actions to v4
  • fix: retry logic now includes delays with exponential backoff matching the dfx strategy. Retries should no longer happen too quickly for the replica to catch up.

[1.2.1] - 2024-04-25

Added

  • feat: make IdbStorage get/set methods generic
  • chore: add context to errors thrown when failing to decode CBOR values.
  • chore: replaces globle npm install with setup-node for size-limit action

[1.2.0] - 2024-03-25

Added

  • feat: adds support for verified queries against management canister
    • includes support for fetch_canister_logs in the actor provided by getManagementCanister
    • also includes support for bitcoin queries

Logging

// Agent should not use an anonymous identity for this call, and should ideally be a canister controller
const management = await getManagementCanister({ agent });
const logs = await management.fetch_canister_logs({ canister_id: canisterId });

Bitcoin

// For now, the verifyQuerySignatures option must be set to false
const agent = await makeAgent({ host: 'https://icp-api.io', verifyQuerySignatures: false });
const management = getManagementCanister({
    agent
});
const result = await management.bitcoin_get_balance_query({
address: 'bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh',
network: { mainnet: null },
min_confirmations: [6],
</tr></table>

... (truncated)

Commits

Updates @dfinity/identity from 1.0.1 to 1.3.0

Release notes

Sourced from @​dfinity/identity's releases.

Release 1.3.0

What's Changed

New feature - exponential backoff for retries, using a new HttpAgent option - backoffStrategy. The agent can accept a BackoffStrategyFactory, which is a function that returns a BackoffStrategy. The strategy itself must include a next method, which yields a number or null

The default strategy mimics the one used by agent-rs. It will increase the interval using exponential backoff, and adding in a "jitter", randomizing the result a little to decrease the likelihood of calls firing at the same time as your application scales, which could cause performance issues under certain conditions.

If you prefer a constant backoff, a custom factory would look something like this in TypeScript:

import { HttpAgent, BackoffStrategy } from '@dfinity/agent'; 
const strat: BackoffStrategy = {
next: () => 1000
}
const agent = new HttpAgent({
backoffStrategy: () => strat
});

Full Changelog: dfinity/agent-js@v1.2.1...v1.3.0

Release 1.2.1

What's Changed

Full Changelog: dfinity/agent-js@v1.2.0...v1.2.1

Release 1.2.0

What's Changed

Full Changelog: dfinity/agent-js@v1.1.1...v1.2.0

Release 1.1.1

... (truncated)

Changelog

Sourced from @​dfinity/identity's changelog.

[1.3.0] - 2024-05-01

Added

  • docs: adds instructions on how to run unit and e2e tests to the README
  • chore: adds required npm audit check to PRs
  • new HttpAgent option: backoffStrategy - allows you to set a custom delay strategy for retries. The default is a newly exported exponentialBackoff, but you can pass your own function to customize the delay between retries.

Changed

  • chore: upgrades github actions to v4
  • fix: retry logic now includes delays with exponential backoff matching the dfx strategy. Retries should no longer happen too quickly for the replica to catch up.

[1.2.1] - 2024-04-25

Added

  • feat: make IdbStorage get/set methods generic
  • chore: add context to errors thrown when failing to decode CBOR values.
  • chore: replaces globle npm install with setup-node for size-limit action

[1.2.0] - 2024-03-25

Added

  • feat: adds support for verified queries against management canister
    • includes support for fetch_canister_logs in the actor provided by getManagementCanister
    • also includes support for bitcoin queries

Logging

// Agent should not use an anonymous identity for this call, and should ideally be a canister controller
const management = await getManagementCanister({ agent });
const logs = await management.fetch_canister_logs({ canister_id: canisterId });

Bitcoin

// For now, the verifyQuerySignatures option must be set to false
const agent = await makeAgent({ host: 'https://icp-api.io', verifyQuerySignatures: false });
const management = getManagementCanister({
    agent
});
const result = await management.bitcoin_get_balance_query({
address: 'bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh',
network: { mainnet: null },
min_confirmations: [6],
</tr></table>

... (truncated)

Commits

Updates @dfinity/principal from 1.0.1 to 1.3.0

Release notes

Sourced from @​dfinity/principal's releases.

Release 1.3.0

What's Changed

New feature - exponential backoff for retries, using a new HttpAgent option - backoffStrategy. The agent can accept a BackoffStrategyFactory, which is a function that returns a BackoffStrategy. The strategy itself must include a next method, which yields a number or null

The default strategy mimics the one used by agent-rs. It will increase the interval using exponential backoff, and adding in a "jitter", randomizing the result a little to decrease the likelihood of calls firing at the same time as your application scales, which could cause performance issues under certain conditions.

If you prefer a constant backoff, a custom factory would look something like this in TypeScript:

import { HttpAgent, BackoffStrategy } from '@dfinity/agent'; 
const strat: BackoffStrategy = {
next: () => 1000
}
const agent = new HttpAgent({
backoffStrategy: () => strat
});

Full Changelog: dfinity/agent-js@v1.2.1...v1.3.0

Release 1.2.1

What's Changed

Full Changelog: dfinity/agent-js@v1.2.0...v1.2.1

Release 1.2.0

What's Changed

Full Changelog: dfinity/agent-js@v1.1.1...v1.2.0

Release 1.1.1

... (truncated)

Changelog

Sourced from @​dfinity/principal's changelog.

[1.3.0] - 2024-05-01

Added

  • docs: adds instructions on how to run unit and e2e tests to the README
  • chore: adds required npm audit check to PRs
  • new HttpAgent option: backoffStrategy - allows you to set a custom delay strategy for retries. The default is a newly exported exponentialBackoff, but you can pass your own function to customize the delay between retries.

Changed

  • chore: upgrades github actions to v4
  • fix: retry logic now includes delays with exponential backoff matching the dfx strategy. Retries should no longer happen too quickly for the replica to catch up.

[1.2.1] - 2024-04-25

Added

  • feat: make IdbStorage get/set methods generic
  • chore: add context to errors thrown when failing to decode CBOR values.
  • chore: replaces globle npm install with setup-node for size-limit action

[1.2.0] - 2024-03-25

Added

  • feat: adds support for verified queries against management canister
    • includes support for fetch_canister_logs in the actor provided by getManagementCanister
    • also includes support for bitcoin queries

Logging

// Agent should not use an anonymous identity for this call, and should ideally be a canister controller
const management = await getManagementCanister({ agent });
const logs = await management.fetch_canister_logs({ canister_id: canisterId });

Bitcoin

// For now, the verifyQuerySignatures option must be set to false
const agent = await makeAgent({ host: 'https://icp-api.io', verifyQuerySignatures: false });
const management = getManagementCanister({
    agent
});
const result = await management.bitcoin_get_balance_query({
address: 'bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh',
network: { mainnet: null },
min_confirmations: [6],
</tr></table>

... (truncated)

Commits

Updates @dfinity/utils from 2.1.2 to 2.3.1

Changelog

Sourced from @​dfinity/utils's changelog.

2024.06.11-1630Z

Overview

The current status of the libraries at the time of the release is as follows:

Library Version Status
@dfinity/ckbtc v2.4.1 Maintained ⚙️
@dfinity/cketh v3.1.1 Maintained ⚙️
@dfinity/cmc v3.0.7 Maintained ⚙️
@dfinity/ic-management v5.0.1 Maintained ⚙️
@dfinity/ledger-icp v2.3.1 Maintained ⚙️
@dfinity/ledger-icrc v2.3.3 Maintained ⚙️
@dfinity/nns v5.1.2 Maintained ⚙️
@dfinity/nns-proto v2.0.1 Maintained ⚙️️
@dfinity/sns v3.0.6 Maintained ⚙️
@dfinity/utils v2.3.1 Maintained ⚙️

Features

  • Update ckETH Candid definition.

Build

  • Bump braces.

2024.06.05-0835Z

Overview

The current status of the libraries at the time of the release is as follows:

Library Version Status
@dfinity/ckbtc v2.4.0 Enhanced 🔧
@dfinity/cketh v3.1.0 Enhanced 🔧
@dfinity/cmc v3.0.6 Maintained ⚙️
@dfinity/ic-management v5.0.0 Breaking Changes ⚠️
@dfinity/ledger-icp v2.3.0 Enhanced 🔧
@dfinity/ledger-icrc v2.3.2 Maintained ⚙️
@dfinity/nns v5.1.1 Maintained ⚙️
@dfinity/nns-proto v2.0.0 Unchanged️
@dfinity/sns v3.0.5 Maintained ⚙️
@dfinity/utils v2.3.0 Enhanced 🔧

Breaking changes

  • bitcoinGetUtxos and bitcoinGetUtxosQuery have been removed from the @dfinity/ic-management library. Instead, use getUtxos from the new Bitcoin canister exposed in @dfinity/ckbtc to access similar data.

... (truncated)

Commits

Updates @dfinity/identity-secp256k1 from 1.0.1 to 1.3.0

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the dfinity-dependencies group with 4 updates in the / directory: [@dfinity/agent](https://github.com/dfinity/agent-js/tree/HEAD/packages/agent), [@dfinity/auth-client](https://github.com/dfinity/agent-js/tree/HEAD/packages/auth-client), [@dfinity/utils](https://github.com/dfinity/ic-js/tree/HEAD/packages/utils) and @dfinity/identity-secp256k1.


Updates `@dfinity/agent` from 1.0.1 to 1.3.0
- [Release notes](https://github.com/dfinity/agent-js/releases)
- [Changelog](https://github.com/dfinity/agent-js/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/dfinity/agent-js/commits/v1.3.0/packages/agent)

Updates `@dfinity/auth-client` from 1.0.1 to 1.3.0
- [Release notes](https://github.com/dfinity/agent-js/releases)
- [Changelog](https://github.com/dfinity/agent-js/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/dfinity/agent-js/commits/v1.3.0/packages/auth-client)

Updates `@dfinity/identity` from 1.0.1 to 1.3.0
- [Release notes](https://github.com/dfinity/agent-js/releases)
- [Changelog](https://github.com/dfinity/agent-js/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/dfinity/agent-js/commits/v1.3.0/packages/identity)

Updates `@dfinity/principal` from 1.0.1 to 1.3.0
- [Release notes](https://github.com/dfinity/agent-js/releases)
- [Changelog](https://github.com/dfinity/agent-js/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/dfinity/agent-js/commits/v1.3.0/packages/principal)

Updates `@dfinity/utils` from 2.1.2 to 2.3.1
- [Release notes](https://github.com/dfinity/ic-js/releases)
- [Changelog](https://github.com/dfinity/ic-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/dfinity/ic-js/commits/HEAD/packages/utils)

Updates `@dfinity/identity-secp256k1` from 1.0.1 to 1.3.0

---
updated-dependencies:
- dependency-name: "@dfinity/agent"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dfinity-dependencies
- dependency-name: "@dfinity/auth-client"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dfinity-dependencies
- dependency-name: "@dfinity/identity"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dfinity-dependencies
- dependency-name: "@dfinity/principal"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dfinity-dependencies
- dependency-name: "@dfinity/utils"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dfinity-dependencies
- dependency-name: "@dfinity/identity-secp256k1"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dfinity-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 17, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 24, 2024

Superseded by #163.

@dependabot dependabot bot closed this Jun 24, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/dfinity-dependencies-9af9944f4e branch June 24, 2024 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants