.. _changelog_v4_2_0: v4.2.0 ====== v4.2.0 adds **object-detection support** to the ML pipeline, reworks the boot scripts / ``pyexec``, and fixes JPEG loading and USB high-speed (ULPI). The boot/exec rework is a behavior change — read the breaking change below. .. contents:: On this page :local: :depth: 1 Highlights ---------- - **Object detection** support added to the TensorFlow/ML pipeline. - Reworked boot scripts and ``pyexec``. - Fixed JPEG loading and the USB high-speed (ULPI) DIR pin. - **Breaking:** the boot-script / ``pyexec`` rework changes startup behavior — see the breaking change. New features ------------ - **Object detection** — added object-detection model support to the TensorFlow/ML inference pipeline. Other changes and improvements ------------------------------ - The bundled MicroPython submodule was updated. Bug fixes --------- - Fixed JPEG image loading and the USB high-speed ULPI DIR pin definition. Hardware and board support -------------------------- - **Arduino Nano RP2040 Connect** — set the default I2C pins. Breaking API changes -------------------- User-visible API breaks between v4.1.4 and v4.2.0. The only breaking change is a *behavior* change to the boot/exec sequence. .. _v4_2_0_boot: Boot scripts and ``pyexec`` reworked *(behavior)* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The boot scripts and the ``pyexec`` script-execution path were reworked. Behavior is largely the same, but the order/handling of boot and script execution changed — re-check scripts that relied on the previous startup sequence (e.g. custom ``boot.py`` behavior or exact exception handling at script end). *Commit:* `b0c7a3272 `__ Migration checklist ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Re-check any custom ``boot.py`` / startup-dependent behavior against the reworked boot/exec sequence (:ref:`the boot/exec change `). All other scripts run unchanged.