emkore 0.1.0 copy "emkore: ^0.1.0" to clipboard
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 Permission class with resource/action-based access control
    • Added ResourceConstraints with scope, status, time, and organization restrictions
    • Added AuthorizationInterceptor for use case-level access control
    • Added AuthorizationException for authorization failures
  • 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 DTO abstract class to lib/src/common/abstract.dto.dart.

0.0.6 #

  • Changed Entity to be asbtract interface class.

0.0.5 #

  • Added abstract base class Entity.
  • Added JSON type alias for Map<String, Object?> in lib/src/common/type/json.type.dart.
  • Updated CHANGELOG.md to reflect the new type alias addition.
1
likes
0
points
56
downloads

Publisher

verified publisheremko.dev

Weekly Downloads

/// :emko core | A Clean Architecture-inspired Dart library by :emko

Homepage

Topics

#clean #core #emko

License

unknown (license)

Dependencies

http, meta, sqlite3, uuid

More

Packages that depend on emkore