Giter VIP home page Giter VIP logo

Comments (5)

github-actions avatar github-actions commented on July 24, 2024 1

🎉 This issue has been resolved in version 3.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

from apollo-link-sentry.

ZerdoX-x avatar ZerdoX-x commented on July 24, 2024

Using chrome's code coverage here is how chunk changed after removing apollo-link-sentry from the project (before, after):

image


image

Reduction of total size ~230kb
Reduction of unused size ~170kb

from apollo-link-sentry.

spawnia avatar spawnia commented on July 24, 2024

Open for suggestions or pull requests to fix this, I do not plan to work on this myself.

from apollo-link-sentry.

Poky85 avatar Poky85 commented on July 24, 2024

In my project I don't have problem with so much code added by apollo-link-sentry. I think it's because:

  1. most of dependencies has already existed in project (@apollo/client, zen-observable-ts, @sentry/browser and graphql)
  2. Tree shaking works well (I use Parcel 2.x)

Anyway I suggest to drop some dependencies that seems unecessary to me. I can prepare PR when agreed. E.g.:

export function withDefaults(options: SentryLinkOptions): FullOptions {
  return {
    …defaultOptions,
    …options,
    attachBreadcrumbs: {
      …defaultOptions.attachBreadcrumbs
      …options?.attachBreadcrumbs
    }
  };
}

from apollo-link-sentry.

spawnia avatar spawnia commented on July 24, 2024

I can prepare PR when agreed.

Please do, I am fine with releasing a new major version that breaks things. Consider https://github.com/angular/angular/blob/main/CONTRIBUTING.md#-commit-message-format.

from apollo-link-sentry.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.