Skip to content

Commit cc0475f

Browse files
committed
Version 0.4.0
1 parent 7ae01ba commit cc0475f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## Version 0.4.0 - 2024-09-10
2+
3+
- 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.
4+
15
## Version 0.3.0 - 2023-12-13
26

37
- Add support for streaming a view. Pass `stream: true` to the `#phlex` helper so Phlex will use Sinatra's streaming capability.

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.3.0'
5+
VERSION = '0.4.0'
66
end
77
end

0 commit comments

Comments
 (0)