Skip to content

Commit

Permalink
Changelog for v0.5.0 and tox fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
subhashb committed May 1, 2020
1 parent 145a712 commit 15e0d48
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 8 deletions.
12 changes: 8 additions & 4 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,20 +1,24 @@
Release History
===============

DEV
---
0.5.0 (2020-05-01)
------------------

* 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 1Entity.meta_` for later use
* Store Reference and Value Object fields in `Entity.meta_` for later use
* Allow Subscribers and Handlers to hook into multiple Domain 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

0.4.0 (2020-03-16)
----------------
------------------

* Add support for referencing embedded fields with a defined name
* Fix to allow `default=False` on Boolean fields and subsequent filtering for `False` in field values
Expand Down
1 change: 1 addition & 0 deletions src/protean/core/broker/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from collections import defaultdict
from collections.abc import Iterable

# Protean
from protean.domain import DomainObjects
from protean.utils import fully_qualified_name

Expand Down
3 changes: 1 addition & 2 deletions src/protean/impl/broker/celery_broker.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@

from collections.abc import Iterable

# Protean
from celery import Celery, Task
from kombu import Queue

# Protean
from protean.core.broker.base import BaseBroker
from protean.core.domain_event import BaseDomainEvent
from protean.domain import DomainObjects
Expand Down
2 changes: 2 additions & 0 deletions tests/aggregate/aggregate_elements_with_value_objects.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Standard Library Imports
from enum import Enum

# Protean
from protean.core.aggregate import BaseAggregate
from protean.core.field.basic import String
from protean.core.field.embedded import ValueObjectField
Expand Down
1 change: 1 addition & 0 deletions tests/aggregate/test_aggregates_with_value_objects.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Local/Relative Imports
from .aggregate_elements_with_value_objects import File, Resource


Expand Down
3 changes: 1 addition & 2 deletions tests/impl/broker/celery_broker/test_subscriber.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# Protean
import pytest

from celery import Task

from protean.globals import current_domain
from protean.impl.broker.celery_broker import CeleryBroker, ProteanTask

from tests.impl.broker.celery_broker.elements import NotifySSOSubscriber, Person


Expand Down
2 changes: 2 additions & 0 deletions tests/repository/test_child_persistence.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# Protean
import pytest

from protean.globals import current_domain

# Local/Relative Imports
from .child_entities import Comment, Post, PostMeta


Expand Down

0 comments on commit 15e0d48

Please sign in to comment.