Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 14, 2022

Bumps express to 4.18.2 and updates ancestor dependency @opengsn/gsn. These dependencies need to be updated together.

Updates express from 4.17.1 to 4.18.2

Release notes

Sourced from express's releases.

4.18.2

4.18.1

  • Fix hanging on large stack of sync routes

4.18.0

... (truncated)

Changelog

Sourced from express's changelog.

4.18.2 / 2022-10-08

4.18.1 / 2022-04-29

  • Fix hanging on large stack of sync routes

4.18.0 / 2022-04-25

... (truncated)

Commits

Updates @opengsn/gsn from 2.0.0-beta.1.3 to 2.1.0

Release notes

Sourced from @​opengsn/gsn's releases.

v2.1.0 release

This a new client and relayer release.

This new version is fully compatible with previous versions (that is, newer client can use older relayers, and vice-versa)

Client Changes

  • We try to make creation simpler. a relayer is now created with a helper function:
   const gsnProvider = await RelayProvider
      .newProvider( provider,  { paymasterAddress: ..., }  )
      .init()
  • the resolveConfigurationGSN,configureGSN methods are now removed completely from the API, as they became internal methods of the relay client.
  • logger configuration are packed into inner structure. so to set logs to error only, you need to specify: loggerConfiguration: {logLevel: 'error'},
  • loggerURL was added in previous release. now it is moved into the loggerConfiguration block.

Relay modifications (note that these items were reported on the unpublished 2.0.3 relay version)

  • gasPriceOracle - relayer can use an external gas-price oracle, instead of relying on the Node's getGasPrice(). See opengsn/gsn#526
  • support loggerUrl (like the client) to redirect logs to a centralized logger, for trouble-shooting.
  • Several security enhancements:
    • Paymaster reputation mechanism
    • Improved boosting mechanism (after gas-price fluctuations):

Contracts

There are no contract changes. the new client and relayers are fully compatible with the deployed contacts (and also previous relayers/clients)

v2.0.3

This a new client library release.

Client Changes

  • Added a simpler way to initialize the provider:

    gsnProvider = await RelayProvider( provider,  { paymasterAddres: ..., }  ).init()
    
  • This is actually 2 changes:

    • No longer need to provide full configuration (e.g. using resolveConfigurationGSN()/configureGSN()) before passing the configuration to the provider.
    • added explicit async init() function (which resolves any missing configuration parameters). This init method is called automatically by first "send()" operation - But it is much better to call it explicitly, even if in the background, so that the first transaction will execute faster.
    • The "old" way of using the RelayProvider still works, it is just less efficient (requires async call before creating the provider, and still defers some of the initialization to the first call of "send()"
  • added loggerUrl configuration param, to allow centralized logger for troubleshooting.

  • the logLevel parameter now receives textual values "error/warning/info/debug" and not numeric. the default is still "error" (used to be 5), which means only errors are logged.

  • auditorsCount : a mechanism for the client to verify its server's response: the client select other relayer(s) to verify the relayer didn't try to "cheat". The default is "1". set this parameter to zero (e.g. on testnets) to prevent sending the request through another relayer.

  • added registerEventListener(), to let the client receive events on the progress of the GSN event handling.

  • Better error handling of failed requests.

... (truncated)

Commits

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 ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [express](https://github.com/expressjs/express) to 4.18.2 and updates ancestor dependency [@opengsn/gsn](https://github.com/opengsn/gsn). These dependencies need to be updated together.


Updates `express` from 4.17.1 to 4.18.2
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](expressjs/express@4.17.1...4.18.2)

Updates `@opengsn/gsn` from 2.0.0-beta.1.3 to 2.1.0
- [Release notes](https://github.com/opengsn/gsn/releases)
- [Commits](opengsn/gsn@v2.0.0-beta.1.3...v2.1.0)

---
updated-dependencies:
- dependency-name: express
  dependency-type: indirect
- dependency-name: "@opengsn/gsn"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 14, 2022
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.

1 participant