Releases: BrianPugh/belay
Releases · BrianPugh/belay
v0.30.1
What's Changed
- Wrap convenience import of machine.PWM inside a try/except by @kyoungmeyer in #221
New Contributors
- @kyoungmeyer made their first contribution in #221
Full Changelog: v0.30.0...v0.30.1
v0.30.0
Features
- Precise time-synchronization. by @BrianPugh in #208
- Enabled by default (
auto_sync_time=True) - syncs host/device clocks automatically - Use
return_time=Trueon tasks to get(result, datetime)tuples - New
belay latencyCLI command for measuring round-trip time
- Enabled by default (
- Allow specifying led-string for the
belay selectCLI command. by @BrianPugh in #209- Accept named pins like
LED,LED_RED,LED_BLUEin addition to GPIO numbers
- Accept named pins like
belay addcommand by @BrianPugh in #214- Add dependencies to
pyproject.toml:belay add aiohttp,belay add github:user/repo@v1.0
- Add dependencies to
- Misc
newCLI improvements. Alias toinitfor uv-similarity. by @BrianPugh in #211belay initnow works as alias forbelay new- Can initialize existing projects (adds
[tool.belay]to existingpyproject.toml) - Path is now optional; defaults to current directory when no path specified
- MicroPython package support by @BrianPugh in #213
- Native
package.jsonmanifest support with automatic dependency resolution - Download from micropython.org index:
aiohttp = "*"orrequests = "1.0.0"
- Native
- Update fnv1a32 to v2.4.0 (mpy1.27 support) by @BrianPugh in #215
Internal
- More firmware tests; default to a short integration test. Proper pytest marker. by @BrianPugh in #210
- Replace
lru_cachewith easier-to-clear self-contained project cache. by @BrianPugh in #212 - Migrate dataclasses to attrs for consistency. by @BrianPugh in #216
Full Changelog: v0.29.0...v0.30.0
v0.29.0
Breaking Changes
- Drop python3.8 support.
Features
- Much improved/more-powerful
ProxyObjectfor #182 by @BrianPugh in #183
Internal Changes
- Add errors in test-loading if firmware files for the emulator are not present. by @BrianPugh in #199
- Migrate to Pydantic v2 by @BrianPugh in #200
- Migrate CLI framework from Typer->Cyclopts by @BrianPugh in #201
Full Changelog: v0.28.0...v0.29.0
v0.28.0
What's Changed
- Directly expose
PyboardExceptionandBelayExceptionby @jsiverskog in #197
Full Changelog: v0.27.0...v0.28.0
v0.27.0
v0.26.0
Features
- Add micropython v1.26 fnv1a32 precompiled native modules. by @BrianPugh in #192
- Fallback to viper/native/vanilla fnv1a32 hash function if we fail to import the nativemodule. by @BrianPugh in #193
Full Changelog: v0.25.0...v0.26.0
v0.25.0
Sync Performance Boosts
- Parallelize host-side hashing and client-side hashing. by @BrianPugh in #169
- Pre-compiled fnv1a32 hashing module. by @BrianPugh in #188
Full Changelog: v0.24.3...v0.25.0
v0.24.3
Bug Fixes
- Explicitly read files using utf-8 encoding by @theo-lightworks in #187
New Contributors
- @theo-lightworks made their first contribution in #187
Full Changelog: v0.24.2...v0.24.3
v0.24.2
Bug Fixes
- Fix removal of
strif it begins an expression when minifying. by @BrianPugh in #186
Full Changelog: v0.24.1...v0.24.2
v0.24.1
Bug Fixes
- Use monotonic clock for timeouts. By @jsiverskog in #185
Examples
New Contributors
- @Teslafly made their first contribution in #184
- @jsiverskog made their first contribution in #185
Full Changelog: v0.24.0...v0.24.1