Protean

Latest version: v0.11.0

Safety actively analyzes 621825 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 6

0.10.0

------

* Enhance `domain.init` as the way to activate a domain
* Introduce a new test category `WITH_COVERAGE` and use in Github Actions
* Remove dynamic initializations in providers, brokers, caches, and event stores

0.9.1

-----

* Bugfix - Use Domain's EventStore connection details for clearing events after test runs

0.9.0

-----

* Output VO values as nested dicts instead of a forced flat structure
* Enclose DAOs within repositories to encourage DB interaction solely through repos
* Remove `remove` method from repository to discourage hard deletes
* Manage concurrency with Aggregate versions
* Add MessageDB Event store adapter
* Add stand-in Memory Event store
* Introduce EventSourced Aggregates and Event Handlers
* Introduce EventSourced Repositories
* Allow filtering of messages from their origin stream
* Allow Event Handlers to listen to other streams and ALL streams
* Allow Command Handler methods to handle any event
* Wrap EventHandler and CommandHandler methods execute within UnitOfWork
* Associate Commands and Events with streams (explicit and via Aggregates)
* Support processing events and commands in synchronous mode.
* Allow asynchronous command processing by submitting commands to domain
* Add `autoflake` to `pre-commit`
* Treat empty string value as None in Date and DateTime Fields
* Support inter-attribute dependencies in Option defaults
* Cache registry, repositories, daos, and models with `cache`
* Fix sorting issue with null values in Memory DB
* Add `any` filter and allow scalar values to `in` operator in Memory DB

0.8.1

-----

* Allow custom separator in Elasticsearch namespaces

0.8.0

-----

* Move `fields` module to be under main package
* Allow `List` fields to contain `Dict` objects
* Elasticsearch adapter bugfixes and model enhancements
* Make views stateful to allow persistence and retrieval
* Auto-generate Event's `message_id`
* Support pickling of Protean exceptions
* Bugfix - Fetch view objects instead of simply IDs in `cache.get_all()`
* Bugfix - Generate embedded ValueObject's data properly in `to_dict()`
* Bugfix - Derive SQLAlchemy field types correctly for embedded value object fields

0.7.0

-----

* Simplify Container structure and refactor metaclass usage
* Migrate data elements to inherit from `BaseContainer`
* Remove `meta_` fields and use module functions
* Resolve associated classes dynamically and on domain activation
* Remove custom Meta classes and replace with `Options`

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.