moose_core 0.1.2
moose_core: ^0.1.2 copied to clipboard
Core architecture for modular Flutter e-commerce applications with plugin-based architecture, repository pattern, and configurable UI sections.
Changelog #
All notable changes to moose_core will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.1.2 - 2026-02-18 #
Fixed #
- Updated
intlconstraint from^0.19.0to^0.20.2to support latest stable version - Fixed angle-bracket HTML warnings in
PostRepositoryandReviewRepositorydoc comments
0.1.1 - 2026-02-18 #
Changed #
- Comprehensive documentation update for all AI-ready docs in
doc/ai-ready/
Fixed #
- Corrected file paths throughout documentation (
lib/core/→lib/src/) - Fixed
WidgetRegistrytypedef:SectionBuilderFn = FeatureSection Function(...)(was incorrectly documented as returningWidget) - Fixed
buildSectionGroupsignature to use named parameterspluginNameandgroupName - Fixed
EventBususage examples to reflect string-based pub/sub API (not typed events) - Fixed
FeatureSection.getSetting<T>()exception documentation to match actualExceptiontype - Fixed GitHub organisation in README URLs (
your-org→greymooseinc) - Fixed
BackendAdapter.initialize()signature to includeMap<String, dynamic> configparameter - Fixed
CacheManagerAPI documentation to reflect static factory methods - Fixed
AdapterRegistryAPI: removed non-existentgetRepositoryAsync(); addedgetAvailableRepositories(),getInitializedAdapters(),clearAll()
Added #
- Full
AddonRegistrydocumentation indoc/ai-ready/REGISTRIES.md(purpose, API, slot naming, best practices) AddonRegistryentries inai/blueprint.json(templates, checklist rules, add-addon example walkthrough)
0.1.0 - 2025-12-01 #
Added #
CartAmountentity for flexible cart line items (shipping, tax, discount fees)MediaItementity with multi-media support (image, video) and thumbnail variantsShippingMethodandPaymentMethodtypes inCartRepositoryPaymentResult,PaymentStatus,RefundResult, andCartValidationResultinCartRepositoryCheckoutResultwith redirect URL support for external payment flowsShortsRepositoryandShortentity for short-form video contentBannerRepositoryandPromoBannerentityStoreRepositoryfor multi-store supportLocationRepositorywithAddress,Country, andPostalCodeentitiesReviewRepositoryas a standalone interface separate fromProductsRepositoryAddonRegistryfor UI extension points inFeatureSectionEventBusasynchronous publish-subscribe system for inter-plugin communicationBackendAdapter.initializeFromConfig()for automatic configuration loading fromConfigManager- JSON Schema validation in
BackendAdapter.validateConfig()via thejson_schemapackage PluginRegistrybottom tab management withbottomTabshook registrationAppNavigatorservice for plugin-agnostic navigationCurrencyFormatterutility for locale-aware currency displayAdapterRegistryrepository-level management (last-registered-wins model)FeaturePlugin.configSchemaandBackendAdapter.configSchemafor configuration validation- Platform support declarations for Android, iOS, web, Windows, macOS, and Linux
- Comprehensive
///API documentation on all public classes and methods - AI-ready documentation in
docs/ai-ready/covering all architectural patterns
Changed #
AdapterRegistryredesigned from "active adapter" model to repository-level registrationCartentity now includesamountslist replacing fixed fee fieldsCartRepositoryexpanded with full payment, order, and checkout lifecycle methodsProductsRepositorysplit: review methods moved toReviewRepository
0.0.1 - 2025-06-01 #
Added #
- Initial release of the moose_core package
- Plugin-based architecture with
FeaturePluginandPluginRegistry - Repository pattern with
CoreRepositorybase class and interfaces for products, cart, auth, posts, search, and push notifications - Backend adapter pattern with
BackendAdapterandAdapterRegistry FeatureSectionpattern for configurable UI sections with default settingsWidgetRegistryfor dynamic widget composition and registrationHookRegistrysynchronous data transformation system for inter-plugin hooksActionRegistryfor custom user interaction handlingCacheManagerwithMemoryCacheandPersistentCache(TTL support)ConfigManagerfor JSON-based external configurationApiClientbuilt on Dio with configurable interceptors- Core domain entities:
Product,Category,Cart,CartItem,Order,Checkout,User,ProductVariation,ProductAttribute,ProductFilters,ProductSortOption - Modular library structure:
entities,repositories,plugin,widgets,adapters,cache,services - BLoC-ready architecture with
flutter_blocintegration