diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ff9c2d0..ac7fbfe5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,46 @@ # Changelog +## v1.10.0 + +This is a substantial release with improvements to delta updates and destination +write handling. + +There's support for writing a final block that's not a multiple of 128KB now. +The 128KB write size was a previous limitation of fwup's caching mechanism. +The limitation was mostly invisible. GPT secondary headers were adjusted rather +than being in the final blocks. If the destination wasn't a multiple of 128KB, +it wasn't possible to use the last partial block of bytes. This release changes +that. Especially if you are using GPT partitions, you may notice this change if +you are comparing disk images. + +* New features + * Support delta firmware updates of files on FAT file systems. See the + `delta-source-fat-offset` and `delta-source-fat-path` and the unit test for + details. Thanks to Jean Parpaillon for this feature. + * Support writing to destinations that are not multiples of 128KB. Fwup's + internal caching used to only write 128KB blocks. It now supports writing a + partial final block. + * Support writing to `/dev/null` (e.g., `fwup -d /dev/null ...`). This is useful for + firmware updates that only use `path_write` and `pipe_write` since they + don't need a destination. Thanks to Edoardo Rossi for the suggestion and + patch. + * Add `--minimize-writes` option. When enabled, it will check the destination + media to see if a block really changed before writing it. This can be a + performance improvement and remove some accidental corruption risk. + * Support a backwards compatible shorthand for writing files to FAT + partitions. The filename will default to the resource name. See `fat_write`. + * Add `--max-size` option for specifying the max number of 512-blocks that + fwup can write. Use this to force a max size when writing to a regular file + (expandable partitions will obey this) or to reduce the allowed size on real + media. + +* Bug fixes + * Handle out of bounds reads by xdelta3. Thanks to Arthur Crepin-Leblond for + fixing this. + +* Package updates + * FatFS R0.15 + ## v1.9.1 * Bug fixes diff --git a/README.md b/README.md index 11a7881d..ec8a465d 100644 --- a/README.md +++ b/README.md @@ -70,10 +70,10 @@ brew install fwup On Linux, download and install the appropriate package for your platform: -* [Debian/Ubuntu AMD64 .deb](https://github.com/fwup-home/fwup/releases/download/v1.9.1/fwup_1.9.1_amd64.deb) -* [Raspbian armhf .deb](https://github.com/fwup-home/fwup/releases/download/v1.9.1/fwup_1.9.1_armhf.deb) +* [Debian/Ubuntu AMD64 .deb](https://github.com/fwup-home/fwup/releases/download/v1.10.0/fwup_1.10.0_amd64.deb) +* [Raspbian armhf .deb](https://github.com/fwup-home/fwup/releases/download/v1.10.0/fwup_1.10.0_armhf.deb) * Alpine Linux - Install official [apk](https://pkgs.alpinelinux.org/packages?name=fwup&branch=edge) -* [RedHat/CentOS x86\_64 .rpm](https://github.com/fwup-home/fwup/releases/download/v1.9.1/fwup-1.9.1-1.x86_64.rpm) +* [RedHat/CentOS x86\_64 .rpm](https://github.com/fwup-home/fwup/releases/download/v1.10.0/fwup-1.10.0-1.x86_64.rpm) * Arch Linux - See [fwup-git package](https://aur.archlinux.org/packages/fwup-git/) on AUR * Buildroot - Support is included upstream since the 2016.05 release * Yocto - See [meta-fwup](https://github.com/fwup-home/meta-fwup) @@ -82,11 +82,11 @@ On Windows, `fwup` can be installed from [chocolatey](http://chocolatey.org) choco install fwup -Alternatively, download the [fwup executable](https://github.com/fwup-home/fwup/releases/download/v1.9.1/fwup.exe) +Alternatively, download the [fwup executable](https://github.com/fwup-home/fwup/releases/download/v1.10.0/fwup.exe) and place it in your path. If you're using another platform or prefer to build it yourself, download the -latest [source code release](https://github.com/fwup-home/fwup/releases/download/v1.9.1/fwup-1.9.1.tar.gz) +latest [source code release](https://github.com/fwup-home/fwup/releases/download/v1.10.0/fwup-1.10.0.tar.gz) or clone this repository. Then read one of the following files: * [Linux build instructions](docs/build_linux.md) diff --git a/VERSION b/VERSION index 9ab8337f..81c871de 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.9.1 +1.10.0