Pyserde

Latest version: v0.22.2

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

Scan your dependencies

Page 3 of 12

0.17.1

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed
Bug fixes
* Fix broken code completion for LSP and jedi by yukinarit in https://github.com/yukinarit/pyserde/pull/533
Build
* Update coverage requirement from ==7.5.1 to ==7.5.2 by dependabot in https://github.com/yukinarit/pyserde/pull/529
* Update msgpack-types requirement from ^0.2 to ^0.3 by dependabot in https://github.com/yukinarit/pyserde/pull/530
Documentation
* Remove dataclass from documentation by yukinarit in https://github.com/yukinarit/pyserde/pull/531


**Full Changelog**: https://github.com/yukinarit/pyserde/compare/v0.17.0...v0.17.1

0.17.0

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed

pyserde now experimentally support SQLAlchemy integration. Thanks barsa-net for nice work!

python
serde
class User(Base):
__tablename__ = "users"

id: Mapped[int] = mapped_column(primary_key=True)
name: Mapped[str] = mapped_column(Text, nullable=False)
fullname: Mapped[str] = mapped_column(Text, nullable=False)
nickname: Mapped[Optional[str]] = mapped_column(Text)
attributes: Mapped[Optional[dict[str, str]]] = mapped_column(JSON)
projects: Mapped[list[Project]] = relationship(backref="owner")


New features
* feat: add support for SQLAlchemy dataclass-mapped tables by barsa-net in https://github.com/yukinarit/pyserde/pull/518
Build
* Update coverage requirement from ==7.5.0 to ==7.5.1 by dependabot in https://github.com/yukinarit/pyserde/pull/523
* Update pre-commit requirement from ==v3.7.0 to ==v3.7.1 by dependabot in https://github.com/yukinarit/pyserde/pull/526

New Contributors
* barsa-net made their first contribution in https://github.com/yukinarit/pyserde/pull/518

**Full Changelog**: https://github.com/yukinarit/pyserde/compare/v0.16.1...v0.17.0

0.16.1

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed
Bug fixes
* Fix pathlib serialization by yukinarit in https://github.com/yukinarit/pyserde/pull/519
Build
* Update mypy requirement from ==1.9.0 to ==1.10.0 by dependabot in https://github.com/yukinarit/pyserde/pull/521
* Update coverage requirement from ==7.4.4 to ==7.5.0 by dependabot in https://github.com/yukinarit/pyserde/pull/520
Refactoring
* Refactor tests by yukinarit in https://github.com/yukinarit/pyserde/pull/510
Other changes
* add some examples by JWSong in https://github.com/yukinarit/pyserde/pull/511

New Contributors
* JWSong made their first contribution in https://github.com/yukinarit/pyserde/pull/511

**Full Changelog**: https://github.com/yukinarit/pyserde/compare/v0.16.0...v0.16.1

0.16.0

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed
New features
* Raises SerdeError when type validation fails by yukinarit in https://github.com/yukinarit/pyserde/pull/504
CI
* Publish gh-pages when github release is made by yukinarit in https://github.com/yukinarit/pyserde/pull/507
Build
* Update coverage requirement from ==7.2.7 to ==7.4.3 by dependabot in https://github.com/yukinarit/pyserde/pull/499
* Update envclasses requirement from ^0.2.1 to ^0.3.1 by dependabot in https://github.com/yukinarit/pyserde/pull/500
* Update coverage requirement from ==7.4.3 to ==7.4.4 by dependabot in https://github.com/yukinarit/pyserde/pull/501
* Update black to 24.3.0 by yukinarit in https://github.com/yukinarit/pyserde/pull/502
* Custom validation error requires beartype 0.17 by yukinarit in https://github.com/yukinarit/pyserde/pull/506
* Update pre-commit requirement from ==v3.5.0 to ==v3.7.0 by dependabot in https://github.com/yukinarit/pyserde/pull/508
Refactoring
* Handle empty tuple more properly by yukinarit in https://github.com/yukinarit/pyserde/pull/509
Other changes
* Drop python 3.8 and use PEP585 entirely by yukinarit in https://github.com/yukinarit/pyserde/pull/503
* Use latest python feature in serde/examples by yukinarit in https://github.com/yukinarit/pyserde/pull/505


**Full Changelog**: https://github.com/yukinarit/pyserde/compare/v0.15.0...v0.16.0

0.15.0

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed
Bug fixes
* prefer `is_bearable` to `isinstance` by rtbs-dev in https://github.com/yukinarit/pyserde/pull/485
Breaking changes
* Don't implement beartype for dataclass without serde by yukinarit in https://github.com/yukinarit/pyserde/pull/487
Build
* Create dependabot.yml by yukinarit in https://github.com/yukinarit/pyserde/pull/488
* Update dependabot.yml by yukinarit in https://github.com/yukinarit/pyserde/pull/489
* Bump codecov/codecov-action from 3 to 4 by dependabot in https://github.com/yukinarit/pyserde/pull/491
* Update pytest-xdist requirement from ^2.3.0 to ^3.5.0 by dependabot in https://github.com/yukinarit/pyserde/pull/493
* Update mypy requirement from ==1.8.0 to ==1.9.0 by dependabot in https://github.com/yukinarit/pyserde/pull/495
* Update more-itertools requirement from ~=8.6.0 to ~=10.2.0 by dependabot in https://github.com/yukinarit/pyserde/pull/496
* Update pre-commit requirement from ==v2.10.1 to ==v3.5.0 by dependabot in https://github.com/yukinarit/pyserde/pull/494
* Bump thollander/actions-comment-pull-request from 1.0.2 to 2.5.0 by dependabot in https://github.com/yukinarit/pyserde/pull/490
Test
* Fix mypy type errors in tests by yukinarit in https://github.com/yukinarit/pyserde/pull/497

New Contributors
* dependabot made their first contribution in https://github.com/yukinarit/pyserde/pull/491
* rtbs-dev made their first contribution in https://github.com/yukinarit/pyserde/pull/485

**Full Changelog**: https://github.com/yukinarit/pyserde/compare/v0.14.2...v0.15.0

0.14.2

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed
Bug fixes
* Fix reuse_instances for non dataclass objects by yukinarit in https://github.com/yukinarit/pyserde/pull/486


**Full Changelog**: https://github.com/yukinarit/pyserde/compare/v0.14.1...v0.14.2

Page 3 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.