Skip to content

Commit dd967bd

Browse files
committed
Version 0.5.0
1 parent 3f33417 commit dd967bd

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
## Version 0.5.0 - 2025-02-23
2+
3+
- Add support for Phlex 2, drop support for Phlex 1 - this also means the minimum required Ruby version is now 3.2.
4+
- Reimplement this library to use the official Sinatra extension API. For a modular-style app the extension must now be explicitly registered:
5+
6+
```ruby
7+
class MyApp < Sinatra::Base
8+
helpers Phlex::Sinatra
9+
end
10+
```
11+
112
## Version 0.4.0 - 2024-09-10
213

314
- Add support for wrapping a Phlex view in a layout. Pass `layout: true` to use Sinatra's default layout or specify the view by passing a symbol. Defaults to ERB and other Sinatra templating languages can be specified via the `layout_engine:` keyword.

lib/phlex/sinatra/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
module Phlex
44
module Sinatra
5-
VERSION = '0.4.0'
5+
VERSION = '0.5.0'
66
end
77
end

0 commit comments

Comments
 (0)