Protean

Latest version: v0.11.0

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

Scan your dependencies

Page 3 of 6

0.5.5

------------------

* Introduce Views (a.k.a Read Models)
* Refactor Domain Module to be leaner
* Introduce Class Factories for all Domain Elements
* Rename `impl` to `adapters`
* Add separate `ports` module with interfaces
* Remove `bounded_context` definition everywhere
* Rename `dict_repo` to `memory`
* Remove `*_repo` from DB adapter module names
* Rename `celery` and `inline` broker module names
* Rename `sendgrid` email module name

0.5.4

------------------

* Add support to restrict a model to a specific database
* Add support for optional pickling of `List` fields (leverage Postgres List support)
* Add support for Overlap operator in SQLAlchemy repo for Postgresql
* Bugfix - Return keys as Strings for `Dict` field
* Add support for storing Array of dictionaries in Postgres JSON column
* Bugfix - Validate unique constraints in Dictionary repo
* Bugfix - Fix broken Entity construction from Elasticsearch model

0.5.3

------------------

* Allow Postgres Models to choose b/w Pickle or Custom Types for Array and JSON
* Add support for Any operator/lookup for Postgres

0.5.2

------------------

* Introduce support for Postgresql Array and JSON columns
* Allow restricting `List` datatype to specific content types

0.5.1

------------------

* Log Protean exceptions to print helpful debug messages
* Support for installation of optional dependencies
* Remove support for Data Transfer Object
* Remove support for Request and Response Objects
* Bugfix - Throw Exceptions on Unit of Work commit failures
* Use `black` as code formatter, with a git pre-commit hook
* Add 3.9 to test matrix and cleanup Travis yml
* Bugfix - Fix broken Sphinx docs build

0.5.0

------------------

* Bugfix 304 - Remove shadow object linkages with aggregates
* Raise InvalidDataError on invalid attributes to Commands
* Treat meta attributes like auto_fields and mandatory_fields as dicts instead of tuples
* Add support for nested serializers/schemas with Marshmallow
* Bugfix to not link shadow fields with Aggregate/Entity classes directly
* Bugfix to set initialize Shadow (Reference) and Value Object attributes correctly
* Store Reference and Value Object fields in `Entity.meta_` for later use
* Allow Subscribers and Handlers to hook into multiple Events
* Bugfix to avoid fetching child records without foreign key linkages
* Add support for Dict serialization
* Allow persisting and management of child entities via the Aggregate object
* Add support for using Celery as the background worker

Page 3 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.