Skip to content
This repository has been archived by the owner on Jun 12, 2018. It is now read-only.

Latest commit

 

History

History
508 lines (382 loc) · 17 KB

CHANGELOG.md

File metadata and controls

508 lines (382 loc) · 17 KB

4.17.0 - 2018/1/18

  • feat(mongodb): add support for mongodb-core 3.x
  • feat(ws): add support for ws@4.x
  • fix(graphql): support sync execute
  • fix(https): instrument https.request in Node.js v9

4.16.0 - 2017/9/14

  • feat(graphql): include GraphQL operation name in trace and transaction names (#195)

4.15.2 - 2017/9/13

  • fix(instrumentation): fix setting of custom flushInterval
  • fix(parser): support http requests with full URI's
  • fix(trace): don't allow un-started traces to calculate startTime
  • fix(trace): don't allow un-started traces to be ended

4.15.1 - 2017/7/31

  • http/https: fix issue with outgoing http requests (#179)

4.15.0 - 2017/7/27

  • pg: add support for pg version 7

4.14.2 - 2017/7/21

  • core: truncate trace signatures to max 512 chars (#35)

4.14.1 - 2017/7/14

  • graphql: don't trace graphql after transaction ends

4.14.0 - 2017/5/22

  • koa-router: add support for version 6.x and 7.x

4.13.3 - 2017/5/18

  • ws: add support for ws ^3.0.0
  • ioredis: add support for ioredis ^3.0.0

4.13.2 - 2017/5/18

  • hapi: do not overwrite tags of events in the extra context (#147)

4.13.1 - 2017/5/1

  • core: improve promise instrumentation for Node.js v7.x
  • core: stop using deprecated core API's
  • http/https: end trace before response end event callback is called

4.13.0 - 2017/4/3

  • core: add source map support
  • core: fix error culprit detection

4.12.0 - 2017/3/16

  • core: take the custom transactions and traces API out of beta:
    • core: default trace.name to 'unnamed'
    • core: rename trace.signature to trace.name
    • core: don't accept result as argument to startTransaction
    • core: change default transaction type to 'custom'
    • core: default transaction result to 200
    • core: change default trace.type to 'custom'
  • core: add flushInterval config option
  • core: read config file when calling opbeat.start()
  • hapi: allow server event handlers in connectionless hapi server (#132)
  • hapi: fix logging of errors in hapi log events (#131)

4.11.4 - 2017/3/13

  • core: handle edge case where err.message isn't a string (#130)

4.11.3 - 2017/3/13

  • hapi: don't try to instrument hapi servers where server.connection() isn't called

3.9.1 - 2017/3/13 (maintenance release)

  • core: fix bug related to net.connect in Node.js v7.7.2 (backported from v4.11.2)

4.11.2 - 2017/3/8

  • core: fix bug related to net.connect in Node.js v7.7.2
  • chore: reduce package size by not including test files

4.11.1 - 2017/2/17

  • pg: lazy patch pg-native to avoid STDERR output if not installed

4.11.0 - 2017/1/31

  • express-graphql: better transaction naming when using express-graphql
  • graphql: trace GraphQL queries

4.10.0 - 2017/1/30

  • ws: support version ^2.0.0 of the ws module

4.9.0 - 2017/1/27

  • core: add OPBEAT_CONFIG_FILE environment variable for use with start.js (#117)
  • hapi: improve error logging (#77)

4.8.0 - 2017/1/25

  • core: allow setting per-transaction context data using setUserContext() and setExtraContext()
  • core: populate errors with logged in user details

4.7.0 - 2017/1/13

  • core: allow starting of Opbeat using node -r flag (see 28ae364)
  • ws: trace sent websocket messages from the ws module

4.6.0 - 2017/1/13

  • koa-router: add support for koa-router ^5.2.0

4.5.0 - 2017/1/12

  • core: make transaction type optional: opbeat.startTransaction(name[, type])
  • knex: get better performance stack traces when using knex

4.4.0 - 2016/12/23

  • core: log truncated traces

4.3.1 - 2016/12/23

  • http/https: only warn on prematurely closed sockets if transaction is active

4.3.0 - 2016/12/22

  • generic-pool: add support for ^3.1.0

4.2.0 - 2016/12/20

  • http/https: add path to external http request traces
  • core: add captureTraceStackTraces config option

4.1.0 - 2016/12/14

  • core: allow cookie filtering to be disabled using filterHttpHeaders
  • core: use less CPU intensive json-stringify algorithm (when sending data to the Opbeat intake API)

4.0.0 - 2016/11/25 Upgrade wiki

  • core: allow filtering of sampled request details when instrumenting
  • core: [breaking] change input data given to filtering methods added via addFilter to support instrumentation filtering
  • core: [breaking] remove deprecated filter config option
  • core: [breaking] always call captureError callback even if agent is inactive

3.21.1 - 2016/11/22

  • express: show full URL path for errors and sampled requests

3.21.0 - 2016/11/21

  • core: log extra meta data along with instrumented http request
  • core: don't log HTTP body by default (use logBody config option if you wish to log the HTTP body)
  • core: pretty print JSON and form data bodies on opbeat.com (only for smaller bodies)
  • core: filter sensitive cookies
  • core: don't log false '{}' request body
  • core: fix NA endpoint issue

3.20.0 - 2016/11/9

  • core: sample transactions to reduce bandwidth and memory usage
  • core: don't close transactions on premature close of tcp socket (wait till parent request ends)
  • core: ensure transaction name and result are always set in case of SSE
  • core: freeze transaction result when ended
  • core: freeze transaction name when ended
  • core: don't leak transactions when blacklisting
  • core: improve detection of ended responses

3.19.3 - 2016/10/27

  • core: fix Node.js v7.0.0 support

3.19.2 - 2016/10/25

  • core: fix issue with missing stack traces for certain traces

3.19.1 - 2016/10/12

  • express: expose express.static.mime

3.19.0 - 2016/10/11

  • bluebird: add support for bluebird ^2.0.0 (instrumented to ensure context is preserved across async boundaries)

3.18.0 - 2016/10/10

  • bluebird: instrument ^3.0.0 (instrumented to ensure context is preserved across async boundaries)

3.17.2 - 2016/9/12

  • core: improve native promise instrumentation

3.17.1 - 2016/8/26

  • core: logging of runtime and framework details to Opbeat intake API

3.17.0 - 2016/8/24

  • allow not instrumenting certain requests via ignoreUrls and ignoreUserAgents

3.16.0 - 2016/8/22

  • http: add support for SSE

3.15.0 - 2016/8/18

  • Anonymize HTTP Authorization headers
  • Allow use of filtering middleware using opbeat.addFilter()
  • deprecate: the filter option is deprecated in favor of opbeat.addFilter()

3.14.1 - 2016/8/4

  • redis: fix issue with optional callback

3.14.0 - 2016/7/30

  • pg: support all pg v6.x versions

3.13.0 - 2016/7/29

3.12.0 - 2016/7/28

3.11.0 - 2016/7/28

  • detect and report HTTP timeouts

3.10.0 - 2016/7/20

  • hapi: automatically capture request errors

3.9.0 - 2016/7/15

  • mongodb: instrument mongodb-core v2.x

3.8.2 - 2016/7/14

  • express: fix route naming for mounted middleware requests

3.8.1 - 2016/7/12

  • fix issue when associating https requests to captured errors in Node.js v0.10

3.8.0 - 2016/7/7

  • pg: support all pg v5.x versions

3.7.1 - 2016/7/5

  • mysql: ensure context is always kept when using pool.getConnection
  • Improve tests

3.7.0 - 2016/7/1

  • mysql: official support for mysql (no feature flag required)

3.6.15 - 2016/6/30

  • mysql: fix duplicate query traces when connection have been released
  • Refactor shimming
  • Improve tests

3.6.14 - 2016/6/22

  • mysql: improve grouping of mysql errors
  • mysql: don't record pool cluster queries multiple times

3.6.13 - 2016/6/19

  • Add mysql support (feature flag: ff_mysql)
  • Minor speed/memory improvements

3.6.12 - 2016/6/15

  • Send first batch of transactions within 5 seconds of the first request after the Node process boots
  • Fix: Don't record same request multipe times if multiple request listeners are added to the HTTP server

3.6.11 - 2016/6/6

  • Don't contact intake api if agent is inactive [Fixes #50]
  • Don't try to patch mongodb-core pre version 1.2.7

3.6.10 - 2016/6/3

  • Fix: Traces should now be associated with the correct transaction
  • Improve debug info and tests

3.6.9 - 2016/5/26

  • Revert new Promise instrumentation as it caused issues in certain cases

3.6.8 - 2016/5/24

  • Improve core Node.js instrumentation
  • Update dependencies
  • Fix test-cli

3.6.7 - 2016/4/22

  • Improve debugging output for unknown routes

3.6.6 - 2016/3/24

  • Fix: Recover from certain cases of missing traces that would result in a missing performance breakdown

3.6.5 - 2016/3/17

  • Express: Fix naming of mounted routes
  • Misc cleanup

3.6.4 - 2016/2/29

  • Fix: Ensure Express middleware calls next() even if agent is inactive

3.6.3 - 2016/2/29

  • Fix: no longer log outgoing https requests twice on Opbeat

3.6.2 - 2016/2/28

  • Fix: error parsing support for Node.js 0.10

3.6.1 - 2016/2/28

  • Fix: Read stack trace source code on Windows

3.6.0 - 2016/2/24

  • hapi: Improved route naming in case of errors during the request (PR #34, @AdriVanHoudt)
  • hapi: Automatic CORS detection

3.5.4 - 2016/2/23

  • Fix: Improve extraction of PostgreSQL quries

3.5.3 - 2016/2/22

  • Improve debugging output

3.5.2 - 2016/2/17

  • Upgrade dependencies

3.5.1 - 2016/2/17

  • Lower memory consumption
  • Fix: Long running transactions sometimes did not have any associated traces

3.5.0 - 2016/2/17

  • hapi: Automatically attach HTTP body to errors

3.4.3 - 2016/2/16

  • Improve caching of stack traces during instrumentation (in some use cases this will also reduce memory usage)

3.4.2 - 2016/2/15

  • Fix: Do not fail on modules with no main in package.json or index.js file

3.4.1 - 2016/2/15

  • Fix: Handle API limits client-side
  • Fix: Only instrument supported module versions

3.4.0 - 2016/2/11

  • Make 2nd argument to trace.start optional

3.3.0 - 2016/2/5

  • Express: support sub-apps and sub-routes

3.2.0 - 2016/2/2

  • Express: group all static file requests in same transaction
  • Log path of outgoing requests in performance metrics

3.1.4 - 2015/12/16

  • Fix minor PostgreSQL instrumentation bug

3.1.3 - 2015/12/3

  • Fix support for instrumenting HTTPS servers

3.1.2 - 2015/12/3

  • Add more debugging information on startup

3.1.1 - 2015/12/3

  • Improve npmjs.com documentation

3.1.0 - 2015/12/3

  • Add hapi support

3.0.6 - 2015/12/3

  • Fix another stacktrace collection bug that sometimes would result in an uncaught exception

3.0.5 - 2015/12/1

  • Fix stacktrace collection bug that sometimes would result in an uncaught exception

3.0.4 - 2015/11/28

  • Improve debug logging for edge cases

3.0.3 - 2015/11/26

  • Improve MongoDB query instrumentation

3.0.2 - 2015/11/22

  • Fix crash if the stacktrace for some reason is missing

3.0.1 - 2015/11/22

  • Remove temp files

3.0.0 - 2015/11/22 Upgrade wiki

  • New: Performance metrics
  • Breaking: New configuration API
  • Breaking: Remove deprecated trackDeployment function
  • Breaking: Renamed agentLogLevel config option to logLevel
  • Breaking: Throw if agent is started more than once

1.6.0 - 2015/09/21

  • New: Add automatic HTTP server request logging
  • New: Prefix all output with the an error id
  • Output stack traces closer in the log to where the error happened
  • Use milliseconds in timestamps
  • Improve exactness of error capture time
  • Limit logged body to 2048 UTF8 chars
  • Update license to one approved by SPDX OSI
  • Bug fix: Make sure the specified exceptionLogLevel is used

1.5.0 - 2015/09/01

  • Experimental: Log location in code where error was discovered (feature flag: _ff_captureFrame)

1.4.2 - 2015/07/14

  • Don't fail if options.extra is invalid format

1.4.1 - 2015/05/24

  • Fix bug where messages chould not have custom culprit

1.4.0 - 2015/05/17

  • Allow the culprit to be set by the user when calling captureError

1.3.0 - 2015/04/24

  • Rename trackDeployment to trackRelease
  • Rename trackRelease option path to cwd
  • Split code out into separate dependencies
  • Update dependencies
  • Add tests for io.js and Node.js 0.12.x

1.2.0 - 2015/03/06

  • New: Add filter config option
  • Use new API domian endpoint

1.1.2 - 2015/01/16

  • Allow active config option to be other values than 1/0
  • Improve tests

1.1.1 - 2015/01/14

  • Fix: Ensure invalid objects are logged in a more human readable way

1.1.0 - 2015/01/08

  • New: Log if an error is uncaught under the "Extra" tab
  • New: Support custom loggers using the new options.logger option
  • Internal improvements

1.0.8 - 2015/01/02

  • Bug fix: Fix connect/express middleware

1.0.7 - 2014/12/11

  • Bug fix: Exit process even if Opbeat cannot be reached
  • Improve tests

1.0.6 - 2014/12/4

  • Fix issue with logging json HTTP requests if using req.json
  • Rename internal options.apiHost to options._apiHost (hopefully you did not use this)

1.0.5 - 2014/11/8

  • Log missing line numbers as line zero

1.0.4 - 2014/11/8

  • Bug fix: Ensure the agent doesn't fail on circular dependencies

1.0.3 - 2014/11/8

  • API update: The new version of the Opbeat API expects the stack frames in reverse order

1.0.2 - 2014/10/30

  • Big fix: Ensure emitted errors after an uncaught exception doesn't throw

1.0.1 - 2014/10/23

  • Minor bugfixes and improvements

1.0.0 - 2014/9/25 Upgrade wiki

  • Remove createClient() function
  • Replace options.env with options.active
  • Rename options.handleExceptions to options.captureExceptions
  • Rename options.app_id to options.appId
  • Rename options.organization_id to options.organizationId
  • Rename options.secret_token to options.secretToken
  • Add deployment tracking support
  • Merge captureMessage, captureError and captureRequestError into one function
  • Remove support for overriding the Opbeat http API port number
  • Automatically log custom properties on the Error object
  • Log HTTP User-Agent header if present
  • Log name of Node.js module where error occured
  • Log request.json if present
  • Log whether http requests are secure or not
  • Log remote IP
  • Allow options.stackTraceLimit to be falsy
  • Remove client.version property
  • Remove event connectionError (use error event instead)
  • Control log level of client with options.clientLogLevel (replaces options.silent)
  • Allow handleUncaughtExceptions to be called multiple times
  • Allow the severity level of exceptions to be set in options
  • Allow all options to be set via environment variables
  • Parse the Opbeat URL to the captureUncaughtExceptions callback
  • Don't log stack-frame path as absolute
  • Only log cookies if they are present
  • Security fix: Don't shamelessly track all environment variables
  • Bug fix: Support the new Opbeat param_message API format
  • Improve HTTP message parsing
  • A lot of code cleanup

0.3.1 - 2014/4/28

  • Allow you to call client functions without having to worry about binding

0.3.0 - 2014/4/9

  • Removed support for Node.js versions below v0.10

0.2.9 - 2014/4/9

  • Internal improvements

0.2.8 - 2013/8/25

  • Bug fix: Set culprit correctly on errors sent to Opbeat

0.2.7 - 2013/6/10

  • Bug fix: The express/connect middleware now correctly uses or creates an instance of the Opbeat client

0.2.6 - 2013/6/10

  • Never published

0.2.5 - 2013/6/10

  • Some exceptions where logged twice in the local log
  • Improved opbeat error logging: If opbeat returns an error, the entire error is now written to the log
  • Bug fix: Thrown exceptions was not logged to Opbeat

0.2.4 - 2013/5/7

  • Bug fix: Request errors was printet twice in the server-logs

0.2.3 - 2013/5/2

  • Create an opbeat client once and reuse it. Now you can create a client using opbeat.createClient() and reuse it using opbeat.client
  • Added silent option. Opbeat will not output anything to STDOUT or STDERR, except configuration errors
  • Added exceptionsAreCritical option, which is on my default. This means that uncaught exceptions are logged as critical as opposed to the error level
  • Allow better grouping of messages: 21384d7c0df1ffec5b985d918cab3a91208e75e3
  • Added default event listeners, so you do not have to: 9b83e18835c2b7e24dd211b51fb38f9d820a9956
  • Bug fixing

0.2.2 - 2013/4/27

  • All output is now directed to STDERR
  • Always output result of sending something to Opbeat, even if you have disabled automatic exception handling and are providing a custom callback to handleUncaughtExceptions

0.2.1 - 2013/4/8

  • Bug fixing

0.2.0 - 2013/4/8

  • Brand new API - Not backward compatible

0.1.0 - 2013/4/2

  • Initial release. Forked raven-node and converted to Opbeat API