Skip to content

Releases: bolshakov/stoplight-admin

v0.4.0

23 Aug 21:20
0a5f9f8
Compare
Choose a tag to compare

This is the first release compatible with the Stoplight 4.1 version. This release brings some incompatible changes. This is the summary of the changes that you have to make if you use rails:

require 'redis'
- require 'sinatra/stoplight_admin'
+ require 'stoplight_admin/application'

class StoplightAdmin < Sinatra::Base
-  register Sinatra::StoplightAdmin
+  register StoplightAdmin::Application

  redis = Redis.new # Uses REDIS_URL environment variable.
  data_store = Stoplight::DataStore::Redis.new(redis)
  set :data_store, data_store
end

Rails.application.routes.draw do
-  mount StoplightAdmin => '/stoplights'
+  mount StoplightAdminApp => '/stoplights'
end

Do not name your class.StoplightAdmin this name is reserved by the stoplight-admin gem itself.

What's Changed

New Contributors

Full Changelog: v0.3.6...v0.4.0

v0.4.0.pre1

23 Aug 21:14
26a8c9f
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3.6...v0.4.0.pre1

v0.3.6

27 Feb 16:16
7c71984
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.3.5...v0.3.6