Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
72eee5a
refactor(solidart): upgrade alien_signals adapter
medz Jun 25, 2026
346d701
refactor(flutter_solidart): use reactive sub helper
medz Jun 25, 2026
e3e07cb
test(flutter_solidart): stabilize ci widget taps
medz Jun 25, 2026
497aa4e
test(solidart): cover alien adapter helpers
medz Jun 25, 2026
194101b
test: satisfy ci analyzer rules
medz Jun 25, 2026
1457eeb
fix(solidart): preserve adapter comparison semantics
medz Jun 25, 2026
fd2b322
refactor(solidart): remove update() alias and clarify reactive system AP
nank1ro Jun 25, 2026
a5393ec
test(solidart): tighten reactive-system helper assertions
nank1ro Jun 25, 2026
1aad70e
fix(solidart): fully unlink subscribers on signal dispose
nank1ro Jun 25, 2026
67dc2fd
chore: changelog and version bump for alien_signals 2.3.1 upgrade
nank1ro Jun 25, 2026
8066066
chore(solidart): assert computed graph invariant in getComputedValue
nank1ro Jun 25, 2026
f3c0494
test(solidart): cover manual auto-dispose source-dispose path
nank1ro Jun 25, 2026
cd06344
test(solidart): regression for premature computed auto-dispose (#162)
nank1ro Jun 25, 2026
cba48d0
fix(solidart): Computed.listenerCount reports subscribers, not deps
nank1ro Jun 25, 2026
09e244c
fix(solidart): fully unlink subscribers when disposing a Computed
nank1ro Jun 25, 2026
b18fee5
fix(solidart): unlink subscribers on signal dispose regardless of aut…
nank1ro Jun 25, 2026
373e937
refactor(solidart): move reactive adapter out of the public API
nank1ro Jun 25, 2026
561da7c
fix(solidart): auto-dispose a computed's subscribers on dispose
nank1ro Jun 25, 2026
be8b5b6
chore: 3.0.0-dev.1 prerelease across the workspace
nank1ro Jun 25, 2026
7f2ae12
feat(solidart)!: auto-dispose is opt-in (default false) and consisten…
nank1ro Jun 25, 2026
65d16a8
chore(solidart_lint): 3.1.0-dev.1 requiring the solidart 3.0 line
nank1ro Jun 25, 2026
40892ce
ci(solidart): silence remove_deprecations_in_breaking_versions
nank1ro Jun 25, 2026
545dbb2
test(solidart): cover Resource source auto-disposal
nank1ro Jun 30, 2026
b8e12cc
chore(solidart): ignore remove_deprecations_in_breaking_versions per …
nank1ro Jun 30, 2026
890ded9
chore: make solidart_lint example a workspace member
nank1ro Jun 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/auth_flow/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies:
flutter:
sdk: flutter
disco: ^1.0.3+1
flutter_solidart: ^2.7.2
flutter_solidart: ^3.0.0-dev.1
go_router: ^17.0.0
localstorage: ^6.0.0

Expand Down
2 changes: 1 addition & 1 deletion examples/counter/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ resolution: workspace
dependencies:
flutter:
sdk: flutter
flutter_solidart: ^2.0.0
flutter_solidart: ^3.0.0-dev.1

# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
Expand Down
2 changes: 1 addition & 1 deletion examples/github_search/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ dependencies:
disco: ^1.0.0
flutter:
sdk: flutter
flutter_solidart: ^2.0.0
flutter_solidart: ^3.0.0-dev.1
json_annotation: ^4.8.1
equatable: ^2.0.5
http: ^1.3.0
Expand Down
2 changes: 1 addition & 1 deletion examples/infinite_scroll/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies:
disco: ^1.0.3+1
flutter:
sdk: flutter
flutter_solidart: ^2.7.1
flutter_solidart: ^3.0.0-dev.1
http: ^1.6.0

dev_dependencies:
Expand Down
2 changes: 1 addition & 1 deletion examples/todos/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies:
disco: ^1.0.0
flutter:
sdk: flutter
flutter_solidart: ^2.0.0
flutter_solidart: ^3.0.0-dev.1
uuid: ^4.5.1

dev_dependencies:
Expand Down
2 changes: 1 addition & 1 deletion examples/toggle_theme/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ dependencies:
disco: ^1.0.0
flutter:
sdk: flutter
flutter_solidart: ^2.0.0
flutter_solidart: ^3.0.0-dev.1

dev_dependencies:
flutter_test:
Expand Down
7 changes: 7 additions & 0 deletions packages/flutter_solidart/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 3.0.0-dev.1

- **BREAKING**: Inherits solidart's auto-dispose change — auto-dispose is now opt-in (`SolidartConfig.autoDispose` defaults to `false`).
- **CHORE**: Require `solidart: ^3.0.0-dev.1` (the `alien_signals` 2.3.1 reactive adapter).
- **REFACTOR**: Route `SignalBuilder` through the reactive sub helper (`setCurrentSub`) instead of assigning `activeSub` directly.
- **CHORE**: Consume solidart's `reactiveSystem` via `package:solidart/solidart_internal.dart` now that it is no longer part of solidart's public barrel.

## 2.7.4

### Changes from solidart
Expand Down
2 changes: 1 addition & 1 deletion packages/flutter_solidart/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ dependencies:
flutter:
sdk: flutter
http: ^1.3.0
flutter_solidart: ^2.0.0
flutter_solidart: ^3.0.0-dev.1

dev_dependencies:
flutter_test:
Expand Down
8 changes: 5 additions & 3 deletions packages/flutter_solidart/lib/src/widgets/signal_builder.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
import 'package:flutter/widgets.dart';
import 'package:meta/meta.dart';
import 'package:solidart/solidart.dart';
// `reactiveSystem` is internal solidart API, not part of the public barrel.
import 'package:solidart/solidart_internal.dart';

/// {@template signalbuilder}
/// Reacts to the signals automatically found in the [builder] function.
Expand Down Expand Up @@ -83,9 +85,9 @@ class _SignalBuilderElement extends StatelessElement {

@override
Widget build() {
final prevSub = reactiveSystem.activeSub;
// ignore: invalid_use_of_protected_member
final node = reactiveSystem.activeSub = effect.subscriber;
final node = effect.subscriber;
final prevSub = reactiveSystem.setCurrentSub(node);

try {
final built = super.build();
Expand All @@ -101,7 +103,7 @@ You can disable this check by setting `SolidartConfig.assertSignalBuilderWithout

return built;
} finally {
reactiveSystem.activeSub = prevSub;
reactiveSystem.setCurrentSub(prevSub);
}
}
}
4 changes: 2 additions & 2 deletions packages/flutter_solidart/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_solidart
description: A simple State Management solution for Flutter applications inspired by SolidJS
version: 2.7.4
version: 3.0.0-dev.1
repository: https://github.com/nank1ro/solidart
documentation: https://solidart.mariuti.com
topics:
Expand All @@ -18,7 +18,7 @@ dependencies:
flutter:
sdk: flutter
meta: ^1.11.0
solidart: ^2.8.6
solidart: ^3.0.0-dev.1

dev_dependencies:
disco: ^1.0.0
Expand Down
Loading
Loading