## 0.4.0 (March 6, 2018) Interface changes & maintenance, API untouched. - reworked routes - `date` param removed in favor of named `day/:date` subroute - simple search / filter added in UI panel (hijacks search command) - tiny css tweaks - run test on travis for sidekiq `4.2` and >= `5.1` and all newest rubies (`2.2` - `2.5`) ## 0.3.0 (June 14, 2017) - require Sidekiq >= 4.2.0 (after Sinatra dependency was removed) ## 0.2.5 (December 14, 2015) - add csrf tag for sidekiq >= 3.4.2 - **[BREAKING CHANGE]** don't load `sidekiq/web` automagically at all (it never made any sense), instead do something like: ``` ruby require 'sidekiq/web' # then load expected failures panel require 'sidekiq/expected_failures/web' ``` ## 0.2.4 (July 23, 2014) - `Sidekiq::ExpectedFailures.clear_old` can now accept argument - will remove failures that are n days old (1 by default) - useful if you want to clear some of old failures using cronjob ## 0.2.3 (May 07, 2014) - removed (unnecessary) dependency on `Sidekiq::Util` (now Sidekiq 3.0 compatible) ## 0.2.2 (February 14, 2014) - rescue load error of `sidekiq/web` (this allows client only usage) ## 0.2.1 (December 18, 2013 ) - added JSON stats path in case you would like to fetch this data from external service. It works similar to sidekiq's _stats_. You can visit: `expected_failures/stats` to get a JSON response with global counters (PR #4) ``` json { "failures": { "ExceptionName": "123", "Other::ExceptionName": "10", } } ``` ## 0.2.0 (December 01, 2013) - [**breaking change**] ability to use Sidekiq's build-in `handle_exception` method - in case you want to use airbrake or other exception notify service. Since version `0.2.0` you need to provide `expected_failures` in a form of a hash, for example: ``` ruby class CustomizedWorker include ::Sidekiq::Worker sidekiq_options expected_failures: { NotImplementedError => nil, # notification disabled VeryOwn::CustomException => [10, 20, 50], # notify on 10th, 20th, 50th failure ZeroDivisionError => 5 # notify on 5th failure } end ``` - removed `sinatra-assetpack` dependency - js assets are now served inline (it seemed like a overkill to include that gem just for just two files) - added option to configure exception handled by default (for all workers): ``` ruby Sidekiq.configure_server do |config| config.expected_failures = { AlwaysHandledExceptionByDefault => 1000 } end ``` Note: if you specify `expected_failure`s for given worker defaults will be discarded (for that worker). - small front-end adjustments ## 0.0.1 (October 29, 2013) - Initial release