Releases: tier4/ota-client
Releases · tier4/ota-client
v3.5.1
chore: tag v3.5.1 (#239) Commits from v3.5.0 to v3.5.1 * Bug fix 1. (non-bug fix, the fix doesn't directly resolve the bug) [Fix] rpi_boot: call os.sync on all important files replacement #229 2. [Fix] cboot.is_switching_boot: only check ota_status and slot_in_use #231 3. [Fix] rpi_boot: clear leftover switching_boot_flag_file from previous interrupted OTA #233 4. (non-bug fix, the fix doesn't directly resolve the bug) [Fix] cboot: fix wrong usage of mark-boot-successful, add dump-slots-info logging #235 5. [Fix] boot_control: reboot subprocess call should also terminate otaclient process, refine common.OTAStatusFilesControl #234 6. [Fix] boot_control.grub: fix update_grub_default #238 * Refinement 1. [Refinement] create_standby: shuffle the calculated download_list #230 2. [Refinement] refine downloader and align its behavior as doc #228 3. [Refinement] refactor RetryTaskMap #232 4. [Refinement] otaproxy: remove cache scrubbing, instead only checking over cache db file #236 5. [Refinement] otaproxy: minor refinements and fixes #237 * Deps 1. [Refinement] otaproxy: minor refinements and fixes #237 : bump typing_extensions to 4.6.3.
v3.5.0
[Chore] tag v3.5.0 (20230530) #227 Commits from v3.4.1 to v3.5.0 * New feature 1. [Feature&refinement] implement new multiple ECU OTA update spec, refactoring otaclient_stub module #212 * Bug fix 1. [Fix] delta calculating: verify file when copying from active slot to standby slot #211 2. [Fix] fix downloader last_active_timestamp recording #213 3. [Fix&refine] retry inifinitely on metadata.jwt and certificate downloading error #215 4. [Fix] ecu_info: not loading default config when ecu_info.yaml is invalid in some cases #217 5. [Fix & Refinement] ota_metadata: implement validation over metadata.jwt #222 * Refinement 1. [Refine] otaproxy: suppress flooding loggings when network disconnected #214 2. [Refinement] refinement related to otaproxy launching #218 3. [Refinement] common: add ensure_otaproxy_start for probing otaproxy online #219 4. [Fix & Refinement] ota_metadata: implement validation over metadata.jwt #222 5. [Refinement] cleanup ota_client_service.py, implement test file #221 6. [Refinement] align and regulate each call's behavior in otaclient_call module #224 7. [Feature&refinement] implement new multiple ECU OTA update spec, refactoring otaclient_stub module #212 * Chore 1. [Chore] Add PR templates #220 2. [Chore] update .flake8 and pyproject.toml for linting configuration #223 * Deps 1. Bump requests from 2.25.1 to 2.31.0 in /otaclient #226
v3.4.1
fix: status phase mapping (#210)
v3.4.0
fix: fix proto version (#209) fix proto version and hash
v3.3.0
feat: support firmware (#204) This PR supports firmware updating for cboot bootloader environment.
v3.2.3
increase MAX_DOWNLOAD_THREAD to 7, and DOWNLOADER_CONNPOOL_SIZE_PER_T…
v3.2.2
[Bugfix] otaproxy: fix AsyncStopIteration errors spamming (#188) Fix otacache not trims away empty chunk when reading from remote file descriptor.
v3.2.1
proxy_info: align default proxy_info settings as v2.5.4 and resolve a…
v3.2.0
Raspberry pi 4 support for otaclient. (#182) * rpi_boot module for rpi4 boot control support, * boot_control.common: new OTAStatusFilesControl and SlotMountHelper classes, which are prepared for refined boot_control implementation framework in an effort of reducing duplicated code and unify implementation. Now ota_status files control logic and slot mounting logic are abstracted and split from the detailed platform specific implementation, become standalone shared classes. * common: implement replace_atomic function. * test files for new boot_control.common. * test files for rpi_boot module. * other minor related changes.
v3.1.9
[Bugfix/refinement] ota-proxy timeout issue (#183) * fix and refine OngoingCacheTracker, resolve the unwanted timeout issue, resolve the edge condition that subscriber subscribes on closed tracker, * move more configuration to ota_proxy.config instead of hard-coded, * fix and refine the RemoteOTAFile, simplify the background_cache_writing logic and cache commit logic, * refine OTACache.retrieve_file, * deps: bump uvicorn==0.20.0, aiofiles==22.1.0, and pin aiohttp==3.8.1, * optimize ota_proxy configuration according to test result, * test files updates, * MAX_DOWNLOAD_THREAD reduces from 8 to 3, as the benefit is not significant, * use uvloop for ota-proxy, which results in around 10%~ or more performance improved, * reduce CHUNK_SIZE to 1MB, tests reveal that this setting has better performance, * reduce STREAMING_BACKOFF_FACTOR to 0.001 to reduce blocking, * DB_THREAD_POOL_SIZE set to 1