Releases: bolshakov/stoplight-admin
Releases · bolshakov/stoplight-admin
v0.4.0
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
- feat | Rewrite templates in ERB by @Lokideos in #38
- Feature/fix docker file by @bolshakov in #39
- Do not specify bundler version by @bolshakov in #40
- Add docker build action by @bolshakov in #41
- Fix docker build by @bolshakov in #42
- Refactoring by @bolshakov in #43
- Update sinatra-contrib requirement from ~> 2.2.3 to >= 2.2.3, < 3.2.0 by @dependabot in #45
- Release/v0.4 by @bolshakov in #44
New Contributors
- @dependabot made their first contribution in #45
Full Changelog: v0.3.6...v0.4.0
v0.4.0.pre1
What's Changed
- feat | Rewrite templates in ERB by @Lokideos in #38
- Feature/fix docker file by @bolshakov in #39
- Do not specify bundler version by @bolshakov in #40
- Add docker build action by @bolshakov in #41
Full Changelog: v0.3.6...v0.4.0.pre1
v0.3.6
What's Changed
- [CVE-2022-29970] Sinatra update by @tapajos in #31
- Fix documentation by @Lokideos in #32
- Addressing CVE-2022-45442 by bumping sinatra-contrib 2.2.0=>2.2.3 by @johnhebron in #33
- Minor dependencies update by @Lokideos in #36
- Fix
URI.escape
bug by @Lokideos in #36
New Contributors
- @tapajos made their first contribution in #31
- @Lokideos made their first contribution in #32
- @johnhebron made their first contribution in #33
Full Changelog: v0.3.5...v0.3.6