-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Merge `databind.core` and `databind.json` into `databind` package * fmt * move changelogs to root * breaking change: Drop support for Python 3.6 and 3.7 * update docs * update docs * add repo_url/repo_name * disable broken changelog-update job
- Loading branch information
1 parent
a976fb2
commit acfc438
Showing
156 changed files
with
725 additions
and
654 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
release-date = "2020-12-30" | ||
|
||
[[entries]] | ||
id = "941943f9-5cf7-48fb-beea-2c341bc01907" | ||
type = "improvement" | ||
description = "classes decorated with `@uniontype(container=True)` must now be constructed using a single keyword argument as in `MyUnion(member1=Member1Value())`\n" | ||
author = "@NiklasRosenstein" | ||
component = "databind.core" | ||
|
||
[[entries]] | ||
id = "0cb46581-98b5-40ad-82f1-eba64a2d498a" | ||
type = "fix" | ||
description = "add missing `to_stream` and `from_stream` to `__all__`" | ||
author = "@NiklasRosenstein" | ||
component = "databind.json" | ||
|
||
[[entries]] | ||
id = "b65cd60e-3b8f-42c0-b4d8-37e5257bc269" | ||
type = "feature" | ||
description = "add `cast()` function" | ||
author = "@NiklasRosenstein" | ||
component = "databind.json" |
20 changes: 19 additions & 1 deletion
20
databind.core/.changelog/0.11.0.toml → .changelog/0.11.0.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,43 @@ | ||
release-date = "2021-04-08" | ||
release-date = "2021-03-05" | ||
|
||
[[entries]] | ||
id = "5fdfb706-e8fd-4277-a4fa-8bc9fd894336" | ||
type = "feature" | ||
description = "`enumerate_fields()` now works with uniontype instances and classes" | ||
author = "@NiklasRosenstein" | ||
component = "databind.core" | ||
|
||
[[entries]] | ||
id = "58571d4d-65a2-46c7-949d-60f8eb219e56" | ||
type = "improvement" | ||
description = "update `@uniontype` generated `__repr__()` method" | ||
author = "@NiklasRosenstein" | ||
component = "databind.core" | ||
|
||
[[entries]] | ||
id = "8585b0f1-6d33-4f1c-8637-c4186e456786" | ||
type = "feature" | ||
description = "add support for member aliasing in `UnionResolver`" | ||
author = "@NiklasRosenstein" | ||
component = "databind.core" | ||
|
||
[[entries]] | ||
id = "9a23ae46-60fd-4f4f-950b-bb6966aa0003" | ||
type = "feature" | ||
description = "add `Context.closed_field_metadata()` function" | ||
author = "@NiklasRosenstein" | ||
component = "databind.core" | ||
|
||
[[entries]] | ||
id = "65f5c1ef-ae7f-4802-af8c-c5e5460f602d" | ||
type = "improvement" | ||
description = "Update union construction during deserialization" | ||
author = "@NiklasRosenstein" | ||
component = "databind.json" | ||
|
||
[[entries]] | ||
id = "779fedda-841f-4e00-bed0-e3ccab1ad836" | ||
type = "improvement" | ||
description = "minimum version of `databind.core` is `^0.10.0`" | ||
author = "@NiklasRosenstein" | ||
component = "databind.json" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
databind.json/.changelog/0.2.0.toml → .changelog/0.2.0.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,36 @@ | ||
release-date = "2020-08-29" | ||
|
||
[[entries]] | ||
id = "d54aa0ac-9329-4d2a-8e3a-16063491f764" | ||
type = "improvement" | ||
description = "update type hints to pass mypy checks" | ||
author = "@NiklasRosenstein" | ||
component = "databind.core" | ||
|
||
[[entries]] | ||
id = "47206f43-6699-40ea-8210-c1a341d2b623" | ||
type = "improvement" | ||
description = "`FieldMetadata` now keeps a reference to the `dataclasses.Field` object and it's' metadata" | ||
author = "@NiklasRosenstein" | ||
component = "databind.core" | ||
|
||
[[entries]] | ||
id = "3195561b-c5ed-4595-922b-9d76c46892f9" | ||
type = "improvement" | ||
description = "update type hints to pass mypy checks" | ||
author = "@NiklasRosenstein" | ||
component = "databind.json" | ||
|
||
[[entries]] | ||
id = "c3458aff-e6b3-4b20-97b0-12882818b6db" | ||
type = "improvement" | ||
description = "add DEBUG log when `MixtypeConverter` is unable to convert a value at all to make debugging easier" | ||
author = "@NiklasRosenstein" | ||
component = "databind.json" | ||
|
||
[[entries]] | ||
id = "37e0f485-54c0-4bcf-bd3e-082f629b8689" | ||
type = "fix" | ||
description = "accept `datetime.date`/`datetime.datetime` objects when converting to python if the target type is a respective match (rather than forcing a string as an input)" | ||
author = "@NiklasRosenstein" | ||
component = "databind.json" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
release-date = "2020-09-06" | ||
|
||
[[entries]] | ||
id = "8bc4f7c3-1a29-41f1-9f5d-f3f8a99897ca" | ||
type = "fix" | ||
description = "Re-render setup file, materializing missing dependency on `dataclasses`. This fixes using the module in Python 3.6." | ||
author = "@NiklasRosenstein" | ||
component = "databind.core" | ||
|
||
[[entries]] | ||
id = "7abbb43c-0eab-4009-9353-9de48aebc5b7" | ||
type = "fix" | ||
description = "conversion of values of a `List` subtype *from Python* are now converted to a built-in `list` instead of the same `List` subtype" | ||
author = "@NiklasRosenstein" | ||
component = "databind.json" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 18 additions & 1 deletion
19
databind.core/.changelog/0.6.0.toml → .changelog/0.6.0.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,36 @@ | ||
release-date = "2020-09-14" | ||
release-date = "2020-09-10" | ||
|
||
[[entries]] | ||
id = "da1141be-ec57-4d28-a50a-1158dca6107b" | ||
type = "fix" | ||
description = "`Registry.get_converter()` now looks for a converter in the base classes only if it could not find it for the normalized version of the current type, making converter resolution more predictable" | ||
author = "@NiklasRosenstein" | ||
component = "databind.core" | ||
|
||
[[entries]] | ||
id = "df476ea6-934c-440c-92be-d41f4bc8422c" | ||
type = "feature" | ||
description = "Add `ClassUnionResolver` which evaluates type hints dynamically, allowing to use forward references in the type hints of a `@uniontype()`" | ||
author = "@NiklasRosenstein" | ||
component = "databind.core" | ||
|
||
[[entries]] | ||
id = "65bd22be-4505-4b45-ad8a-b0f7f6307312" | ||
type = "feature" | ||
description = "Add `@interface()` and `@implementation()` decorators" | ||
author = "@NiklasRosenstein" | ||
component = "databind.core" | ||
|
||
[[entries]] | ||
id = "cc7ad2d7-1ba6-428a-8f49-b7407ccdc505" | ||
type = "feature" | ||
description = "Add `to_stream()` and `from_stream()` functions" | ||
author = "@NiklasRosenstein" | ||
component = "databind.json" | ||
|
||
[[entries]] | ||
id = "bc0a165d-7868-415c-9b52-8f9ad9040cb9" | ||
type = "feature" | ||
description = "Add support for `typing.Dict` subclasses" | ||
author = "@NiklasRosenstein" | ||
component = "databind.json" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 11 additions & 1 deletion
12
databind.core/.changelog/0.9.0.toml → .changelog/0.9.0.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,29 @@ | ||
release-date = "2020-12-30" | ||
release-date = "2020-11-24" | ||
|
||
[[entries]] | ||
id = "b52ab6b6-b481-4bb7-9883-71adc813408e" | ||
type = "feature" | ||
description = "add `ImportingUnionResolver` and `EntrypointUnionResolver`, both which can also be used with the `@interface` decorator. The `resolver` argument now accepts a string which will be converted into a `UnionResolver` (supported formats are `import` and `entrypoint:<group-name>`)" | ||
author = "@NiklasRosenstein" | ||
component = "databind.core" | ||
|
||
[[entries]] | ||
id = "3c1737e4-fe26-46e8-9b0c-6560cc9041bd" | ||
type = "fix" | ||
description = "`@implementation()` can now be used without explicitly specifying the `for_` parameter when decorating a class with multiple bases where only one base is a `@uniontype`" | ||
author = "@NiklasRosenstein" | ||
component = "databind.core" | ||
|
||
[[entries]] | ||
id = "896fee89-6413-4f92-8ffd-130e27bc27de" | ||
type = "fix" | ||
description = "fix inheritance of fields from `@dataclass` parent classes" | ||
author = "@NiklasRosenstein" | ||
component = "databind.core" | ||
|
||
[[entries]] | ||
id = "4436d541-f7a8-4c1b-9292-0bc1d6624a15" | ||
type = "feature" | ||
description = "handle `FieldMetadata.relaxed` and `FieldMetadata.strict` in Bool, Integer and String converters" | ||
author = "@NiklasRosenstein" | ||
component = "databind.json" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.