Skip to content

Commit

Permalink
Version 0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
benpickles committed Feb 23, 2025
1 parent 3f33417 commit dd967bd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
## Version 0.5.0 - 2025-02-23

- Add support for Phlex 2, drop support for Phlex 1 - this also means the minimum required Ruby version is now 3.2.
- Reimplement this library to use the official Sinatra extension API. For a modular-style app the extension must now be explicitly registered:

```ruby
class MyApp < Sinatra::Base
helpers Phlex::Sinatra
end
```

## Version 0.4.0 - 2024-09-10

- 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.
Expand Down
2 changes: 1 addition & 1 deletion lib/phlex/sinatra/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module Phlex
module Sinatra
VERSION = '0.4.0'
VERSION = '0.5.0'
end
end

0 comments on commit dd967bd

Please sign in to comment.