Releases: BradenM/micropy-cli
Releases · BradenM/micropy-cli
v4.2.2
4.2.2 (2023-06-14)
Bug Fixes
- cli: Re-add version as command (6632c5b)
- deps: Update dependency libcst to v0.4.10 (5b33886)
- deps: Update dependency markupsafe to v2.1.3 (2b5e7a3)
- deps: Update dependency pydantic to v1.10.8 (3672fcf)
- deps: Update dependency pydantic to v1.10.9 (66fa6e5)
- deps: Update dependency requests to v2.31.0 (352d3b3)
- deps: Update dependency typing-extensions to v4.6.0 (4858007)
- deps: Update dependency typing-extensions to v4.6.1 (24c16f2)
- deps: Update dependency typing-extensions to v4.6.2 (98ae691)
- deps: Update dependency typing-extensions to v4.6.3 (dd993e5)
v4.2.1
4.2.1 (2023-05-18)
Bug Fixes
- deps: Update dependency attrs to v23 (3422a84)
- deps: Update dependency python-minifier to v2.9.0 (2a7464c)
- deps: Update dependency requests to v2.29.0 (8361e7c)
- deps: Update dependency requests to v2.30.0 (9e389b1)
- deps: Update dependency typer to v0.8.0 (d2bf4e6)
- deps: Update dependency typer to v0.9.0 (f8f4105)
- stubs: Always ensure correct pyi stub root paths. (27f87a1)
- stubs: Do not drop firmware name when parsing from dist metadata. (be269ee)
- template: Resolve pylance type-checking / import errors. (179c29d)
- template: Update pylint config to use
MAIN
andINFERENCE
confidence level. (f5f5c98)
v4.2.0
v4.2.0-beta.3
4.2.0-beta.3 (2023-04-17)
Features
- app: Expose compile, module-defaults flags, integrity in stubs create command. (885e9d3)
- exc:
PyDeviceFileIntegrityError
exception. (a2187c8) - pyd:
NoOpConsumer
implementation. (5a21ecd) - pydevice: File integrity support, simple run in pydevice. (8b7a255)
- pyd: File integrity check support in upydevice backend. (a3cbf31)
- pyd: Implement
remove
across backends. (f0bba8d) - pyd: Use noop consumer default for upy
eval
/eval_script
(720ace4) - utils: Support compiling createstubs with mpy-cross (1819197)
Bug Fixes
- deps: Pin dependency typer to 0.7.0 (30ab97f)
- pyd: Remove usedforsecurity hash flag for py3.8 (522a0c3)
- pyd: Support pushing binary files to pydevice in upydevice backend. (e58c1f2)
Miscellaneous Chores
- release: Set release to v4.2.0-beta3 (9ee81a2)
v4.2.0-beta.2
v4.2.0-beta.1
4.2.0-beta.1 (2023-03-27)
Features
- app: Extract main cli logic out to command/option callbacks. (e3f6401), closes #338
- app: Implement main app cli entries with typer. (d2b22a5)
- app: Implement stubs subcommand with typer. (7733f24)
- app: Link to Josverl/micropython-stubber in create help (88fb8dd)
- cli: Remove old cli module. (8e14fa6)
- deps: Add rich, typer, shellingham (62f7c72)
- deps: Remove pytest-clarity (d712580)
- dev: Add and utilize external mock with pytest-mock (79b3d96)
- dev: Add pdbpp to dev deps. (239cb3e)
- main: Allow override of primary data directories. (1689bfd)
- main: Remove stub creation logic from micropy main state. (1f8d9ba)
- utils: Remove import catch for stubber. (91103e6)
Bug Fixes
- app: Use future annotations. (450c27d)
- compat: Typer list type errors on py3.8 (3483302)
- compat: Use typing.Type in app.stubs (00858c2)
- deps: Exclude pdbpp on windows (445455e)
- deps: Update dependency pydantic to v1.10.7 (36e4727)
Miscellaneous Chores
- release: Set release to v4.2.0-beta.1 (614d3aa)
v4.2.0-beta
4.2.0-beta (2023-03-20)
Features
- cli: Expose backend option to select pydevice backend. (43f3751)
- deps: Add libcst as dependency, remove py38 constraint from (9bdb811)
- deps: Add lint dependency group, remove unused/replaced with (f820baa)
- deps: Add micropython-stubber as proper library. (d82f5fc)
- dx: Replace pyupgrade/autoflake hooks with ruff (3c47ebd)
- lib: Remove old micropython-stubber submodule. (ea1ee8c)
- main: Support create stubs backend parameter, utilize create stub variant. (5cb26c3)
- pkg: Drop support for python 3.7 (87eb790)
- utils: Prepare create stubs with codemod variants/modules, update stubmaker imports. (2b8de82)
Bug Fixes
- deps: Pin dependencies (9a7f407)
- deps: Remove pypi-test sourced from pyproject (b3fc9e3)
- deps: Target isort <5.12.0 when on py3.7 (f936752)
- deps: Target pylint <2.13 when on py3.7 (80dc833)
- deps: Update dependency boltons to v23 (27238ba)
- deps: Update dependency mypy to v1.1.1 (a88668c)
- deps: Update dependency pydantic to v1.10.6 (8c600f2)
- deps: Update dependency python-minifier to v2.8.1 (24ce47d)
Documentation
Miscellaneous Chores
- release: Set release v4.2.0-beta (0e2d138)
v4.1.0
4.1.0 (2023-03-05)
Bug Fixes
- deps: Update dependency cachier to v2 (956cce8)
- deps: Update dependency gitpython to v3.1.31 (65b3e83)
- deps: Update dependency packaging to v23 (b81b513)
- deps: Update dependency pydantic to v1.10.5 (0fb9624)
- deps: Update dependency tqdm to v4.65.0 (9fb64dd)
- deps: Update dependency typing-extensions to v4.5.0 (e6c57c3)
- pyd: Backend rshell excess consumer kwarg, can't union with supported py versions. (de8da4e)
Miscellaneous Chores
- release: Update release. (7b6d9bb)
v4.1.0-beta
4.1.0-beta (2023-01-30)
Features
- cli: Add flag to show outdated stub packages in search + group output by repo. (e2cdff7)
- cli: Format repo as title in stubs search output. (eaf0543)
- cli: Improve stub search output. (4c127ac)
- cli: Utilize stub source locators during add. (d24b409)
- data: Add display names for current stub sources. (7f6b2cd)
- data: Add micropython-stubs source (de9c2e2)
- deps: Add attrs/pydantic (06660f0)
- deps: Add distlib. (fab22ba)
- deps: Add importlib_metadata as dep. (6acf3ca)
- deps: Add pytest-clarity+better-exceptions to dev deps. (dc9d958)
- main: Drop in new StubRepository impl in place of StubRepo. (25f0402)
- main: Init
StubRepository
as attr. (c17be65) - pkg: Add main module entry. (2388858)
- pkg: Cleanup package entry, dynamically resolve version. (72ea665)
- project: Add pylance settings to vscode template. (bbdc936)
- project: Assume pylance until proper refactorings can be done. (2610c2a)
- stubs:
RepoStubLocator
locate strategy. (08f8f86) - stubs: Accept generic package type in stub manifest (9d17331)
- stubs: Add
display_name
field to stub repository. (a3ef03f) - stubs: Add
resolve_package_(absolute,)_versioned_name
to manifest. (37bbfa6) - stubs: Add method for resolving absolute stub package name from manifest. (ad55507)
- stubs: Add MicropyStubs package/manifest models. (021c279)
- stubs: Add Micropython stubs package/manifest models. (a9297dc)
- stubs: Add RepositoryInfo model. (109aed3)
- stubs: Add resolve package url abstract meth to stubs manifest (8737f52)
- stubs: Add StubPackage model. (9664111)
- stubs: Add StubRepository for managing stub manifests. (781f7cd)
- stubs: Add StubRepositoryPackage model. (e0dda9f)
- stubs: Add StubsManifest model. (3ae9456)
- stubs: Assume latest version by default, optionally show latest only in search, general improvements in stub repo. (b55b483)
- stubs: Build progressive package indexes in
StubRepository
, utilize in search/resolve. (318ec13) - stubs: Check absolute name for stub resolve matching. (142648d)
- stubs: Enforce faux immutability in StubRepository. (a17cc5e)
- stubs: Expose
repo_name
,versioned_name
,absolute_versioned_name
onStubRepositoryPackage
(e257aa5) - stubs: Expose name/version/absolute_name fields from stub repo package. (d88dcae)
- stubs: Expose url via StubRepositoryPackage descriptor. (4fd1b12)
- stubs: Impl
resolve_package_url
for micropython-stubs repo. (4bd70aa) - stubs: Impl resolve package method in StubRepository. (c28d988)
- stubs: Implement dirty metadata adapter for dist-based stubs until proper refactorings. (a60138f)
- stubs: Make
StubPackage
immutable. (2fab17d) - stubs: Make
StubRepository.resolve_package
returnStubRepositoryPackage
(24ef2fa) - stubs: Make
StubRepositoryPackage
immutable, iterate matchers. (ae71f91) - stubs: Make
StubsManifest
immutable. (2a6ffa3) - stubs: Make
StubSource
proper abstract, add prepare abstractmethod + impls. (d690e71) - stubs: Make micropython stubs package sortable. (49b6df0)
- stubs: Micropy-stubs resolve package url impl, stub micropython for now. (c832cb0)
- stubs: Rename
StubRepositoryPackage.repository
->manifest
. (a8b3ec8) - stubs: Support reuse of
StubSource
instances, improvements. (b873a62) - stubs: Utilize
StubRepositoryPackage.match_exact
(3ec08dd) - stubs: Utilize locators in
StubManager
, resolve requirements from metadata. (5c19624) - stubs: Validate RepoInfo source, add method for fetching contents. (0f7487f)
- utils: Add SupportsLessThan protocol to types util. (489a9b0)
- utils: Add types to
ensure_existing_dir
(e8e6ea8) - utils: Add utils._compat module, add importlib metadata (5722504)
- utils: Add utils.types, PathStr alias. (63f65b9)
- utils: Defer updating stale cache with
utils.get_cached_data
(afd2ba5)
Bug Fixes
- cli: Click fails to resolve package version. (65ef13b)
- compat: <=3.8 python typing compat issues. (e7600b4)
- deps: Only install import-metadata when py version <3.10 (ac1356d)
- deps: Pin dependencies (84aa3c3)
- deps: Pin dependencies (1b6a46a)
- deps: Update dependency attrs to v22.2.0 ([9435223](https://github.com/BradenM/micropy-cli/c...