Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.0.0 release #1996

Merged
merged 1 commit into from
Jan 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
25 changes: 23 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.2.0
4.0.0
2 changes: 1 addition & 1 deletion lib/sinatra/version.rb
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

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