Skip to content

1.0.0

Choose a tag to compare

@ZPascal ZPascal released this 25 May 10:19
· 42 commits to main since this release
eeb89ca

What's Changed

  • feat: Adjust the GH actions by @ZPascal in #6
  • feat: Update the license info by @ZPascal in #7
  • fix: Adjust the license information by @ZPascal in #8
  • docs: Update the documentation by @ZPascal in #9
  • Add Dependabot configuration for weekly updates by @ZPascal in #10
  • build(deps): Bump tj-actions/verify-changed-files from 16 to 20 by @dependabot[bot] in #11
  • fix: The coverage permissions by @ZPascal in #22
  • build(deps): Bump MishaKav/pytest-coverage-comment from 1.1.49 to 1.7.2 by @dependabot[bot] in #12
  • build(deps): Bump actions/checkout from 3 to 6 by @dependabot[bot] in #14
  • build(deps): Bump reviewdog/action-flake8 from 3.8.0 to 3.15.2 by @dependabot[bot] in #13
  • build(deps): Bump actions/setup-python from 4 to 6 by @dependabot[bot] in #15
  • build(deps): Bump pathspec from 0.10.1 to 1.1.1 by @dependabot[bot] in #16
  • build(deps): Bump tomli from 2.0.1 to 2.4.1 by @dependabot[bot] in #17
  • build(deps): Bump six from 1.16.0 to 1.17.0 by @dependabot[bot] in #19
  • build(deps): Bump click from 8.1.3 to 8.1.8 by @dependabot[bot] in #18
  • build(deps): Bump itsdangerous from 2.1.2 to 2.2.0 by @dependabot[bot] in #20
  • build(deps): Bump cffi from 1.15.1 to 2.0.0 by @dependabot[bot] in #21
  • feat: PR workflow permission update by @ZPascal in #24
  • feat: Migrate ruamel to pyyaml and update Python version by @ZPascal in #23
  • feat: Modernize Python tooling & type hints by @ZPascal in #25
  • fix: Add build support by @ZPascal in #31
  • fix: Adjust the docs creation by @ZPascal in #32

⚠️ Breaking Changes

Type Hint Configuration Format:

# ❌ OLD (no longer supported)
mqtt_payload:
  - Color: "List"
  - Config: "Dict"

# ✅ NEW (required)
mqtt_payload:
  - Color: "list"
  - Config: "dict"

Generated code now uses Python 3.9+ native type hints:

# ❌ OLD
from typing import List, Dict
color: List = payload["Color"]

# ✅ NEW
color: list = payload["Color"]

Migration Guide

  • Update config.yml type declarations: List → list, Dict → dict

New Contributors

Full Changelog: 0.0.1...1.0.0