Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Bump toucan-js from 2.7.0 to 3.1.0 #167

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps toucan-js from 2.7.0 to 3.1.0.

Release notes

Sourced from toucan-js's releases.

toucan-js@3.1.0

Minor Changes

  • 5f6cea5: Update Sentry dependencies to 7.28.1

toucan-js@3.0.0

This is a complete rewrite of toucan-js. The goal of this update is to reuse more components from @​sentry/core, fix long-standing issues with source maps, and provide starters using various bundlers (esbuild, rollup, vite, webpack).

The good news is that toucan-js now supports pretty much all SDK options and methods provided in official Sentry SDKs for JavaScript that you all are used to and love.

The bad news is that I may fail to document all breaking changes, because toucan-js now delegates to a lot of code written by someone else. So use this release with caution. :)

Breaking changes

  • Toucan now uses Envelopes protocol with POST /api/<project_id>/envelope/ endpoint, instead of previously used POST /api/<project_id>/store/ endpoint.

  • Toucan client is no longer the default export. It is now a named export.

    Before:

    import Toucan from 'toucan-js';

    After:

    import { Toucan } from 'toucan-js';
  • setFingerprint is no longer a top level method. This method is now available on Scope. There are many ways to configure scope:

Option 1:

const sentry = new Toucan({
      dsn: env.SENTRY_DSN,
      context,
      request,
      initialScope: {
        fingerprint:  [...]
</tr></table> 

... (truncated)

Commits
  • 0ad38a1 Merge pull request #120 from robertcepa/changeset-release/master
  • cd13aaa Version Packages
  • 4f95cea Merge pull request #119 from robertcepa/sentry-deps/7.28.1
  • 5f6cea5 Update sentry dependencies to 7.28.1
  • 5712267 Merge pull request #116 from robertcepa/docs
  • 01ffabd Clarify setRequestBody in documentation
  • aa70df8 Merge pull request #114 from robertcepa/changeset-release/master
  • 7dd203c Version Packages
  • 46321ce Merge pull request #113 from robertcepa/rewrite-3.0
  • adf151f Full rewrite
  • Additional commits viewable in compare view

Dependabot compatibility score

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)

Bumps [toucan-js](https://github.com/robertcepa/toucan-js) from 2.7.0 to 3.1.0.
- [Release notes](https://github.com/robertcepa/toucan-js/releases)
- [Commits](https://github.com/robertcepa/toucan-js/compare/v2.7.0...toucan-js@3.1.0)

---
updated-dependencies:
- dependency-name: toucan-js
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Dec 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants