sentry-raven 2.5.1 → 2.5.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 591ad299f0dbdc5e0c5e980fd0406733a90c6ffa
4
- data.tar.gz: bdbcf9a5152af5c5bfd459f302be3439080dbca1
3
+ metadata.gz: 8f2422a456dddbcdb05509facf1a0400cc44ef8f
4
+ data.tar.gz: d667b94c20aed7fde0da01ce6f3f4454a446a940
5
5
  SHA512:
6
- metadata.gz: dc97bc821db8541a18dc10cf031c6c8684cc6aa1b2200bad974e1e8d11460dabe59e59d144651e27cc8117965452b1ff2ef3a031f14736f801ec7ac1836e1609
7
- data.tar.gz: 9e6c6de2b3eda11d19514736823f487fd5a66cddde4bbdbc81a1a4e6382ea2fd4a42d3d5ed0eae5208245f1c10c98b612a6479c4331b3eda70a0090d128e1aba
6
+ metadata.gz: 36d2ca471cbd4fd308c4002cb583eb373663148f05aca53a9134190d978aa0c2d53d52cecac65f490e00541c77a49e0298a9aae87d86f55f43044ef2ba78b261
7
+ data.tar.gz: 5a1d82e722e0e427029b2537601d84ce535c5cf2f3fd98eca08fc6d178d0ddcedc8e90642fc373cd2ec4a0cb6f5d0e0b8a2c3ddb89f287ad81126224e95f4261
data/.gitignore ADDED
@@ -0,0 +1,13 @@
1
+ coverage
2
+ pkg
3
+ ruby/
4
+ log/
5
+ docs/_build
6
+ .bundle
7
+ *.gem
8
+ gemfiles/*.lock
9
+ Gemfile.lock
10
+ .coveralls.yml
11
+ .ruby-version
12
+ .ruby-gemset
13
+ .idea
data/.gitmodules ADDED
@@ -0,0 +1,3 @@
1
+ [submodule "docs/_sentryext"]
2
+ path = docs/_sentryext
3
+ url = https://github.com/getsentry/sentry-doc-support
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --colour
2
+ --format documentation
data/.rubocop.yml ADDED
@@ -0,0 +1,74 @@
1
+ AllCops:
2
+ Include:
3
+ - 'lib/**/*.rb'
4
+ - 'spec/**/*.rb'
5
+ Exclude:
6
+ - 'examples/**/*'
7
+ - 'vendor/**/*'
8
+
9
+ Metrics/ClassLength:
10
+ Max: 248
11
+ CountComments: false
12
+
13
+ Metrics/AbcSize:
14
+ Max: 58
15
+
16
+ Metrics/CyclomaticComplexity:
17
+ Max: 13
18
+
19
+ Metrics/PerceivedComplexity:
20
+ Max: 13
21
+
22
+ Metrics/LineLength:
23
+ Max: 155
24
+
25
+ Metrics/MethodLength:
26
+ Max: 41
27
+
28
+ Style/SignalException:
29
+ Enabled: false
30
+
31
+ Performance/Casecmp:
32
+ Enabled: false
33
+
34
+ Style/ClassAndModuleChildren:
35
+ Enabled: false
36
+
37
+ Style/ParallelAssignment:
38
+ Enabled: false
39
+
40
+ Style/Documentation:
41
+ Enabled: false
42
+
43
+ Style/RescueModifier:
44
+ Enabled: false
45
+
46
+ Style/StringLiterals:
47
+ Enabled: false
48
+
49
+ Style/CaseEquality:
50
+ Enabled: false
51
+
52
+ Style/DoubleNegation:
53
+ Enabled: false
54
+
55
+ Style/FileName:
56
+ Exclude:
57
+ - 'lib/sentry-raven-without-integrations.rb'
58
+ - 'lib/sentry-raven.rb'
59
+
60
+ Style/NumericLiterals:
61
+ Exclude:
62
+ - 'spec/raven/processors/sanitizedata_processor_spec.rb'
63
+
64
+ Style/HashSyntax:
65
+ EnforcedStyle: hash_rockets
66
+
67
+ Lint/RescueException:
68
+ Exclude:
69
+ - 'lib/raven/base.rb'
70
+ - 'lib/raven/instance.rb'
71
+ - 'lib/raven/integrations/delayed_job.rb'
72
+ - 'lib/raven/integrations/rack.rb'
73
+ - 'lib/raven/integrations/sidekiq.rb'
74
+ - 'spec/raven/event_spec.rb'
data/.travis.yml ADDED
@@ -0,0 +1,41 @@
1
+ language: ruby
2
+ dist: trusty
3
+ sudo: false
4
+ group: beta
5
+ cache: bundler
6
+
7
+ branches:
8
+ only: [master]
9
+
10
+ rvm:
11
+ - 2.2.7
12
+ - 2.3.4
13
+ - 2.4.1
14
+
15
+ env:
16
+ - RAILS_VERSION=4
17
+ - RAILS_VERSION=5
18
+ - RAILS_VERSION=0
19
+
20
+ addons:
21
+ apt:
22
+ packages:
23
+ - haveged
24
+
25
+ before_install:
26
+ - service haveged start
27
+
28
+ matrix:
29
+ include:
30
+ - rvm: 1.9
31
+ env: RAILS_VERSION=4
32
+ - rvm: jruby-1.7.27
33
+ env: JRUBY_OPTS="--dev" RAILS_VERSION=4
34
+ - rvm: jruby-9.1.10.0
35
+ env: JRUBY_OPTS="--dev -J-Djruby.launch.inproc=true -J-Xmx1024M" RAILS_VERSION=4
36
+ - rvm: jruby-9.1.10.0
37
+ env: JRUBY_OPTS="--dev -J-Djruby.launch.inproc=true -J-Xmx1024M" RAILS_VERSION=5
38
+ - rvm: ruby-head
39
+ env: RAILS_VERSION=0
40
+ allow_failures:
41
+ - rvm: ruby-head
data/Gemfile ADDED
@@ -0,0 +1,30 @@
1
+ source "https://rubygems.org/"
2
+
3
+ gemspec
4
+
5
+ if ENV["RAILS_VERSION"] && (ENV["RAILS_VERSION"].to_i == 4)
6
+ gem "rails", "< 5"
7
+ elsif ENV["RAILS_VERSION"] && (ENV["RAILS_VERSION"].to_i == 5)
8
+ gem "rails", "< 6"
9
+ end
10
+
11
+ if RUBY_VERSION < '2.0'
12
+ gem "mime-types", "< 3.0.0"
13
+ gem "nokogiri", "~> 1.6.8"
14
+ gem "rack", "~> 1.6.8"
15
+ gem "sidekiq", "< 3.2"
16
+ else
17
+ gem "rack"
18
+ gem "sidekiq"
19
+ end
20
+ gem "pry"
21
+ gem "pry-coolline"
22
+ gem "benchmark-ips"
23
+ gem "benchmark-ipsa" if RUBY_VERSION > '2.0'
24
+ gem "ruby-prof", platform: :mri
25
+ gem "rake"
26
+ gem "rubocop", "~> 0.41.1"
27
+ gem "rspec"
28
+ gem "rspec-rails"
29
+ gem "timecop"
30
+ gem "test-unit", platform: :mri if RUBY_VERSION > '2.2'
data/README.md CHANGED
@@ -99,11 +99,13 @@ Using a thread to send events will be adequate for truly parallel Ruby platforms
99
99
  We recommend creating a background job, using your background job processor, that will send Sentry notifications in the background. Rather than enqueuing an entire Raven::Event object, we recommend providing the Hash representation of an event as a job argument. Here’s an example for ActiveJob:
100
100
 
101
101
  ```ruby
102
- config.async = lambda { |event|
103
- SentryJob.perform_later(event.to_hash)
104
- }
102
+ config.async = lambda { |event| SentryJob.perform_later(event) }
103
+
105
104
  class SentryJob < ActiveJob::Base
106
105
  queue_as :default
106
+
107
+ # Important! Otherwise, we can get caught in an infinite loop.
108
+ rescue_from(ActiveJob::DeserializationError) { |e| Rails.logger.error e }
107
109
 
108
110
  def perform(event)
109
111
  Raven.send_event(event)
data/Rakefile ADDED
@@ -0,0 +1,29 @@
1
+ require 'rake'
2
+ require 'raven'
3
+ require 'rubygems/package_task'
4
+ require 'bundler/gem_tasks'
5
+
6
+ gemspec = Gem::Specification.load(Dir['*.gemspec'].first)
7
+
8
+ Gem::PackageTask.new(gemspec).define
9
+
10
+ begin
11
+ require 'rubygems'
12
+ require 'rspec/core/rake_task'
13
+
14
+ require 'rubocop/rake_task'
15
+ RuboCop::RakeTask.new(:rubocop) do |task|
16
+ task.patterns = ['lib/**/*.rb','spec/**/*.rb',]
17
+ end
18
+
19
+ RSpec::Core::RakeTask.new(:spec) do |spec|
20
+ spec.pattern = 'spec/**/*_spec.rb'
21
+ end
22
+
23
+ rescue LoadError
24
+ task :spec do
25
+ abort "Rspec is not available. bundle install to run unit tests"
26
+ end
27
+ end
28
+
29
+ task :default => [:rubocop, :spec]
data/changelog.md ADDED
@@ -0,0 +1,372 @@
1
+ 2.5.2
2
+ -----
3
+
4
+ * BUGFIX: raven test executable should be available [#691, @nateberkopec]
5
+ * BUGFIX: Fix stack overflow when calling Backtrace#inspect [#690, @nateberkopec]
6
+
7
+ * KNOWN ISSUE: Character encoding errors [#689]
8
+
9
+ 2.5.1
10
+ -----
11
+
12
+ * BUGFIX: Fix case where Pathname objects are on the load path [@nateberkopec]
13
+ * BUGFIX: Fix bad UTF-8 characters in the URL querystring [@nateberkopec]
14
+ * BUGFIX: Fix case where rack-timeout could be required twice [@nateberkopec]
15
+
16
+ * REFACTOR: Slightly cleaner character encoding fixing [@nateberkopec, @bf4]
17
+
18
+ 2.5.0
19
+ -----
20
+
21
+ * FEATURE: Greatly improved performance (2-3x faster capture) [@nateberkopec]
22
+ * FEATURE: Frozen objects are now sanitized [@nateberkopec]
23
+
24
+ * BUGFIX: Grabbing Sidekiq context from "wrapped" classes works [@nateberkopec]
25
+ * BUGFIX: Relaxed Faraday dependency [@nateberkopec]
26
+
27
+ 2.4.0
28
+ -----
29
+
30
+ * FEATURE: Allow customization of the Faraday adapter [#639, @StupidCodeFactory]
31
+
32
+ * BUGFIX: Report the SDK name as "raven-ruby", not "sentry-raven" [#641, @bretthoerner]
33
+ * BUGFIX: Sidekiq jobs now clear context/breadcrumbs properly between jobs [#637, @drewish]
34
+ * BUGFIX: Overriding the logger in Rails wasn't working [#638, @eugeneius]
35
+
36
+ 2.3.1
37
+ -----
38
+
39
+ * BUGFIX: Backtrace parser fixed for JRuby 9k [#619, @the-michael-toy]
40
+ * BUGFIX: Rake tasks should show the correct task name [#621, @Bugagazavr]
41
+ * BUGFIX: Formatted messages work if params are `nil` [#625, @miyachik]
42
+ * BUGFIX: Backtrace logger on failed event send works with custom formatters [#627, @chulkilee]
43
+ * BUGFIX: Fix typo that caused Version headers to not be corrected [#628, @nateberkopec]
44
+ * BUGFIX: Faraday errors are more descriptive when no server response [#629, @drewish]
45
+ * BUGFIX: DelayedJob handler no longer truncates unneccessarily short [#633, @darrennix]
46
+ * BUGFIX: Fix several processors not working correctly w/async jobs stored in backends like Redis [#634, @nateberkopec]
47
+
48
+ 2.3.0
49
+ -----
50
+
51
+ * CHANGE: Log levels of some messages have been changed. Raven logger is INFO level by default. [@nateberkopec]
52
+ * BUGFIX: Exception messages are now limited to 10,000 bytes. [#617, @mattrobenolt]
53
+
54
+ 2.2.0
55
+ -----
56
+
57
+ * ENHANCEMENT: Sentry server errors now return some information about the response headers. [#585, @rafadc]
58
+ * BUGFIX/ENHANCEMENT: Frozen objects are no longer sanitized. This prevents some bugs, but you can now also freeze objects if you don't want them to be sanitized by the SanitizeData processor. [#594, @nateberkopec]
59
+ * ENHANCEMENT: The ability to use Raven::Instance alone is greatly improved. You can now call #capture_exception directly on an Instance (#595), give it it's own Logger (#599), and set it's own config which will be used when creating Events (#601). Thanks to
60
+ * ENHANCEMENT: You may now provide your own LineCache-like class to Raven. This is useful if you have source code which is not available on disk. [#606, @nateberkopec]
61
+ * BUGFIX: Raven no longer emits anything to STDOUT if a system command fails [#596, @nateberkopec]
62
+ * ENHANCEMENT: Raven now tells you exactly why it will not send an event in the logs [#602, @nateberkopec]
63
+
64
+ 2.1.4
65
+ -----
66
+
67
+ * FIX: Remove `contexts` key, because it was disabling browser auto-tagging [#587, @nateberkopec]
68
+
69
+ 2.1.3
70
+ -----
71
+
72
+ * Move `os` context key to `server_os` [@nateberkopec]
73
+
74
+ 2.1.2
75
+ -----
76
+
77
+ * FIX: `sys_command` not falling back to Windows commands properly, logging output [@jmalves, @nateberkopec]
78
+
79
+ 2.1.1
80
+ -----
81
+
82
+ * FIX: Message params should accept nil [@jmalves, #570]
83
+
84
+ 2.1.0
85
+ -----
86
+
87
+ ENHANCEMENTS:
88
+
89
+ * Your client version is now included in all Events. [@nateberkopec, #559]
90
+ * OS and Ruby runtime information now included in all Events. [@nateberkopec, #560]
91
+ * Transport errors (like Sentry 4XX errors) now raise Sentry::Error, not Faraday errors. [@nateberkopec, #565]
92
+ * Sidekiq integration is streamlined and improved. Supports Sidekiq 3.x and up. [@nateberkopec, #555]
93
+
94
+ FIXES:
95
+
96
+ * Heroku release detection is improved and more accurate. You must `heroku labs:enable runtime-dyno-metadata` for it to work. [@nateberkopec, #566]
97
+
98
+ 2.0.2
99
+ -----
100
+
101
+ * FIX: Don't set up Rack-Timeout middleware. [@janraasch, #558]
102
+
103
+ 2.0.1
104
+ -----
105
+
106
+ * FIX: UUIDs were being rejected by Sentry as being too long [@nateberkopec]
107
+
108
+ 2.0.0
109
+ -----
110
+
111
+ BREAKING CHANGES:
112
+
113
+ * The object passed to the `async` callback is now a JSON-compatible hash, not a Raven::Event. This fixes many bugs with backend job processors like DelayedJob. [@nateberkopec, #547]
114
+ * Several deprecated accessors have been removed [@nateberkopec, #543]
115
+ * You can no longer pass an object which cannot be called to `should_capture` [@nateberkopec, #542]
116
+
117
+ ENHANCEMENTS:
118
+
119
+ * Rack::Timeout exceptions are now fingerprinted by URL, making them more useful [@nateberkopec, #538]
120
+ * Added an HTTP header processor by default. We now scrub `Authorization` headers correctly. You can use `config.sanitize_http_headers` to add a list of HTTP headers you don't want sent to Sentry (e.g. ["Via", "Referer", "User-Agent", "Server", "From"]) [@nateberkopec]
121
+
122
+ FIXES:
123
+
124
+ * User/Event IP addresses are now set more accurately. This will fix many issues with local proxy setups (nginx, etc). [@nateberkopec, #546]
125
+ * We now generate a real UUID in the correct format for Event IDs [@nateberkopec, #549]
126
+ * If `async` sending fails, we retry with sync sending. [@nateberkopec, #548]
127
+ * Changed truncation approach - event messages and HTTP bodies now limited to the same amount of characters they're limited to at the Sentry server [@nateberkopec, #536]
128
+
129
+ OTHER:
130
+
131
+ * Codebase cleaned up with Rubocop [@nateberkopec, #544]
132
+
133
+ 1.2.3
134
+ -----
135
+
136
+ * ENHANCEMENT: Send the current environment to Sentry [@dcramer, #530]
137
+ * BUGFIX: Fix all warnings emitted by Ruby verbose mode [@nateberkopec]
138
+ * BUGFIX: Fix compat with `log4r` [@nateberkopec, #535]
139
+
140
+ 1.2.2
141
+ -----
142
+
143
+ * BUGFIX: NameError in DelayedJob integration. [janraasch, #525]
144
+
145
+ 1.2.1
146
+ -----
147
+
148
+ * BUGFIX: Context clearing should now work properly in DelayedJob and Sidekiq. Also, we properly clear context if Sentry causes an exception. [nateberkopec, #520]
149
+ * BUGFIX: If Sentry will not send the event (due to environments or no DSN set), it will not attempt to "capture" (construct an event) [nateberkopec, #518]
150
+
151
+ 1.2.0
152
+ -----
153
+
154
+ * FEATURE: Raven now supports Breadcrumbs, though they aren't on by default. Check the docs for how to enable. [dcramer, #497]
155
+ * FEATURE: Raven is no longer a singleton, you may have many `Raven::Instance`s. [phillbaker, #504]
156
+ * PERFORMANCE: Raven no longer uses a vendored JSON implementation. JSON processing and encoding should be up to 6x faster. [dcramer, #510]
157
+ * BUGFIX: silence_ready now works for Rails apps. [ream88, #512]
158
+ * BUGFIX: transport_failure_callback now works correctly [nateberkopec, #508]
159
+
160
+ 1.1.0
161
+ -----
162
+
163
+ * The client exposes a ``last_event_id`` accessor at `Raven.last_event_id`. [dcramer, #493]
164
+ * PERFORMANCE: Skip identical backtraces from "re-raised" exceptions [databus23, #499]
165
+ * Support for ActionController::Live and Rails template streaming [nateberkopec, #486]
166
+
167
+ 1.0.0
168
+ -----
169
+
170
+ We (i.e. @nateberkopec) decided that `raven-ruby` has been stable enough for some time that it's time for a 1.0.0 release!
171
+
172
+ BREAKING CHANGES:
173
+
174
+ - Dropped support for Ruby 1.8.7 [nateberkopec, #465]
175
+ - `raven-ruby` no longer reports form POST data or web cookies by default. To re-enable this behavior, remove the appropriate Processors from your config (see docs or PR) [nateberkopec, #466]
176
+ - UDP transport has been removed [dcramer, #472]
177
+
178
+ OTHER CHANGES:
179
+
180
+ - Improved performance [zanker]
181
+ - Deprecated `config.catch_debugged_exceptions`, replaced with `config.rails_report_rescued_exceptions`. `catch_debugged_exceptions` will be removed in 1.1. [nateberkopec, #483]
182
+ - Added `config.transport_failure_callback`. Provide a lambda or proc to this config setting, which will be `call`ed when Sentry returns a 4xx/5xx response. [nateberkopec, #484]
183
+ - JRuby builds fixed [RobinDaugherty]
184
+ - Fix problems with duplicate exceptions and `Exception.cause` [dcramer, #490]
185
+ - Added Exception Context. Any Exception class can define a `raven_context` instance variable, which will be merged into any Event's context which contains this exception. [nateberkopec, #491]
186
+ + Documentation from shaneog, squirly, dcramer, ehfeng, nateberkopec.
187
+
188
+ 0.15.6
189
+ ------
190
+
191
+ - Fixed bug where return value of debug middleware was nil [eugeneius, #461]
192
+ - Fixed a bug in checking `catch_debugged_exceptions` [greysteil, #458]
193
+ - Fixed a deprecation warning for Rails 5 [Elektron1c97, #457]
194
+
195
+ 0.15.5
196
+ ------
197
+
198
+ - DelayedJob integration fixed when last_error not present [dcramer, #454]
199
+ - Release detection doesn't overwrite manual release setting in Rails [eugeneius, #450]
200
+ - Deal properly with Cap 3.0/3.1 revision logs [timcheadle, #449]
201
+ - Rails 5 support [nateberkopec, #423]
202
+
203
+ 0.15.4
204
+ ------
205
+
206
+ - DelayedJob integration now also truncates last_error to 100 characters [nateberkopec]
207
+ - Fix several issues with release detection - silence git log message, fix Capistrano detection [nateberkopec, kkumler]
208
+
209
+
210
+ 0.15.3
211
+ ------
212
+
213
+ - Double exception reporting in Rails FIXED! [nateberkopec, #422]
214
+ - Rails 3 users having issues with undefined runner fixed [nateberkopec, #428]
215
+ - Sidekiq integration works properly when ActiveJob enabled [mattrobenolt]
216
+ - Fix problems with invalid UTF-8 in exception messages [nateberkopec, #426]
217
+ - Backtraces now consider "exe" directories part of the app [nateberkopec, #420]
218
+ - Sinatra::NotFound now ignored by default [drcapulet, #383]
219
+ - Release versions now properly set. Support for Heroku, Capistrano, and Git. [iloveitaly #377, Sija #380]
220
+ - DelayedJob integration plays well with ActiveJob [kkumler, #378]
221
+ - DelayedJob handlers now truncated [nateberkopec, #431]
222
+ - Tons of code quality improvements [amatsuda, ddrmanxbxfr, pmbrent, cpizzaia, wdhorton, PepperTeasdale]
223
+
224
+ 0.15.2
225
+ ------
226
+
227
+ - Reverted ActiveJob support due to conflicts [#368]
228
+
229
+ 0.15.1
230
+ ------
231
+
232
+ - Fix ActiveJob support [greysteil, #367]
233
+
234
+ 0.15.0
235
+ ------
236
+
237
+ - Remove Certifi and use default Ruby SSL config [zanker, #352]
238
+ - Support for ``fingerprint`` [dcramer]
239
+ - Improved documentation and tests around various attributes [dcramer]
240
+ - Allow configurable integrations [cthornton]
241
+ - Prevent recursion with ``Exception.cause`` [dcramer, #357]
242
+ - Use empty hash if false-y value [GeekOnCoffee, #354]
243
+ - Correct some behavior with at_exit error capturing [kratob, #355]
244
+ - Sanitize matches whole words [alyssa, #361]
245
+ - Expose more debugging info to active_job integration [tonywok, #365]
246
+ - Capture exceptions swallowed by rails [robertclancy, #343]
247
+ - Sanitize the query string when the key is a symbol [jason-o-matic, #349]
248
+ - Moved documentation to docs.getsentry.com [mitsuhiko]
249
+
250
+ 0.14.0
251
+ ------
252
+
253
+ - Correct handling of JRuby stacktraces [dcramer]
254
+ - Better handling of unreachable file contexts [dcramer, #335]
255
+ - SSL is now default ON [dcramer, #338]
256
+ - Capture exceptions in runner tasks [eugeneius, #339]
257
+ - ActiveJob integration [lucasmazza, #327]
258
+ - Cleanup return values of async blocks [lucasmazza, #344]
259
+ - Better handling when sending NaN/Infinity JSON values [Alric, #345]
260
+ - Fix issues with digest/md5 namespace [lsb, #346]
261
+
262
+ 0.13.3
263
+ ------
264
+
265
+ - Fix a deprecation warning being shown in regular operation [ripta, #332]
266
+
267
+ 0.13.2
268
+ ------
269
+
270
+ - DelayedJob integration now includes the job id [javawizard, #321]
271
+ - Rails integration now works properly when you're not using all parts of Rails (e.g. just ActiveRecord) [lucasmazza, #323]
272
+ - Bugfix CLI tool when async config is on [if1live, #324]
273
+ - Fix and standardize tag hierarchies. Event tags > context tags > configuration tags in all cases. [JonathanBatten, #322 and eugeneius, #330]
274
+ - Using #send on Client, Base, and Transports is now deprecated. See [the commit](https://github.com/getsentry/raven-ruby/commit/9f482022a648ab662c22177ba24fd2e2b6794c34) (or the deprecation message) for their replacements. [nateberkopec, #326]
275
+ - You can now disable credit-card-like value filtering. [codekitchen, #329]
276
+
277
+ 0.13.1
278
+ ------
279
+
280
+ - Raven::Transports::HTTP#send returns the response now. [eagletmt, #317]
281
+ - Filenames now work a lot better when you vendor your gems. [eugeneius, #316]
282
+ - Fix raven:test issue when testing non-async configurations. [weynsee, #318]
283
+ - Fix blockless Raven#capture. [dinosaurjr, #320]
284
+ - Fix some log messages [eagletmt, #319]
285
+
286
+ 0.13.0
287
+ ------
288
+
289
+ - Support exception chaining [javawizard, #312]
290
+ - Add support for sending release version [eugeneius, #310]
291
+ - Better status reports on configuration [faber, #309]
292
+ - Client "send" method accepts an event in object or hash format - this will make it much easier to send Sentry events in a delayed job! [marclennox, #300]
293
+ - Fix duplicate fields in SanitizeData [wyattisimo, #294]
294
+ - Always preserve filename paths under project_root [eugeneius, #291]
295
+ - Truncate project root prefixes from filenames [eagletmt, #278]
296
+ - Renamed should_send callback to should_capture [nateberkopec, #270]
297
+ - Silencing the ready message now happens in the config as normal [nateberkopec, #260]
298
+ - Various internal refactorings [see here](https://github.com/getsentry/raven-ruby/compare/0-12-stable...master)
299
+
300
+ 0.12.3
301
+ ------
302
+
303
+ - URL query parameters are now sanitized for sensitive data [pcorliss, #275]
304
+ - Raven::Client can now use a proxy server when sending events to Sentry [dcramer, #277]
305
+ - Raven::Client will now use a timed backoff strategy if the server fails [codekitchen, #267]
306
+ - Automatic integration loading is now a lot less brittle [dcramer, handlers, #263, #264]
307
+ - Fixed some issues with prefixes and DSN strings [nateberkopec, #259]
308
+ - If Raven is initialized without a server config, it will no longer send events [nateberkopec, #258]
309
+ - Slightly nicer credit-card-like number scrubbing [nateberkopec, #254]
310
+ - Fix some exceptions not being caught by Sidekiq middleware [nateberkopec, #251]
311
+ - Uncommon types are now encoded correctly [nateberkopec, #249]
312
+
313
+ 0.12.2
314
+ ------
315
+
316
+ - Security fix where exponential numbers in specially crafted params could cause a CPU attack [dcramer, #262]
317
+
318
+ 0.12.1
319
+ ------
320
+
321
+ - Integrations (Sidekiq, DelayedJob, etc) now load independently of your Gemfile order. [nateberkopec, #236]
322
+ - Fixed bug where setting tags mutated your configuration [berg, #239]
323
+ - Fixed several issues with SanitizeData and UTF8 sanitization processors [nateberkopec, #238, #241, #244]
324
+
325
+ 0.12.0
326
+ ------
327
+
328
+ - You can now give additional fields to the SanitizeData processor. Values matched are replaced by the string mask (*********). Full documentation (and how to use with Rails config.filter_parameters) [here](https://docs.getsentry.com/hosted/clients/ruby/config/). [jamescway, #232]
329
+ - An additional processor has been added, though it isn't turned on by default: RemoveStacktrace. Use it to remove stacktraces from exception reports. [nateberkopec, #233]
330
+ - Dependency on `uuidtools` has been removed. [nateberkopec, #231]
331
+
332
+ 0.11.2
333
+ ------
334
+
335
+ - Fix some issues with the SanitizeData processor when processing strings that look like JSON
336
+
337
+
338
+ 0.11.1
339
+ ------
340
+
341
+ - Raven now captures exceptions in Rake tasks automatically. [nateberkopec, troelskn #222]
342
+ - There is now a configuration option called ```should_send``` that can be configured to use a Proc to determine whether or not an event should be sent to Sentry. This can be used to implement rate limiters, etc. [nateberkopec, #221]
343
+ - Raven now includes three event processors by default instead of one, which can be turned on and off independently. [nateberkopec, #223]
344
+ - Fixed bug with YAJL compatibility. [nateberkopec, #223]
345
+
346
+ 0.10.1
347
+ ------
348
+
349
+ - Updated to RSpec 3.
350
+ - Apply filters to encoded JSON data.
351
+
352
+
353
+ 0.10.0
354
+ ------
355
+
356
+ - Events are now sent to Sentry in all environments. To change this behavior, either unset ```SENTRY_DSN``` or explicitly configure it via ```Raven.configure```.
357
+ - gzip is now the default encoding
358
+ - Removed hashie dependency
359
+
360
+
361
+ 0.9.0
362
+ -----
363
+
364
+ - Native support for Delayed::Job [pkuczynski, #176]
365
+ - Updated to Sentry protocol version 5
366
+
367
+
368
+ 0.5.0
369
+ -----
370
+ - Rails 2 support [sluukonen, #45]
371
+ - Controller methods in Rails [jfirebaugh]
372
+ - Runs by default in any environment other than test, cucumber, or development. [#81]