Skip to content

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 22 Nov 20:59
· 21 commits to main since this release
d59c773

Migrating from 0.2.0

  • Pass TCP conditions to waits as properties. For example, change conn.established() to conn.established. The same applies to closed, refused, reset and timed_out. Change network.when_leased() to network.is_leased and broker.subscribed(topic) to broker.is_subscribed(topic). With wifi.station(...), use network.leases, network.next_lease() and network.find_lease() for station leases. #312
  • Replace ESP32SIM_STATION_MAC and ESP32SIM_SOFTAP_MAC with esp32tl.emulated_macs(chip).station and .softap. Pass the chip from your board profile. The ESP32-P4 has no Wi-Fi and the lookup raises there. #313

Highlights

  • Network tests can drop traffic for a single port or the entire link, retry unanswered TCP SYNs and wait for a port.
  • Tests can inspect MQTT disconnects, DNS questions, NTP requests, link transitions, modem activity and deep sleep.
  • Tests can merge NVS keys and write between boots. Run reports identify the loaded build, and a boot returned by next_boot can be used to date timestamps.

What's Changed

  • feat(harness): record the modem's mode changes and dials by @mateuszsikora in #281
  • feat(harness): record how and when each MQTT connection ended by @mateuszsikora in #282
  • feat(harness): record each NTP request and DNS question with its time by @mateuszsikora in #283
  • feat(harness): wait for a line's next change with a described condition by @mateuszsikora in #294
  • build: re-run CI runs whose only failures are jobs no runner took by @mateuszsikora in #295
  • fix: approve the version pull request's runs in Prepare release by @mateuszsikora in #280
  • feat(harness): record when the device's link comes up and goes down by @mateuszsikora in #296
  • feat(harness): let the network path drop traffic, all or one port's by @mateuszsikora in #297
  • feat(harness): let board.nvs merge keys and write between boots by @mateuszsikora in #298
  • feat(harness): send an unanswered SYN again and wait for a port by @mateuszsikora in #300
  • fix(harness): say that a value is already a Duration by @mateuszsikora in #301
  • fix(harness): annotate the network's conditions as Condition by @mateuszsikora in #302
  • feat(harness): let a test date stamps with the boot next_boot returned by @mateuszsikora in #303
  • feat(harness): name the build a test loaded in its run report by @mateuszsikora in #304
  • fix(harness): make built SD cards repeat and check runs under load by @mateuszsikora in #305
  • docs(harness): show how one suite runs on several chips by @mateuszsikora in #306
  • feat(harness)!: shape every condition by what it waits for by @mateuszsikora in #312
  • feat(harness)!: give the emulated device's Wi-Fi MACs for every chip by @mateuszsikora in #313
  • fix(runner): keep a boot's uptime zero once its counter stops by @mateuszsikora in #314
  • docs(harness): say how the SPP peer's channel closes by @mateuszsikora in #315
  • feat(harness): record when the chip goes into deep sleep by @mateuszsikora in #316
  • feat(harness): record the modem's power changes, on as well as off by @mateuszsikora in #318
  • chore(tools): probe RTC watchdog resets during ESP32 deep sleep by @mateuszsikora in #319
  • build: prepare release 0.3.0 by @github-actions[bot] in #320

Full Changelog: v0.2.0...v0.3.0