Skip to content

v1.28.4

Choose a tag to compare

@github-actions github-actions released this 02 Aug 16:23
· 59 commits to main since this release

What's Changed

  • packaging: Change packaging to uv and Hatchling
    • stub packages are updated from poetry to hatchling if there are changes to the package that require a new version
    • package format is stored in the database
    • poetry is kept as a dependency to allow verification of packages in the prior format ( for the newxt x versions)
  • Added the ability to create stubs for out-of-tree boards.
    making it is possible to create stubs for your own custom boards that are not a micropython fork
  • Add caching to get-frozen and enhance and merge commands.
    This uses python-diskcache to avoid performing time-consuming code transforms multiple times.
    As different ports, boards and versions have significant overlap, this allows for a very significant speedup in the majority of cases. Use --cc/-clear-cache to zap the cache.
  • Add attribute assignments marked with a # mp_available comment that are
    missing from the target. This is the attribute equivalent of the
    @mp_available decorator: it force-merges documented module- or class-level
    attributes that createstubs cannot detect on-device.
  • Fix standalone port frozen module folder naming
  • Use inspect module for classmethod parameter signatures in createstubs
  • Allow use of the same firmware folder from WSL2 and Windows (needed some path fixes)
  • Updates to the wasm stubber
    • updated the documentation in .md and in the html page
    • added just recipes to build , run , and process the stubs
    • cleaned up unused and orphaned scripts
  • remove get-core command and related files
  • Remove unused mock modules from pycopy-cpython_core
    Full Changelog: v1.28.3...v1.28.4