Skip to content

Commit 94b308e

Browse files
authored
chore(release): 0.0.1-alpha.9 (#20)
* chore(release): 0.0.1-alpha.9 * docs: fix Gate ability names in profile.md, add HideBottomNav to widgets table - profile.md: replace incorrect dot-notation Gate ability names (starter.profile.*) with actual hyphenated names from service provider (starter.update-*, starter.manage-*, starter.verify-*, etc.) - views-and-layouts.md: add MagicStarterHideBottomNav to the Other Exported Widgets table
1 parent a34649f commit 94b308e

5 files changed

Lines changed: 25 additions & 14 deletions

File tree

CHANGELOG.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,19 @@ All notable changes to this project will be documented in this file.
44

55
## [Unreleased]
66

7-
### Added
8-
- Documentation for recommended state/controller registration pattern for consumer apps (`doc/architecture/controllers.md`, `doc/guides/state-management.md`)
9-
- State registration guidance in scaffolded `app_service_provider.stub`
7+
## [0.0.1-alpha.9] - 2026-04-04
8+
9+
### ✨ New Features
10+
- **MagicStarterHideBottomNav**: New `InheritedWidget` that signals `MagicStarterAppLayout` to hide the mobile bottom navigation bar for fullscreen routes — wired into layout and exported from barrel (#19)
11+
12+
### 📚 Documentation
13+
- **State/Controller Registration Guide**: New architecture reference (`doc/architecture/controllers.md`) covering the lazy singleton pattern, `MagicController + MagicStateMixin` usage, controller lifecycle, view binding, and a decision tree for eager vs lazy vs per-view registration (#18)
14+
- **State Management Getting-Started Guide**: New practical guide (`doc/guides/state-management.md`) with end-to-end examples — state class, view integration, and testing patterns for consumer apps (#18)
15+
- **Scaffolded Stub**: `app_service_provider.stub` now includes state registration guidance comments showing the recommended `Magic.findOrPut()` pattern (#18)
16+
- **Cross-References**: `doc/architecture/service-provider.md` now links to the new controllers doc (#18)
17+
18+
### 🔧 Improvements
19+
- **CI**: Bumped `codecov/codecov-action` from v5 to v6 (#16)
1020

1121
## [0.0.1-alpha.8] - 2026-03-31
1222

CLAUDE.md

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

33
Flutter starter kit for the Magic Framework. Pre-built Auth, Profile, Teams & Notifications — 13 opt-in features, every screen overridable via Wind UI.
44

5-
**Version:** 0.0.1-alpha.8 · **Dart:** >=3.6.0 · **Flutter:** >=3.27.0
5+
**Version:** 0.0.1-alpha.9 · **Dart:** >=3.6.0 · **Flutter:** >=3.27.0
66

77
## Commands
88

doc/basics/profile.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -247,15 +247,15 @@ The service provider auto-registers 9 `starter.*` Gate abilities that control se
247247

248248
| Ability | Controls |
249249
|---------|----------|
250-
| `starter.profile` | Profile information section |
251-
| `starter.profile.photo` | Profile photo upload/delete |
252-
| `starter.profile.password` | Password change section |
253-
| `starter.profile.email_verification` | Email verification banner |
254-
| `starter.profile.two_factor` | Two-factor enable/disable section |
255-
| `starter.profile.sessions` | Active sessions list |
256-
| `starter.profile.extended` | Extended profile fields |
257-
| `starter.profile.newsletter` | Newsletter subscription toggle |
258-
| `starter.profile.delete` | Account deletion section |
250+
| `starter.update-profile-photo` | Profile photo upload/remove section |
251+
| `starter.update-email` | Email field in profile information |
252+
| `starter.update-phone` | Phone and country code in extended profile |
253+
| `starter.update-password` | Password change section |
254+
| `starter.verify-email` | Email verification banner |
255+
| `starter.manage-two-factor` | Two-factor authentication section |
256+
| `starter.manage-newsletter` | Newsletter preferences section |
257+
| `starter.logout-sessions` | Logout/revoke buttons in browser sessions |
258+
| `starter.delete-account` | Account deletion section |
259259

260260
Feature flags control whether the feature exists; Gate abilities control whether a specific user can access it.
261261

doc/basics/views-and-layouts.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -635,3 +635,4 @@ The modal can also be used for standalone re-authentication (e.g. before a sensi
635635
| `MagicStarterUserProfileDropdown` | Circular avatar menu showing signed-in user info, profile links, and logout. Supports a custom `triggerBuilder`. |
636636
| `MagicStarterNotificationDropdown` | Bell-icon dropdown backed by a `Stream<List<DatabaseNotification>>`. Displays live unread badge, color-coded icons, and mark-as-read callbacks. |
637637
| `MagicStarterSocialDivider` | Horizontal "Or continue with" divider for auth forms. No parameters — pure presentation. |
638+
| `MagicStarterHideBottomNav` | `InheritedWidget` that signals `MagicStarterAppLayout` to hide the mobile bottom navigation bar. Wrap a route layout with this widget and check `MagicStarterHideBottomNav.of(context)` in the layout's build method. |

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: magic_starter
22
description: Starter kit for Magic Framework. Auth, Profile, Teams, Notifications — 13 opt-in features with overridable views.
3-
version: 0.0.1-alpha.8
3+
version: 0.0.1-alpha.9
44
homepage: https://magic.fluttersdk.com/starter
55
documentation: https://magic.fluttersdk.com/packages/starter/getting-started/installation
66
repository: https://github.com/fluttersdk/magic_starter

0 commit comments

Comments
 (0)