nano_core 0.1.0
nano_core: ^0.1.0 copied to clipboard
A lightweight reactive architecture framework and design system toolkit for Flutter multiplatform applications.
Changelog #
All notable changes to the nano_core project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.1.0 - 2026-08-29 #
Breaking Changes #
NanoController<T>: Now strictly enforcesT extends NanoViewState. Primitive types (String,int, etc.) or arbitrary unbounded types are no longer permitted as state data models.NanoScaffold<T, M>: Builder signature updated fromWidget Function(BuildContext, Widget?)toWidget Function(BuildContext, NanoState<T>)allowing direct reactive state access. Added support for typed message keysM extends NanoMessageKeyand dynamic builders (headerBuilder,footerBuilder,drawerBuilder,floatingActionButtonBuilder).NanoStatePage<W, C>: Generic parameter forNanoInjectionsremoved.injectionsis now an abstract getterNanoInjections get injections;with automatic GetIt scope initialization (initScope) and teardown (dropScope).NanoStateContentremoved: Replaced by the standardizedNanoViewStatebase class.
Added #
NanoHttpClientinterface defining standardized HTTP client contracts.NanoHttpResponsegeneric response model withNanoHttpResponseExtensionhelpers (isSuccess,isClientError,isServerError).NanoHttpCodestatus code constants.NanoAdapterabstract generic model adapter for JSON serialization and deserialization.NanoEntitybase generic entity with unique identifier and value equality.NanoRepositorybase generic CRUD repository with automated serialization.NanoViewStatebase class enforcing structured, equatable view state models forNanoController.
Removed #
NanoStateContentin favor of the standardizedNanoViewState.
0.0.5 - 2026-08-27 #
Added #
- GitHub repository link to header of
example/lib/main.dart. - Full internationalization (l10n) support in
examplewithflutter_localizationsandintl.
Changed #
NanoMessageKeyrefactored to useString Function(BuildContext) get messageinstead ofString get messageto allow highly decoupled, on-demand localization via Context.NanoStatenow defineskeyas a nullableNanoMessageKey?, removing the need for mandatory wrappers.NanoScaffoldandStateSimulatorCardupdated to callmessage(context)and elegantly fallback when no key is provided.
0.0.4 - 2026-07-28 #
Added #
- Strict linting rules in
analysis_options.yaml(sort_constructors_first,sort_unnamed_constructors_first,lines_longer_than_80_chars,always_declare_return_types,prefer_single_quotes, andunawaited_futures).
Changed #
- Constructors reordered across core classes to satisfy
sort_constructors_first. example/**directory excluded from strict documentation linting while preserving 100% strict Dartdoc enforcement on corelib/package APIs.
0.0.3 - 2026-07-28 #
Added #
- Complete explicit Dartdoc constructor documentation across
NanoController,NanoLoadingOverlay,NanoScaffold,NanoStatePage, andNanoToastto pass pub.dev Pana analysis checks. - Showcase
exampleapp re-architected into clean modular feature layers followingnano-budgetsdesign (app/core/theme,app/pages/showcase/widgets). - Package metadata and
README.mdupdated with active Beta status notice and badges.
Removed #
- Unused
lib/main.dartentrypoint from package core.
0.0.2 - 2026-07-24 #
Added #
NanoToastsmart multiplatform notification component for Web, Desktop, and Mobile.NanoDeviceTypefor robust platform and responsive screen environment detection.warningstate status and helpers (isWarning,toWarning()) inNanoState.onCustomError,onCustomWarning, andonCustomSuccesscallbacks toNanoScaffold.homepageURL (https://nanodevs.com.br) in package metadata.- Comprehensive English Dartdoc documentation for all core APIs.