emkore 0.1.0
emkore: ^0.1.0 copied to clipboard
/// :emko core | A Clean Architecture-inspired Dart library by :emko
CHANGELOG #
0.1.0 #
๐ New Features #
- Authorization System: Added comprehensive permission-based authorization framework
- Added
Permissionclass with resource/action-based access control - Added
ResourceConstraintswith scope, status, time, and organization restrictions - Added
AuthorizationInterceptorfor use case-level access control - Added
AuthorizationExceptionfor authorization failures
- Added
- Enhanced Usecase Framework: Built-in authorization checking in all use cases
- JSON Serialization: Full JSON serialization support for Permission and ResourceConstraints
๐งช Testing #
- Added comprehensive test suite covering all core functionality
- Tests for Permission/ResourceConstraints serialization
- Tests for Validators (required, email, length, UUID, entityId, etc.)
- Tests for InMemoryRepository CRUD operations
- Tests for Entity implementation and copy operations
- Tests for Usecase authorization flow
๐ ๏ธ Improvements #
- Updated Permission type system with JSON parsers
- Removed wildcard support for permissions (more explicit control)
- Enhanced validation framework
0.0.9 #
- Turned SystemFields into a class (was a mixin).
- Made execute/performExecute parameters named instead of positional.
0.0.8 #
- Made Entity extendable.
0.0.7 #
- Added
DTOabstract class tolib/src/common/abstract.dto.dart.
0.0.6 #
- Changed Entity to be asbtract interface class.
0.0.5 #
- Added abstract base class Entity.
- Added
JSONtype alias forMap<String, Object?>inlib/src/common/type/json.type.dart. - Updated
CHANGELOG.mdto reflect the new type alias addition.