prepare for v1.2.0.rc1 PiperOrigin-RevId: 814154621
diff --git a/CHANGELOG.md b/CHANGELOG.md index b0df531..1846cba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md
@@ -7,12 +7,38 @@ ## Unreleased +## [1.2.0] - 2025-10-xx + ### SECURITY - python: added `Decompressor::can_accept_more_data` method and optional `output_buffer_limit` argument `Decompressor::process`; that allows mitigation of unexpectedly large output; reported by Charles Chan (https://github.com/charleswhchan) +### Added + - CLI: `brcat` alias; allow decoding concatenated brotli streams + - kt: pure Kotlin decoder + - cgo: support "raw" dictionaries + - python: allow limiting decoder output (see SECURITY section) + - build: Bazel modules + +### Removed + - java: dropped `finalize()` for native entities + +### Fixed + - java: in `compress` pass correct length to native encoder + +### Improved + - build: install man pages + - build: updated / fixed / refined Bazel buildfiles + - encoder: faster encoding + - cgo: link via pkg-config + - decoder / encoder: added static initialization to reduce binary size + - python: modernize extension / allow multi-phase module initialization + +### Changed + - decoder / encoder: static tables use "small" model (allows 2GiB+ binaries) + ## [1.1.0] - 2023-08-28
diff --git a/MODULE.bazel b/MODULE.bazel index 478603d..489171e 100644 --- a/MODULE.bazel +++ b/MODULE.bazel
@@ -7,6 +7,6 @@ module( name = "brotli", - version = "1.1.0", + version = "1.2.0", repo_name = "org_brotli", )
diff --git a/c/common/version.h b/c/common/version.h index 8098040..0d6fcc5 100644 --- a/c/common/version.h +++ b/c/common/version.h
@@ -18,7 +18,7 @@ BrotliEncoderVersion methods. */ #define BROTLI_VERSION_MAJOR 1 -#define BROTLI_VERSION_MINOR 1 +#define BROTLI_VERSION_MINOR 2 #define BROTLI_VERSION_PATCH 0 #define BROTLI_VERSION BROTLI_MAKE_HEX_VERSION( \ @@ -32,9 +32,9 @@ - interfaces not changed -> current:revision+1:age */ -#define BROTLI_ABI_CURRENT 2 +#define BROTLI_ABI_CURRENT 3 #define BROTLI_ABI_REVISION 0 -#define BROTLI_ABI_AGE 1 +#define BROTLI_ABI_AGE 2 #if BROTLI_VERSION_MAJOR != (BROTLI_ABI_CURRENT - BROTLI_ABI_AGE) #error ABI/API version inconsistency
diff --git a/c/fuzz/MODULE.bazel b/c/fuzz/MODULE.bazel index 9fe5b1f..cbd166c 100644 --- a/c/fuzz/MODULE.bazel +++ b/c/fuzz/MODULE.bazel
@@ -7,13 +7,13 @@ module( name = "brotli_fuzz", - version = "1.1.0", + version = "1.2.0", repo_name = "org_brotli_fuzz", ) bazel_dep(name = "rules_fuzzing", version = "0.5.2") -bazel_dep(name = "brotli", version = "1.1.0", repo_name = "org_brotli") +bazel_dep(name = "brotli", version = "1.2.0", repo_name = "org_brotli") local_path_override( module_name = "brotli", path = "../..",
diff --git a/java/MODULE.bazel b/java/MODULE.bazel index 2c1b06c..a0007c5 100644 --- a/java/MODULE.bazel +++ b/java/MODULE.bazel
@@ -7,7 +7,7 @@ module( name = "brotli_java", - version = "1.1.0", + version = "1.2.0", repo_name = "org_brotli_java", ) @@ -16,7 +16,7 @@ bazel_dep(name = "rules_kotlin", version = "2.1.4") bazel_dep(name = "platforms", version = "0.0.11") -bazel_dep(name = "brotli", version = "1.1.0", repo_name = "org_brotli") +bazel_dep(name = "brotli", version = "1.2.0", repo_name = "org_brotli") local_path_override( module_name = "brotli", path = "..",
diff --git a/research/MODULE.bazel b/research/MODULE.bazel index fe5aa10..818511c 100644 --- a/research/MODULE.bazel +++ b/research/MODULE.bazel
@@ -7,14 +7,14 @@ module( name = "brotli_research", - version = "1.1.0", + version = "1.2.0", repo_name = "org_brotli_research", ) bazel_dep(name = "divsufsort", version = "2.0.1") bazel_dep(name = "esaxx", version = "20250106.0") -bazel_dep(name = "brotli", version = "1.1.0", repo_name = "org_brotli") +bazel_dep(name = "brotli", version = "1.2.0", repo_name = "org_brotli") local_path_override( module_name = "brotli", path = "..",
diff --git a/scripts/libbrotlidec.pc.in b/scripts/libbrotlidec.pc.in index ecb8f46..419a608 100644 --- a/scripts/libbrotlidec.pc.in +++ b/scripts/libbrotlidec.pc.in
@@ -8,5 +8,5 @@ Description: Brotli decoder library Version: @PACKAGE_VERSION@ Libs: -L${libdir} -lbrotlidec -Requires.private: libbrotlicommon >= 1.1.0 +Requires.private: libbrotlicommon >= 1.2.0 Cflags: -I${includedir}
diff --git a/scripts/libbrotlienc.pc.in b/scripts/libbrotlienc.pc.in index 5bedb2f..effa6ce 100644 --- a/scripts/libbrotlienc.pc.in +++ b/scripts/libbrotlienc.pc.in
@@ -8,5 +8,5 @@ Description: Brotli encoder library Version: @PACKAGE_VERSION@ Libs: -L${libdir} -lbrotlienc -Requires.private: libbrotlicommon >= 1.1.0 +Requires.private: libbrotlicommon >= 1.2.0 Cflags: -I${includedir}