-
Notifications
You must be signed in to change notification settings - Fork 4
Version 0.3.0 #237
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
Version 0.3.0 #237
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Node.js example
Browser adjustements
* sourcemap tools: add sourcemap processor for adding source snippets and sourcemap keys * sourcemap tools: fix Prettier issues * sourcemap tools: add semicolon to end of source snippet in DebugIdGenerator * sourcemap tools: renames SourceProcessor tests * sourcemap tools: add comment about addMapping * sourcemap tools: add docs to SourceProcessor * sourcemap tools: add more explanation to offsetting sourcemaps * sourcemap tools: update SourceProcessor tests to test for number of newlines in modified sourcemaps --------- Co-authored-by: Sebastian Alex <sebastian.alex@saucelabs.com>
* webpack plugin: replaces version plugins with a simpler plugin using SourceProcessor * webpack plugin: removes unit tests * webpack plugin: simplifies options, refactors logging * webpack plugin: changes e2e tests to work with new options * webpack plugin: change error message on undefined output path --------- Co-authored-by: Sebastian Alex <sebastian.alex@saucelabs.com>
* URL parsers * Code review suggestions * Nullable token
* webpack-plugin: add webpack build for testing * webpack-plugin: add asset stats printing * webpack plugin: changes info logs to log --------- Co-authored-by: Sebastian Alex <sebastian.alex@saucelabs.com>
* URL parsers * Command line attribute provider * Code review suggestions * Nullable token * Resolved path to node file * Do not use resolve
* URL parsers * Command line attribute provider * Code review suggestions * Metrics support * Nullable token * Accept null | undefined * Correct import * Determines typo * Code review adjustements * Code review adjustements, test based on the variable and not random date, delay helper reject * Recursive to iterative + delay helper error on reject * Added one more test case * Rollback submission url in the test
* sdk-core: add DebugIdProvider and DebugIdMapProvider * sdk-core: add appending debugId to frames * browser, node: use VariableDebugIdMapProvider * sdk-core: change debugId to debug_identifier * sdk-core: fix unit tests, add test for debug_identifier set * sdk core: load debugIds on DebugIdProvider construction --------- Co-authored-by: Sebastian Alex <sebastian.alex@saucelabs.com>
* sourcmap tools: replace SourceMapUploader with SymbolUploader * sourcmap tools: add ZipArchive * webpack plugin: change uploading of sourcemaps to ZIP upload * build: update webpack tsconfig.json path * sourcemap tools: fix ZipArchive test missing dir * webpack plugin: fix zipping sourcemaps by passing stream instead of string * sourcemap tools: minor type fixes in ZipArchive --------- Co-authored-by: Sebastian Alex <sebastian.alex@saucelabs.com>
* Adding React Backtrace Client, ErrorBoundary, and tests * Adding package-lock.json file * Changing props and state to use interfaces instead of type * Switching from a window variable to a static instance on BacktraceClient * Updating the static instance in BacktraceClient to use a getter as well as it's usage and tests * Making the instance param of BacktraceClient optional --------- Co-authored-by: Adam Cronin <acronin@backtrace.io>
* sourcemap tools: add functions to DebugIdGenerator for retrieving values * sourcemap tools: add FileFinder * sourcemap tools: add Logger definition * sourcemap tools, webpack plugin: change process file fn to not write to disk * sourcemap tools: add sources to source map functionality * sourcemap tools: add Result and AsyncResult * cli, webpack, sourcemap tools: add Result returning for error handling --------- Co-authored-by: Sebastian Alex <sebastian.alex@saucelabs.com>
* cli: add initial @backtrace/cli project * cli: add command-line-args and command-line-usage package * cli: add commands support * cli: add logger implementation and usage * cli: add reference to @backtrace/sourcemap-tools * cli: add common functions * cli: add process command * cli: add upload command * cli: add addSources command * cli: add archive output feature * cli: change verbosity levels * cli: add doc to find * cli: extract 'backtrace' command name to a const * cli: fix file collisions in uploaded zip archive * cli: change default Command generic param to object --------- Co-authored-by: Sebastian Alex <sebastian.alex@saucelabs.com>
…#41) Co-authored-by: Sebastian Alex <sebastian.alex@saucelabs.com>
* Adding React Backtrace Client, ErrorBoundary, and tests * Creating a basic react app that uses the react sdk to send an error to Backtrace on rendering error * Adding a button to manually trigger an error/report and updating some of the wording * Updating tsconfig * Adding a format and lint script to package.json * Updating readme to show how to run the example * Removing eslintConfig from package.json * Cleaning up package.json * Cleaning up sendError(), Adding submission url const, and adding toasts * Updating README.md to be more specific to our app and removing eject and test scripts from package.json * Adding a message example and updating wording on buttons * Removing unnecessary text from readme * Adding a metrics example --------- Co-authored-by: Adam Cronin <acronin@backtrace.io>
* sourcemap tools: remove ContentAppender * sourcemap tools: fix processing source with shebang * sourcemap tools: add source comment before trailing whitespaces in source * sourcemap tools: add doc to appendBeforeWhitespaces * sourcemap tools: fix appendBeforeWhitespaces and add tests to it * sourcemap tools: update doc in appendBeforeWhitespaces --------- Co-authored-by: Sebastian Alex <sebastian.alex@saucelabs.com>
Co-authored-by: Sebastian Alex <sebastian.alex@saucelabs.com>
Co-authored-by: Sebastian Alex <sebastian.alex@saucelabs.com>
* Node unhandled exceptions/rejections * Correct submission URL * Unhandled exception handler * Do not exted launch settings * Respect unhandled rejection mode in app * Improve warning messages generated on unhandled promise rejection. Added options to disable the feature * Fixed typo in node_env * Move functions to consts
* Browser unhandled error handler * Client - subscribe to event handlers * Browser unhandled error handler
* Before send event support * Skip report callback * Test name fix
* Updating readme to show how to run the example * Updating README.md to be more specific to our app and removing eject and test scripts from package.json * Adding ability to send BacktraceData to the client.send(). This allows us to add the component stack as a thread to be viewed in the UI as well * Adding ability to detect and parse React 16 component stacks as well as tests * Quick cleanup * Adding check for object in isBacktraceData * Updating the react component stack parsing to better follow existing patterns. This adds a react stack trace converter and updates the BacktraceReport stackTrace to be a Record with stack trace info as the value * Fixing reference to BacktraceData * Updates based on PR feedback. The main one being adding message back as a field in BacktraceReport * Moving the React 16 component stack helpers to ReactStackTraceConverter * Adding tests for BacktraceReport.addStackTrace() * Adding a test for thread generation in BacktraceDataBuilder * Updating comment format --------- Co-authored-by: Adam Cronin <acronin@backtrace.io>
Co-authored-by: Sebastian Alex <sebastian.alex@saucelabs.com>
Co-authored-by: Sebastian Alex <sebastian.alex@saucelabs.com>
Co-authored-by: Sebastian Alex <sebastian.alex@saucelabs.com>
Co-authored-by: Sebastian Alex <sebastian.alex@saucelabs.com>
Co-authored-by: Sebastian Alex <sebastian.alex@saucelabs.com>
* sourcemap-tools: add force and more results to add sources * cli: add overload to logAsset and rename it to createAssetLogger * cli: add helper methods to errorBehavior * cli: process addSources result with behavior --------- Co-authored-by: Sebastian Alex <sebastian.alex@saucelabs.com>
* sourcemap-tools: attempt to add snippets and comments if they do not exist * cli: improve assets logging * cli: trust sourceProcessor with finding sourcemap path * cli: always process file with force passed to sourceProcessor * cli: fix unit tests * sourcemap-tools: add doc about regexp in DebugIdGenerator --------- Co-authored-by: Sebastian Alex <sebastian.alex@saucelabs.com>
Co-authored-by: Sebastian Alex <sebastian.alex@saucelabs.com>
Co-authored-by: Sebastian Alex <sebastian.alex@saucelabs.com>
* set transfer encoding to chunked * Avoid creating form data when no attachments are available
Co-authored-by: Sebastian Alex <sebastian.alex@saucelabs.com>
Co-authored-by: Sebastian Alex <sebastian.alex@saucelabs.com>
* sdk-core: Return send result * Rename method
* sdk-core: Destroy client via the dispose method * Undo metrics setup for node example
rick-bt
approved these changes
Mar 20, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Why
This pull request merges all changes from our development branch to master. This includes 0.3.1 sdk-core and 0.3.0 of the rest of our libraries