Skip to content

v0.22.0

Choose a tag to compare

@mikrodroid mikrodroid released this 30 Sep 22:08
· 19 commits to main since this release
74089e6

Install latest

# Create new project
pnpm create mikro

# Upgrade existing project
pnpm add mikro
pnpm mikro flash

Install v0.22.0

# Create new project
pnpm create mikro@0.22.0

# Upgrade existing project
pnpm add mikro@0.22.0
pnpm mikro flash

Changelog

Features

  • releaser: add min_bump to bump 0.x minor (#496)
  • boards: let boards use generic firmware with custom name (#493)
  • test: add mikro test --isolate and free device RAM during test runs (#489)
  • create-mikro: scaffold board packages with --board (#488)
  • boards: give ESP32 BLE apps 17 KB more RAM with a no-wifi image (#483)
  • cli: add support for --features no-\<feature\> (#477)
  • firmware: make the boot recovery window configurable (#478)
  • firmware: add an opt-in automatic light sleep (#476)
  • create-mikro: ask for the chip only for a firmware project (#470)
  • cli: rename mikro flash --target to --chip (#466)
  • boards: rename fw prepack to fw build and add --parallel, --flash and fw list (#463)
  • boards: build leaner board images by default (#462)
  • boards: ship generic boards from boards config in mikro package (#461)
  • cli: let prebuilt firmware use all of a larger flash chip (#456)
  • firmware: find @mikrojs/firmware with find_package (#455)
  • firmware: board packages w/prebuilt firmware images (#453)
  • create-mikro: add --firmware for apps with custom firmware (#450)
  • cli: add mikro idf and mikro fw pack for custom firmware (#449)
  • firmware: compile C/C++ native modules into custom firmware (#446)
  • cli: write mikro build output to .mikro/build by default (#445)
  • cli: show radios and free heap when a device connects (#442)

Bug fixes

  • udp: start the network stack on bind instead of aborting (#490)
  • native: keep TextEncoder output past an embedded NUL (#484)
  • native: stop skipping intervals past the due cap, drop dead code (#469)
  • firmware: list types first in published exports for publint (#467)
  • cli: load the native addon lazily so fw list runs in CI (#465)
  • ci: make firmware builds hit the ccache (#458)
  • esp32: run mikro-fw through pnpm instead of npx (#454)
  • cli: make ota snapshot builds report the snapshot version (#452)
  • cli: stop frame parser stalling on a CR before a tiny frame (#451)
  • types: type import.meta's url, main and path fields + typecheck fix (#443)
  • kv: delete() no longer returns WriteFailed on a missing key (#440)
  • kv: keep RTC values if write fails due to storage full (#438)

Performance

  • flash: write only the flash sectors that change on a reflash (#494)
  • native: keep only file name and line in CHECK strings (#492)
  • test: port the test runner to C (#491)
  • firmware: route the JS heap to PSRAM only when PSRAM is present (#487)
  • deploy: batch file checks and skip unchanged env vars (#486)
  • native: cut the memory peak when reading a fetch body (#485)
  • native: cache property lookups in Result, inspect and observables (#480)
  • firmware: release classic BT controller memory at boot on ESP32 (#479)
  • native: let the event loop sleep until work arrives (#475)
  • sleep between ticks while the runtime is idle (#472)
  • cli: cut CPU in serial reads, REPL output and port rescans (#471)
  • cli: load only the dispatched command at startup (#468)

Other

  • boards: type image and generic board configs as exclusive (#495)
  • native: drop atom fallbacks never called (#482)
  • cli: limit mikro flash --from to archive URLs (#474)
  • boards: point ESP32 boards without PSRAM at the image without BLE (975fa35)
  • firmware: skip install scripts in the setup job, which only runs fw list (36c9543)
  • firmware: replace chips.json with a CHIPS constant (#464)
  • deps: update pnpm to v12.6.0 (#425)
  • deps: update pnpm/setup action to v3 (#436)
  • boards: generic esp32s3 firmware uses octal PSRAM, not quad (#457)
  • native: drop package bytecode builtins for now (#448)
  • cli: stop EntryGate JSON error test depending on temp path length (#447)
  • platform: require get_device_id (#444)