Skip to content

Latest commit

 

History

History
403 lines (336 loc) · 15 KB

2024-02-27.md

File metadata and controls

403 lines (336 loc) · 15 KB

Changes released on 2024-02-27

This release was cut by #403.

Applets

wasefire 0.5.0 (was 0.4.0)

Major

  • #380 Make uart::Uart field private
  • #368 Rename clock module to timer
  • #360 Change debug::time() to return Result<u64> instead of u64
  • #348 Migrate platform::update to use Error instead of usize
  • #342 Remove custom error types and use wasefire-error instead
  • #288 Rename native to test and use native for native applets

Minor

  • #395 Add a deref implementation from gcm::Key to aead::Key
  • #393 Add gpio::Gpio::{last_write,toggle}() for stateful output GPIOs
  • #380 Add uart::UartBuilder and uart::Uart::new() to configure a UART
  • #376 Add serial::DelimitedReader to read delimited frames from serial
  • #375 Add serial::Listener to listen for serial events
  • #363 Migrate to low-level applet API returning isize
  • #359 Remove experimental multivalue support for #355
  • #354 Add API features (enabled by default)
  • #341 Add gpio module
  • #339 Add unsafe-assume-single-core feature for convenience
  • #329 Add platform::version()
  • #329 Add radio::ble module
  • #320 Add platform::update::is_supported()
  • #313 Add platform::update module
  • #307 Add platform module with platform::reboot() function
  • #311 Use wasefire-sync to provide sync::Mutex
  • #288 Expose the main function as applet_main in native
  • #283 Use the default allocation error handler

Patch

  • #372 Fix lints of nightly-2024-01-14
  • #324 Use ENUM::to_result() to convert errors
  • #311 Only depend on portable-atomic through wasefire-sync
  • #311 Use wasefire-sync::executed!() to ensure the allocator is initialized at most once
  • #301 Build docs.rs for wasm32-unknown-unknown
  • #301 Fix broken links in documentation
  • #288 Update dependencies

wasefire-applet-api 0.6.0 (was 0.5.0)

Major

  • #363 Make all API functions return isize
  • #354 Add API features (disabled by default)
  • #288 Update wasefire-applet-api-macro version

Minor

  • #359 Remove unstable multivalue support for #355
  • #342 Implement conversion from types involving Error to U32

Patch

  • #301 Build docs.rs for wasm32-unknown-unknown only
  • #297 Update dependencies
  • #288 Fix clippy lint
  • #288 Update native documentation
  • #288 Implement the internal env_dispatch function
  • #288 Add dependency on wasefire-logger

Platforms

wasefire-board-api 0.6.0 (was 0.5.0)

Major

  • #393 Add gpio::Api::last_write() for stateful output GPIOs
  • #380 Add uart::Api functions to start, stop, and set the baudrate
  • #367 Remove Unsupported and UnsupportedCrypto implementations
  • #363 Change syscall return type to Option<Result<u31, Error>>
  • #354 Add API features (disabled by default)
  • #354 Add Event::Impossible to always mention the type parameter B
  • #347 Update platform::update::Api to return Error instead of usize
  • #342 Replace Error type with wasefire-error
  • #341 Add Api::Gpio for low-level GPIOs
  • #329 Add platform::Api::version()
  • #324 Add Api::Radio for radio APIs
  • #324 Add radio::Api::Ble for Bluetooth Low Energy
  • #313 Add platform::Api::Update (fix #47)
  • #307 Add Api::Platform with platform::Api::reboot() function
  • #288 Require the APIs to be Send and the top-level API to be 'static too

Minor

  • #378 Add platform::version_helper() to help implement platform::Api::version()
  • #367 Add crypto::Software* and debug::Impl implementations
  • #367 Remove unstable software-crypto feature

Patch

  • #398 Clarify conditions when serial events trigger
  • #297 Fix lints
  • #297 Update dependencies
  • #284 Use logger alias instead of log for wasefire-logger crate

wasefire-scheduler 0.3.0 (was 0.2.2)

Major

  • #362 Do not expose internal details
  • #354 Add applet API and board API features (disabled by default)
  • #288 Add native and wasm features (exactly one must be chosen)

Minor

  • #393 Support gpio::last_write() function
  • #380 Support uart::{start,stop,set_baudrate}() functions
  • #368 Migrate clock module to timer
  • #367 Remove unstable software-crypto feature
  • #365 Support applets calling unknown host functions by returning an error
  • #363 Migrate to applet API functions always returning isize
  • #360 Support debug::time() new return type
  • #347 Migrate to platform::update returning Error
  • #342 Migrate to wasefire-error
  • #341 Support gpio module
  • #329 Support platform::version()
  • #324 Support radio::ble module
  • #321 Support configuring the memory size with WASEFIRE_MEMORY_PAGE_COUNT
  • #320 Support platform::update::is_supported()
  • #313 Support platform::update
  • #307 Support platform and platform::reboot()
  • #294 Add more debug logging in native mode
  • #293 Permit applets to call debup::println() during init()
  • #283 Use debug::exit() board API when the applet traps
  • #284 Use log::panic!() on interpreter errors

Patch

  • #372 Fix lints of nightly-2024-01-24
  • #364 Support zero-length slices in native
  • #361 Fix board API feature gates for AES-128-CCM and AES-256-GCM
  • #359 Remove unreachable multivalue feature gates
  • #358 Correctly gate events of nested APIs
  • #356 Rename debug internal feature to internal-debug
  • #336 Fix double-lock issue for native callbacks
  • #323 Fix parsing of WASEFIRE_MEMORY_PAGE_COUNT
  • #301 Fix docs.rs build
  • #311 Use wasefire-sync
  • #297 Fix lints
  • #284 Use logger alias instead of log for wasefire-logger crate
  • #288 Update dependencies

wasefire-logger 0.1.4 (was 0.1.3)

Patch

Common crates

wasefire-error 0.1.0 (new)

wasefire-sync 0.1.0 (new)

Tools

wasefire-cli 0.1.0 (no change)

Internal crates

wasefire-applet-api-desc 0.1.6 (was 0.1.5)

Minor

  • #393 Add gpio::last_write() function
  • #380 Add uart::{start,stop}() and uart::set_baudrate() functions
  • #368 Rename clock module to timer
  • #363 Make all API functions return isize
  • #360 Change debug::time() to return isize and take *mut u64
  • #359 Remove unstable multivalue support for #355
  • #354 Add API features (disabled by default)
  • #342 Remove isize conversion functions for enums
  • #342 Remove custom error types
  • #341 Add gpio module
  • #329 Add platform::version()
  • #324 Add radio::ble module
  • #324 Support array types and all {i,u}{8,16,32,64} integers
  • #320 Add platform::update::is_supported()
  • #313 Add platform::update module
  • #307 Add platform module with platform::reboot() function
  • #288 Call some env_dispatch function instead of panicking in native
  • #288 Prefix function symbols by env_ with native feature
  • #288 Implement bytemuck::Zeroable for Results structs

Patch

  • #398 Clarify conditions when serial events trigger
  • #383 Update dependencies
  • #352 Fix clippy lint
  • #340 Make sure enum values don't skip any value, essentially mapping to 0..N
  • #334 Use *const void instead of *const u8 for opaque data
  • #297 Update dependencies
  • #297 Fix lints

wasefire-applet-api-macro 0.6.0 (was 0.5.0)

Major

  • #359 Remove unstable multivalue support for #355
  • #354 Add API features (disabled by default)
  • #288 Update wasefire-applet-api-desc version

Patch

  • #383 Update dependencies
  • #297 Update dependencies

wasefire-interpreter 0.2.0 (was 0.1.4)

Major

  • #292 Change Error::Unsupported to take a reason with the debug feature

Minor

  • #365 Add Store::link_func_default() to generate fake host functions for unresolved imported functions returning a single i32

Patch

  • #383 Update dependencies
  • #297 Update dependencies

wasefire-store 0.2.3 (was 0.2.2)

Minor

  • #299 Make implementation public because documentation links it

Patch

  • #383 Update dependencies
  • #352 Fix lints
  • #297 Fix lints
  • #297 Update dependencies

wasefire-stub 0.1.3 (was 0.1.2)

Minor

  • #363 Migrate to applet API always returning isize
  • #342 Migrate to wasefire-error
  • #284 Use wasefire-logger for panics

Patch

  • #288 Update dependencies