Skip to content

Commit

Permalink
4.0.0 release (#1996)
Browse files Browse the repository at this point in the history
Close #1985
  • Loading branch information
dentarg committed Jan 19, 2024
1 parent e56f657 commit b626e2d
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 6 deletions.
25 changes: 23 additions & 2 deletions CHANGELOG.md
@@ -1,6 +1,27 @@
## Unreleased
## 4.0.0. / 2024-01-19

* _Your new feature here._
* New: Add support for Rack 3 ([#1857])
* Note: you may want to read the [Rack 3 Upgrade Guide]

* Require Ruby 2.7.8 as minimum Ruby version ([#1993])

* Breaking change: Drop support for Rack 2 ([#1857])
* Note: when using Sinatra to start the web server, you now need the `rackup` gem installed

* Breaking change: Remove the `IndifferentHash` initializer ([#1982])

* Breaking change: Disable `session_hijacking` protection by default ([#1984])

* Breaking change: Remove `Rack::Protection::EncryptedCookie` ([#1989])
* Note: cookies are still encrypted (by [`Rack::Session::Cookie`])

[#1857]: https://github.com/sinatra/sinatra/pull/1857
[#1993]: https://github.com/sinatra/sinatra/pull/1993
[#1982]: https://github.com/sinatra/sinatra/pull/1982
[#1984]: https://github.com/sinatra/sinatra/pull/1984
[#1989]: https://github.com/sinatra/sinatra/pull/1989
[`Rack::Session::Cookie`]: https://github.com/rack/rack-session
[Rack 3 Upgrade Guide]: https://github.com/rack/rack/blob/main/UPGRADE-GUIDE.md

## 3.2.0 / 2023-12-29

Expand Down
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
3.2.0
4.0.0
2 changes: 1 addition & 1 deletion lib/sinatra/version.rb
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Sinatra
VERSION = '3.2.0'
VERSION = '4.0.0'
end
2 changes: 1 addition & 1 deletion rack-protection/lib/rack/protection/version.rb
Expand Up @@ -2,6 +2,6 @@

module Rack
module Protection
VERSION = '3.2.0'
VERSION = '4.0.0'
end
end
2 changes: 1 addition & 1 deletion sinatra-contrib/lib/sinatra/contrib/version.rb
Expand Up @@ -2,6 +2,6 @@

module Sinatra
module Contrib
VERSION = '3.2.0'
VERSION = '4.0.0'
end
end

0 comments on commit b626e2d

Please sign in to comment.