moose_core 0.1.0
moose_core: ^0.1.0 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.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