UNPKG

13.7 kBMarkdownView Raw
1# Changelog
2
3## 2.6.4 - 2018-09-03
4
5- fix: Updated uuid module (#1481)
6
7## 2.6.3 - 2018-06-20
8
9- fix: Always pass request through parseRequest for raven-node (#1404)
10
11## 2.6.2 - 2018-05-17
12
13- ref: Emit transaction instead of culprit (#458)
14
15## 2.6.1 - 2018-05-10
16
17- fix: correctly detect errors from vm (#457)
18- ref: use console.warn for alerts and store them in Set (#455)
19- ci: Add node 9 and 10 to travis builds (#456)
20
21## 2.6.0 - 2018-04-24
22
23- fix: Use shallow-copy instead of deep-copy when working with context to prevent too large memory usage and slowing down request responses [See #452]
24
25## 2.5.0 - 2018-04-09
26
27- feat: log non-standard ports in breadcrumbs (#440)
28- feat: add flag for unhandled promise rejections (#446)
29- fix: Remove a redundant try-catch block (#445)
30- fix: Do not override context when capturing non-error exceptions (#444)
31- fix: Update stack-trace to handle spaces in paths (#437)
32- docs: Remove private DSNs from the docs (#447)
33- docs: Update Usage docs to include Domains in Promise support (#438)
34
35## 2.4.2 - 2018-02-27
36
37- fix: Don't throw exception when called captureException without config (#431)
38- fix: Preserve context in for rejected promises (#428)
39- ref: Log promise rejection reason alongside eventid (#434)
40- ref: Use named function for middlewares (#429)
41
42## 2.4.1 - 2018-02-09
43
44- fix: Handle scoped packages structure in node-lsmod (#426)
45- fix: Report fatal errors as indeed "fatal" (#425)
46- ref: Use a named function for the middleware over an anonymous (#424)
47
48## 2.4.0 - 2018-01-24
49
50- feat: Sensible non-Error exception serializer (#416)
51- fix: workaround for express.js 'host' deprecation message (#413)
52
53## 2.3.0 - 12/11/2017
54
55- fix: attach remaining non-enumerables to req [See #387]
56- feat: Allow to configure stacktrace for captureMessage calls [See #388]
57- fix: access 'process' through global variable [See #399]
58- ref: Enable http instrumentation by default [See #401]
59- ref: Warn user when using capture/wrap without installing Raven [See #402]
60- ci: Integrate Zeus and release with the bot [See #403]
61- ref: Delete empty properties before sending event to the server [See #407]
62- feat: Support Boom library statusCode [See #408]
63
64## 2.2.1 - 10/02/2017
65
66- Remove unintentional memwatch-next dependency
67
68## 2.2.0 - 10/02/2017
69- Fixed all Node v8 tests to ensure everything is working correctly [See #366]
70- Raven now uses Prettier to format it's code [See #364]
71- Prevent Raven from queueing too many requests in case server is down [See #132]
72- Enable keep-alive on socket connection and limit number of sockets [See #284]
73- Pull Error's name from constructor, not Error itself to always get correct error type [See #372]
74- Updated Errors serialization to store all additional properties and allow for attaching other object instances directly to it [See #376]
75- Preserve some non-enumerable properties from request [See #379]
76- Fall back to `NODE_ENV` for Sentry Environment [See #384]
77
78## 2.1.2 - 8/16/2017
79- Remove errant large file that accidentally got published in 2.1.1. [See #361]
80
81## 2.1.1 - 7/27/2017
82- Fix issue where HTTP request was duplicated as `req` (and dropped by Sentry server). [See #340]
83
84## 2.1.0 - 6/20/2017
85- Truncate long lines in surrounding source to avoid sending large amounts of minified code [See #329]
86- Refactor automatic breadcrumb instrumentation of modules to accommodate compilation tools [See #322]
87- Testing for Node 8 [See #328]
88
89## 2.0.2 - 5/24/2017
90- Fix issue with sending empty request details when no request is present [See #324]
91
92## 2.0.1 - 5/16/2017
93- Fix memory explosion when parsing stack for large files [See #320]
94
95## 2.0.0 - 5/10/2017
96- Properly surface errors to preserve process exit conditions [See #308, #257]
97 - Node processes with raven will now exit in exactly the same situations as if raven were not present
98 - Previously, there were failure scenarios where raven would erroneously cause the process to continue to run when it should have shut down
99 - **Be aware when upgrading:** it is possible that with raven-node 2.0, your node process will shut down from exceptions where it previously did not
100 - This also includes changes to more reliably finish capturing the exception that induces process shutdown
101- Don't include `domain` property as extra property on `Error` objects [See #309]
102- Parse `req` object from context or kwargs [See #310]
103 - For Express middleware users in particular, raven will now automatically report request details and user context in situations where it previously did not
104- Tidied up `.npmignore` to exclude unnecessary files in npm package [See #311]
105 - Install size reduced from 484kB to 84kB, which should save npm ~100GB/month in bandwidth
106- Removed various deprecated methods [See #313]
107- Removed postgres autoBreadcrumbs to avoid webpack dependency issue [See #315, #254]
108 - postgres (and more) autoBreadcrumbs will return in version 2.1
109
110## 1.1.6, 1.2.1 - 4/7/2017
111- Fix memory leak in `consoleAlert` (and thus, if not disabled, in `captureException`) [See #300]
112
113## 1.2.0 - 3/16/2017
114- Add sampleRate config option [See #292]
115
116## 1.1.5 - 3/16/2017
117- Fix memory leak in http autoBreadcrumb instrumentation [See #296]
118
119## 1.1.4 - 3/6/2017
120- Use `util.format` to get message string in `console` instrumentation [See #289]
121
122## 1.1.3 - 2/27/2017
123- Add `parseUser` option to control user parsing behavior [See #274]
124- Make http instrumentation use `req.emit` instead of response event handler [See #276]
125- Add alert about raven-node vs raven-js when it seems like a browser env [See #277]
126
127## 1.1.2 - 2/8/2017
128- Send kwargs to `shouldSendCallback` [See #251]
129- Capture breadcrumbs from global context [See #267]
130- Make stack parsing native-frame-check work on Windows paths [See #268]
131- Bind req/res to context domain in express requestHandler [See #269]
132- Fix postgres/pg name mismatch [See #270]
133
134## 1.1.1 and 1.0.1 - 12/13/2016
135- Fix middleware backwards compatibility [See #246]
136
137## 1.1.0 - 12/12/2016
138- Added support for (automatic) breadcrumbs [See #240]
139 - `Raven.captureBreadcrumb` manual method
140 - `autoBreadcrumbs` config field to automatically capture breadcrumbs for:
141 - console logs
142 - http requests
143 - postgres queries
144- Deprecate `captureQuery` [See #239]
145
146## 1.0.0 - 12/12/2016
147- `Raven.config(...)` instead of `new raven.Client(...)`
148- `Raven.install()` instead of `client.patchGlobal()`
149- The callback to `Raven.captureException` now fires after transmission [See #217]
150- Added `captureUnhandledRejections` option for Promise rejections
151- Introduced contexts and associated `set/merge/getContext` methods [See #207]
152- Added `shouldSendCallback` config option and `set*Callback` methods [See #220]
153- Added `intercept()` method [See #225]
154- Backwards compatibility was mostly maintained, but lots of stuff was deprecated
155 - We'll print console messages if you're doing anything the old way
156 - We'll also print console messages in certain situations where behavior might be surprising, like if no DSN is configured
157 - You can disable these alerts with `Raven.disableConsoleAlerts();`
158
159## 0.12.3 - 11/21/2016
160 * Replace `node-uuid` dependency with `uuid` [See #236]
161
162## 0.12.2 - 11/17/2016
163 * Add column number to stack frames [See #235]
164 * Check that `require.main.filename` is defined [See #233]
165
166## 0.12.1 - 8/4/2016
167 * Fix bug where `environment` option was not actually being transmitted to Sentry [See #185]
168
169## 0.12.0 - 8/1/2016
170 * Add `environment` config option and `setRelease` method [See #179]
171 * No longer passes `process.env` values [See #181]
172 * Connect/Express middleware now attempts to attach `req.user` as User interface [See #177]
173 * Use json-stringify-safe to prevent circular refs [See #182]
174
175## 0.11.0 - 5/5/2016
176 * `captureError` renamed to `captureException` to match raven-js (alias exists for backwards compat)
177 * `parsers.parseError` now coerces Error type to string. [See #155]
178
179## 0.10.0 - 1/24/2016
180 * Now supports global context for extra data, tags, user [See #141]
181 * Added `setUserContext`, `setExtraContext`, `setTagsContext`
182
183## 0.9.0 - 11/23/2015
184 * Always coerce req.body to string. [See 2061d4efbf269c5e2096f2b7b55f5af2249c4aa7]
185 * Allow passing options to HTTP transports. [See #123]
186 * Fixed tests for node 4.0/5.0
187 * Don't send a body for GET/HEAD requests unless one has been passed. [See 0476a6e9818135b8b258b0be0724c369fe30e3c7]
188
189## 0.8.1 - 06/15/2015
190 * Fixed a missing `domain` import in the Express/Connect middleware [See #120]
191
192## 0.8.0 - 06/15/2015
193 * Drop support for node 0.6
194 * Remove `SENTRY_SITE` environment variable usage
195 * Fixed `express deprecated req.host: Use req.hostname instead` warning [See #101]
196 * Allow passing custom `ca` options for an https request [See #110 #108]
197 * Use newer API endpoint [See #105]
198 * Added support for Sentry's new Releases feature
199 * Update Express/Connect middleware to support domains [See #116]
200
201## 0.7.3 - 03/05/2015
202 * When calling `captureError` without an Error, generate a fake `Error` object to pull stacktrace from. [See #87]
203 * Prevent `patchGlobal` from causing recursion [See #84]
204 * Fixed issues around capturing tags.
205 * Removed deprecated `site` parameter.
206 * Allow explicitly declaring the `culprit` [See #107]
207 * Publicly export out the various parsers [See #111]
208 * Support for iojs and node 0.12
209
210## 0.7.2 - 09/09/2014
211 * Added `dataCallback` option to Client configuration. See: https://github.com/getsentry/raven-node#pre-processing-data
212
213## 0.7.1 - 08/24/2014
214 * Fixed package.json to not install junk from `optionalDependencies`. TIL `optionalDependencies` are still installed. [See #89]
215
216## 0.7.0 - 06/24/2014
217 * Moved from mattrobenolt/raven-node into getsentry/raven-node
218 * Bumped to sentry protocol version 5
219 * Capture all properties off of an Error object and send them along as as `extra` [See #72]
220 * Better feature detection support for capturing request parameters. Adds support for use in Koa. [See #78 #79]
221
222## 0.6.3 - 04/02/2014
223 * Fix another issue that was breaking when running Raven from the REPL [See #66]
224 * Add additional meta data on the error callbacks [See #67 #73]
225
226## 0.6.2 - 02/14/2014
227 * Allow overriding the logger name for an individual event
228 * Update lsmod to not break when running Raven from the REPL
229 * Added a `raven` bin so you can run `raven test [DSN]`
230
231## 0.6.1 - 01/23/2014
232 * Use lsmod for getting the list of installed modules [See #55]
233 * Parse cookies on the http request always [See #56]
234 * Use `stack-trace` to assist in capturing stacks. This should fix compat with the New Relic plugin [See #57]
235
236## 0.6.0 - 11/9/2013
237 * Updated sentry protocol to version 4 (Requires Sentry 6.0+ now)
238 * Module names now include the full path
239 * Attach client IP address to env object
240
241## 0.5.6 - 11/8/2013
242 * Include module and function name in stacktrace culprit
243
244## 0.5.5 - 11/8/2013
245 * Only record exceptions for 500 status codes from Connect middleware
246
247## 0.5.4 - 10/13/2013
248 * Fix DSN parser when using Sentry at a non-root URL, thanks @rcoup [See #44]
249
250## 0.5.3 - 10/4/2013
251 * Bump raw-stacktrace version
252
253## 0.5.2 - 9/10/2013
254 * Fix compatibilities with CoffeeScript [Fixes #47] [Fixes #50]
255 * Doesn't choke on circular references
256
257## 0.5.1 - 5/1/2013
258 * Add support for third party transports, thanks @crankycoder
259
260## 0.5.0 - 4/8/2013
261 * Remove NODE_ENV entirely, fixes many issues since people have different opinions on wtf this means
262 * Several fixes in collecting a better stack trace, thanks @azylman
263 * Pass exception through to the patchGlobal callback, thanks @ktmud [See #28]
264 * Official 0.10 support!
265 * Other misc things. https://github.com/mattrobenolt/raven-node/compare/v0.4.7...v0.5.0
266
267## 0.4.7 - 1/13/2013
268 * Actually disable when NODE_ENV does not equal 'production' [Fixes #25]
269
270## 0.4.6 - 1/13/2013
271 * Added `platform=node` to payload for Sentry 5.1
272
273## 0.4.5 - 12/05/2012
274 * Resolve `node_modules` path properly [Fixes #23]
275
276## 0.4.4 - 11/10/2012
277 * Prevent 'error' event from bubbling up due to no listeners [See #22]
278 * Augment 'error' event emitter with an actual Error object [See #22]
279
280## 0.4.3 - 10/02/2012
281 * Allow a callback to be given to `patchGlobal()` [Fixes #19]
282 * Removed old `patch_global()` alias
283
284## 0.4.2 - 9/29/2012
285 * Added test coverage to `patchGlobal()`
286 * Quit using my own deprecated `get_ident()` method inside `patchGlobal`
287 * Send string errors as a normal message to prevent Sentry server from crying [Fixes #18]
288
289## 0.4.1 - 9/3/2012
290 * patchGlobal() was actually broken. :( Thanks @ligthyear [Fixes #17]
291
292## 0.4.0 - 8/14/2012
293 * Silence and disable Raven/Sentry when using a non-existent or falsey DSN value
294
295## 0.3.0 - 6/23/2012
296 * Separate transports out into their own module for portability
297 * Added UDP transport [Fixes #10]
298 * Ignore sub-transports, such as gevent+https, raven sees it as just https
299
300## 0.2.4 - 6/16/2012
301 * Added parsing DSNs with non-standard port. [Fixes #4]
302 * Added BSD license
303
304## 0.2.3 - 3/30/2012
305 * Prevent any potentially odd stack traces from causing Raven to crash. [Fixes #2]
306
307## 0.2.2 - 3/22/2012
308 * raven.Client now emits `logged` and `error` events.
309
310## 0.2.1 - 3/22/2012
311 * Fixed connect/express middleware, thanks Almad!
312
313## 0.2.0 - 3/18/2012
314 * Renamed all methods to follow `client.capture*()` pattern. (Sorry if you were already using it!)
315 * All `npm` installed modules are shoved into Sentry for debugging
316 * Toggle actual sending based on `NODE_ENV` variable. Check README for information.
317 * Fixes for more types of stack traces.
318 * Added `client.captureQuery()`
319 * Support for `SENTRY_DSN`, `SENTRY_NAME`, and `SENTRY_SITE` environment variables
320 * More test coverage
321
322## 0.1.0 - 3/17/2012
323 * Initial release