|
| 1 | +# Changelog |
| 2 | + |
| 3 | +## 1.1.19 |
| 4 | + |
| 5 | +* Use more compliant way of creating an Image in the dom. See: https://github.com/getsentry/raven-js/pull/334 |
| 6 | +* `String` objects weren't getting identified as a string. See: https://github.com/getsentry/raven-js/pull/336 |
| 7 | +* Expose getter/setter for dataCallback and shouldSendCallback |
| 8 | +* Better handle if/when the dataCallback returns garbage |
| 9 | +* Fix support for nodeunit. See: https://github.com/getsentry/raven-js/pull/338 |
| 10 | +* Fix `console.warn` sending as a `warning` level to server. See: https://github.com/getsentry/raven-js/issues/342 |
| 11 | +* Improve the capture of unhandled errors from promises in Ember plugin. See: https://github.com/getsentry/raven-js/pull/330 |
| 12 | + |
| 13 | +## 1.1.18 |
| 14 | + |
| 15 | +* Fixed a trailing comma which would make IE8 cry. This affects the uncompressed builds only. Compressed builds were unaffected. See: https://github.com/getsentry/raven-js/pull/333 |
| 16 | + |
| 17 | +## 1.1.17 |
| 18 | + |
| 19 | +* Better support for Angular errors. See: https://github.com/getsentry/raven-js/pull/238 |
| 20 | +* Allow setting truncate length through `globalOptions.maxMessageLength`. See: https://github.com/getsentry/raven-js/pull/246 |
| 21 | +* Fixed the pattern for parsing gecko stacktraces. See: https://github.com/getsentry/raven-js/pull/252 |
| 22 | +* Browserify support. See: https://github.com/getsentry/raven-js/pull/253, https://github.com/getsentry/raven-js/pull/260, https://github.com/getsentry/raven-js/pull/261 |
| 23 | +* Start tracking `session:duration` automatically as metadata. |
| 24 | +* Fix globalOptions overwrite. See: https://github.com/getsentry/raven-js/pull/264 |
| 25 | +* Better cross origin support. See: https://github.com/getsentry/raven-js/pull/276 |
| 26 | +* Better anonymous function support in Chrome stack trace parsing. See: https://github.com/getsentry/raven-js/pull/290, https://github.com/getsentry/raven-js/pull/294 |
| 27 | +* Remove deprecated `site` param. |
| 28 | +* New `Raven.isSetup()`. See: https://github.com/getsentry/raven-js/pull/309 |
| 29 | +* Better backbone.js support. See: https://github.com/getsentry/raven-js/pull/307 |
| 30 | +* `ignoreErrors` now also is applied to `captureMessage()`. See: https://github.com/getsentry/raven-js/pull/312 |
| 31 | +* Capture unhandled errors from promises in Ember. See: https://github.com/getsentry/raven-js/pull/319 |
| 32 | +* Add new support for `releases`. See: https://github.com/getsentry/raven-js/issues/325 |
| 33 | + |
| 34 | +## 1.1.16 |
| 35 | + |
| 36 | +* Fixed a bug that was preventing stack frames from `raven.js` from being hidden correctly. See: https://github.com/getsentry/raven-js/pull/216 |
| 37 | +* Fixed an IE bug with the `console` plugin. See: https://github.com/getsentry/raven-js/issues/217 |
| 38 | +* Added support for `chrome-extension://` protocol in Chrome in stack traces. |
| 39 | +* Added `setExtraContext` and `setTagsContext`. See: https://github.com/getsentry/raven-js/pull/219 |
| 40 | +* Renamed `setUser` to `setUserContext` to match. `setUser` still exists, but will be deprecated in a future release. |
| 41 | +* New `backbone.js` plugin. See: https://github.com/getsentry/raven-js/pull/220 |
| 42 | +* Added support for `chrome://` protocol in Firefox in stack traces. See: https://github.com/getsentry/raven-js/pull/225 |
| 43 | +* Ignore more garbage from IE cross origin errors. See: https://github.com/getsentry/raven-js/pull/224 |
| 44 | +* Added `Raven.debug` to prevent logging to `console` when `false`. Defaults to `true` for backwards compatability. See: https://github.com/getsentry/raven-js/pull/229 |
| 45 | +* Prevent calling `Raven.config()` or `Raven.install()` twice. See: https://github.com/getsentry/raven-js/pull/233 |
| 46 | + |
| 47 | +## 1.1.15 |
| 48 | + |
| 49 | +* Fix issues if a non-string were passed to `Raven.captureMessage` and non-Error objects were passed to `Raven.captureException`. |
| 50 | + |
| 51 | +## 1.1.14 |
| 52 | + |
| 53 | +* Only filter normal Error objects without a message, not all of them. Turns out, people throw errors like this. Ahem, Underscore.js. See: https://github.com/jashkenas/underscore/pull/1589/files |
| 54 | + |
| 55 | +## 1.1.13 |
| 56 | + |
| 57 | +* Fixed a unicode issue in the previous release. |
| 58 | + |
| 59 | +## 1.1.12 |
| 60 | + |
| 61 | +* Fix a bug using the `console` plugin with older IE. See: https://github.com/getsentry/raven-js/pull/192 |
| 62 | +* Added initial `ember.js` plugin for early testing and feedback. |
| 63 | +* Added initial `angular.js` plugin for early testing and feedback. |
| 64 | +* Fixed an issue with the `require.js` plugin basically not working at all. See: https://github.com/getsentry/raven-js/commit/c2a2e2672a2a61a5a07e88f24a9c885f6dba57ae |
| 65 | +* Got rid of `Raven.afterLoad` and made it internal only. |
| 66 | +* `Raven.TraceKit` is now internal only. |
| 67 | +* Truncate message length to a max of 100 characters becasue angular.js sucks and generates stupidly large error messages. |
| 68 | + |
| 69 | +## 1.1.11 |
| 70 | + |
| 71 | +* Capture column number from FireFox |
| 72 | +* Fix propagation of extra options through `captureException`, see: https://github.com/getsentry/raven-js/pull/189 |
| 73 | +* Fix a minor bug that causes TraceKit to blow up of someone passes something dumb through `window.onerror` |
| 74 | + |
| 75 | +## 1.1.10 |
| 76 | + |
| 77 | +* A falsey DSN value disables Raven without yelling about an invalid DSN. |
| 78 | + |
| 79 | +## 1.1.9 |
| 80 | + |
| 81 | +* Added `Raven.lastEventId()` to get back the Sentry event id. See: http://raven-js.readthedocs.org/en/latest/usage/index.html#getting-back-an-event-id |
| 82 | +* Fixed a bug in the `console` plugin. See: https://github.com/getsentry/raven-js/pull/181 |
| 83 | +* Provide a way out of deep wrapping arguments. See: https://github.com/getsentry/raven-js/pull/182 |
| 84 | +* `Raven.uninstall()` actually removes the patched `window.onerror`. |
| 85 | +* No more globally exposed `TraceKit`! |
| 86 | + |
| 87 | +## 1.1.8 |
| 88 | + |
| 89 | +* Fixed a bug in IE8. See: https://github.com/getsentry/raven-js/pull/179 |
| 90 | + |
| 91 | +## 1.1.4-1.1.7 |
| 92 | + |
| 93 | +These were a bunch of super small incremental updates trying to get better integration and better support inside Sentry itself. |
| 94 | + |
| 95 | +* Culprit determined from the src url of the offending script, not the url of the page. |
| 96 | +* Send Sentry the frames in the right order. They were being sent in reverse. Somehow nobody noticed this. |
| 97 | +* Support for Chrome's new window.onerror api. See: https://github.com/getsentry/raven-js/issues/172 |
| 98 | + |
| 99 | +## 1.1.3 |
| 100 | + |
| 101 | +* When loading with an AMD loader present, do not automatically call `Raven.noConflict()`. This was causing issues with using plugins. See: https://github.com/getsentry/raven-js/pull/165 |
| 102 | +* https://github.com/getsentry/raven-js/pull/168 |
| 103 | + |
| 104 | +## 1.1.2 |
| 105 | + |
| 106 | +* An invalid DSN will now raise a RavenConfigError instead of some cryptic error |
| 107 | +* Will raise a RavenConfigError when supplying the private key part of the DSN since this isn't applicable for raven.js and is harmful to include |
| 108 | +* https://github.com/getsentry/raven-js/issues/128 |
| 109 | + |
| 110 | +## 1.1.1 |
| 111 | + |
| 112 | +* Fixed a bug in parsing some DSNs. See: https://github.com/getsentry/raven-js/issues/160 |
| 113 | + |
| 114 | +## 1.1.0 |
| 115 | + |
| 116 | +### Plugins |
| 117 | +If you're upgrading from 1.0.x, 2 "plugins" were included with the package. These 2 plugins are now stripped out of core and included as the `jquery` and `native` plugins. If you'd like to start using 1.1.0 and maintain existing functionality, you'll want to use: http://cdn.ravenjs.com/1.1.0/jquery,native/raven.min.js For a list of other plugins, checkout http://ravenjs.com |
| 118 | + |
| 119 | +### ravenjs.com |
| 120 | +A new website dedicated to helping you compile a custom build of raven.js |
| 121 | + |
| 122 | +### whitelistUrls |
| 123 | +`whitelistUrls` are recommended over `ignoreUrls`. `whitelistUrls` drastically helps cut out noisy error messages from other scripts running on your site. |
| 124 | + |
| 125 | +### Misc |
| 126 | +* `ignoreUrls`, `ignoreErrors`, `includePaths` have all been unified to accept both a regular expression and strings to avoid confusion and backwards compatability |
| 127 | +* `Raven.wrap` recursively wraps arguments |
| 128 | +* Events are dispatched when an exception is received, recorded or failed sending to Sentry |
| 129 | +* Support newer Sentry protocol which allows smaller packets |
| 130 | +* Allow loading raven async with RavenConfig |
| 131 | +* Entirely new build system with Grunt |
| 132 | +* `options.collectWindowErrors` to tell Raven to ignore window.onerror |
0 commit comments