File tree Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 1
1
# Release Notes for Datastar
2
2
3
+ ## 1.0.0-RC.4 - 2025-08-06
4
+
5
+ - The plugin now includes Datastar [ 1.0.0-RC.4] ( https://github.com/starfederation/datastar/releases/tag/v1.0.0-RC.4 ) .
6
+ - Add fluent method chaining to the ` Sse ` service.
7
+ - The session is now closed by default when the ` getEventStream() ` method is called, to prevent session locking.
8
+ - Replaced the ` DatastarEventStream ` trait with the ` SseTrait ` trait.
9
+
3
10
## 1.0.0-RC.3 - 2025-07-31
4
11
5
12
- The plugin now includes Datastar [ 1.0.0-RC.3] ( https://github.com/starfederation/datastar/releases/tag/v1.0.0-RC.3 ) .
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " putyourlightson/craft-datastar" ,
3
3
"description" : " A reactive hypermedia framework for Craft." ,
4
- "version" : " 1.0.0-RC.3 " ,
4
+ "version" : " 1.0.0-RC.4 " ,
5
5
"type" : " craft-plugin" ,
6
6
"license" : " mit" ,
7
7
"require" : {
8
8
"php" : " ^8.2" ,
9
9
"craftcms/cms" : " ^5.4" ,
10
- "putyourlightson/craft-datastar-module" : " ^1.0.0-RC.4 "
10
+ "putyourlightson/craft-datastar-module" : " ^1.0.0-RC.5 "
11
11
},
12
12
"require-dev" : {
13
13
"craftcms/ecs" : " dev-main" ,
Original file line number Diff line number Diff line change 9
9
use craft \base \Model ;
10
10
use craft \base \Plugin as BasePlugin ;
11
11
use putyourlightson \datastar \Datastar ;
12
- use putyourlightson \datastar \models \SettingsModel ;
12
+ use putyourlightson \datastar \models \Settings ;
13
13
14
14
class Plugin extends BasePlugin
15
15
{
@@ -27,6 +27,6 @@ public function init(): void
27
27
*/
28
28
public function getSettings (): Model
29
29
{
30
- return new SettingsModel ();
30
+ return new Settings ();
31
31
}
32
32
}
You can’t perform that action at this time.
0 commit comments