From fd404ba3daf4450232e65a084aa451d87cb52f31 Mon Sep 17 00:00:00 2001 From: Diego Sanchez Date: Fri, 5 Jun 2020 09:10:14 -0700 Subject: [PATCH] Preparing 1.2.0 release Summary: Bumping version from 1.1.0 to 1.2.0 Reviewed By: cuva Differential Revision: D21905211 fbshipit-source-id: 88f43f966aecc30ca1ced17cf82c47b3e75cd5ea --- CHANGELOG.md | 15 ++++++ SpectrumCore.podspec | 2 +- SpectrumKit.podspec | 2 +- docs/getting_started_android.md | 10 ++-- gradle.properties | 2 +- ios/SpectrumKitSample/Podfile.lock | 81 ++++++++++++------------------ 6 files changed, 56 insertions(+), 56 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6521c979..8d339e0f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,18 @@ +# 1.2.0 (Jun 5, 2020) +- Error is now reported for images with a pixel format kCGImagePixelFormatRGB555 (iOS) +- Fixed an issue by which metadata wouldn't be added to the encoded image +- Avoids copying thumbnail metadata on transcoded images +- Renamed VectorImageSink to VectorBitmapImageSink +- Fixed Kotlin compatibility issues from SoLoaderWrapper +- Fixed an issue that would result in ignoring the output pixel specification in certain situations +- Increased test coverage +- Fixed heap-use-after-free in avif decompressor +- Support RGBA for PNG compression +- Fixed compilation on Windows +- Fixed memory leak in ScalingScanlineProcessingBlock +- Updated deps: libavif 0.6.2, libwebp 1.1.0 + + # 1.1.0 (May 24, 2019) - Spectrum now supports modular headers when using cocoapods diff --git a/SpectrumCore.podspec b/SpectrumCore.podspec index a4e30ace..fc81ec96 100644 --- a/SpectrumCore.podspec +++ b/SpectrumCore.podspec @@ -2,7 +2,7 @@ compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -DSPECTRUM_TARGET_IOS -DSPECTRUM_EXTERNAL' -version = '1.1.0' +version = '1.2.0' Pod::Spec.new do |spec| spec.name = 'SpectrumCore' diff --git a/SpectrumKit.podspec b/SpectrumKit.podspec index 7e7482c1..9e35bf01 100644 --- a/SpectrumKit.podspec +++ b/SpectrumKit.podspec @@ -2,7 +2,7 @@ compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1' -version = '1.1.0' +version = '1.2.0' Pod::Spec.new do |spec| spec.name = 'SpectrumKit' diff --git a/docs/getting_started_android.md b/docs/getting_started_android.md index 174874a7..d85b8598 100644 --- a/docs/getting_started_android.md +++ b/docs/getting_started_android.md @@ -14,7 +14,7 @@ Add the default Spectrum dependency that includes all image format plugins: ```groovy dependencies { // Spectrum with support for JPEG, PNG and WebP - implementation 'com.facebook.spectrum:spectrum-default:1.1.0+' + implementation 'com.facebook.spectrum:spectrum-default:1.2.0+' } ``` @@ -72,9 +72,9 @@ If you later decide that you only want to bundle with certain plugins, you can s ```groovy dependencies { - implementation 'com.facebook.spectrum:spectrum-core:1.1.0+' - implementation 'com.facebook.spectrum:spectrum-jpeg:1.1.0+' - implementation 'com.facebook.spectrum:spectrum-png:1.1.0+' - implementation 'com.facebook.spectrum:spectrum-webp:1.1.0+' + implementation 'com.facebook.spectrum:spectrum-core:1.2.0+' + implementation 'com.facebook.spectrum:spectrum-jpeg:1.2.0+' + implementation 'com.facebook.spectrum:spectrum-png:1.2.0+' + implementation 'com.facebook.spectrum:spectrum-webp:1.2.0+' } ``` diff --git a/gradle.properties b/gradle.properties index 82cfde80..ac32a6f3 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,7 +4,7 @@ # LICENSE file in the root directory of this source tree. # POM publishing constants -VERSION_NAME=1.1.0 +VERSION_NAME=1.2.0 GROUP=com.facebook.spectrum POM_URL=https://github.com/facebookincubator/spectrum POM_SCM_URL=https://github.com/facebookincubator/spectrum.git diff --git a/ios/SpectrumKitSample/Podfile.lock b/ios/SpectrumKitSample/Podfile.lock index 1b0f971b..ca9eb896 100644 --- a/ios/SpectrumKitSample/Podfile.lock +++ b/ios/SpectrumKitSample/Podfile.lock @@ -1,80 +1,65 @@ PODS: - libpng (1.6.35) - libwebp (1.1.0): - - libwebp/core (= 1.1.0) - - libwebp/dec (= 1.1.0) - libwebp/demux (= 1.1.0) - - libwebp/dsp (= 1.1.0) - - libwebp/enc (= 1.1.0) - libwebp/mux (= 1.1.0) - - libwebp/utils (= 1.1.0) - libwebp/webp (= 1.1.0) - - libwebp/core (1.1.0): - - libwebp/webp - - libwebp/dec (1.1.0): - - libwebp/core - libwebp/demux (1.1.0): - - libwebp/core - - libwebp/dsp (1.1.0): - - libwebp/core - - libwebp/enc (1.1.0): - - libwebp/core + - libwebp/webp - libwebp/mux (1.1.0): - - libwebp/core - - libwebp/utils (1.1.0): - - libwebp/core + - libwebp/demux - libwebp/webp (1.1.0) - mozjpeg (3.3.2) - spectrum-folly (2019.01.21.00) - - SpectrumCore (1.1.0): + - SpectrumCore (1.2.0): - spectrum-folly (~> 2019.01.21.00) - - SpectrumCore/Plugins/Jpeg (= 1.1.0) - - SpectrumCore/Plugins/Png (= 1.1.0) - - SpectrumCore/Plugins/Webp (= 1.1.0) - - SpectrumCore/Base (1.1.0): + - SpectrumCore/Plugins/Jpeg (= 1.2.0) + - SpectrumCore/Plugins/Png (= 1.2.0) + - SpectrumCore/Plugins/Webp (= 1.2.0) + - SpectrumCore/Base (1.2.0): - spectrum-folly (~> 2019.01.21.00) - - SpectrumCore/Plugins/Jpeg (1.1.0): + - SpectrumCore/Plugins/Jpeg (1.2.0): - mozjpeg (= 3.3.2) - spectrum-folly (~> 2019.01.21.00) - - SpectrumCore/Base (= 1.1.0) - - SpectrumCore/Plugins/Png (1.1.0): + - SpectrumCore/Base (= 1.2.0) + - SpectrumCore/Plugins/Png (1.2.0): - libpng (~> 1.6.35) - spectrum-folly (~> 2019.01.21.00) - - SpectrumCore/Base (= 1.1.0) - - SpectrumCore/Plugins/Webp (1.1.0): + - SpectrumCore/Base (= 1.2.0) + - SpectrumCore/Plugins/Webp (1.2.0): - libwebp (~> 1.1.0) - spectrum-folly (~> 2019.01.21.00) - - SpectrumCore/Base (= 1.1.0) - - SpectrumKit (1.1.0): + - SpectrumCore/Base (= 1.2.0) + - SpectrumKit (1.2.0): - spectrum-folly (~> 2019.01.21.00) - - SpectrumKit/Plugins/Default (= 1.1.0) - - SpectrumKit/Base (1.1.0): + - SpectrumKit/Plugins/Default (= 1.2.0) + - SpectrumKit/Base (1.2.0): - spectrum-folly (~> 2019.01.21.00) - SpectrumCore/Base - - SpectrumKit/Plugins/Default (1.1.0): + - SpectrumKit/Plugins/Default (1.2.0): - spectrum-folly (~> 2019.01.21.00) - - SpectrumKit/Plugins/Jpeg (= 1.1.0) - - SpectrumKit/Plugins/Png (= 1.1.0) - - SpectrumKit/Plugins/Webp (= 1.1.0) - - SpectrumKit/Plugins/Jpeg (1.1.0): + - SpectrumKit/Plugins/Jpeg (= 1.2.0) + - SpectrumKit/Plugins/Png (= 1.2.0) + - SpectrumKit/Plugins/Webp (= 1.2.0) + - SpectrumKit/Plugins/Jpeg (1.2.0): - spectrum-folly (~> 2019.01.21.00) - SpectrumCore/Plugins/Jpeg - - SpectrumKit/Base (= 1.1.0) - - SpectrumKit/Plugins/Png (1.1.0): + - SpectrumKit/Base (= 1.2.0) + - SpectrumKit/Plugins/Png (1.2.0): - spectrum-folly (~> 2019.01.21.00) - - SpectrumCore/Plugins/Png (= 1.1.0) - - SpectrumKit/Base (= 1.1.0) - - SpectrumKit/Plugins/Webp (1.1.0): + - SpectrumCore/Plugins/Png (= 1.2.0) + - SpectrumKit/Base (= 1.2.0) + - SpectrumKit/Plugins/Webp (1.2.0): - spectrum-folly (~> 2019.01.21.00) - - SpectrumCore/Plugins/Webp (= 1.1.0) - - SpectrumKit/Base (= 1.1.0) + - SpectrumCore/Plugins/Webp (= 1.2.0) + - SpectrumKit/Base (= 1.2.0) DEPENDENCIES: - SpectrumCore (from `../../`) - SpectrumKit (from `../../`) SPEC REPOS: - https://github.com/cocoapods/specs.git: + trunk: - libpng - libwebp - mozjpeg @@ -88,12 +73,12 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: libpng: c490b0523e94f78697f83ad434fbaf715050e15b - libwebp: b068a3bd7c45f7460f6715be7bed1a18fd5d6b48 + libwebp: 946cb3063cea9236285f7e9a8505d806d30e07f3 mozjpeg: bbe5f12952c272e10063446feaf7ec09a800c5e3 spectrum-folly: 7a893fae801f809e710d4d5a8325034131e0e949 - SpectrumCore: d295796b63522ec09fd3d72c2823f3e4469eadff - SpectrumKit: 1c43fa1e562f48c760bffc87a5fe191880a0b418 + SpectrumCore: b6e3215eecf37f5a34a513149d254cbcb591aea2 + SpectrumKit: ab258a700c3a5fd0559fba8b55db24a733eb954e PODFILE CHECKSUM: a3355323527bc38784cfac19efa6537f855b6fa9 -COCOAPODS: 1.6.1 +COCOAPODS: 1.9.3