mirror of
				https://github.com/google/brotli
				synced 2025-10-30 07:50:02 +08:00 
			
		
		
		
	prepare for v1.2.0.rc1
PiperOrigin-RevId: 815650799
This commit is contained in:
		 Evgenii Kliuchnikov
					Evgenii Kliuchnikov
				
			
				
					committed by
					
						 Copybara-Service
						Copybara-Service
					
				
			
			
				
	
			
			
			 Copybara-Service
						Copybara-Service
					
				
			
						parent
						
							82d3c163cb
						
					
				
				
					commit
					da2e091eb7
				
			
							
								
								
									
										26
									
								
								CHANGELOG.md
									
									
									
									
									
								
							
							
						
						
									
										26
									
								
								CHANGELOG.md
									
									
									
									
									
								
							| @ -7,12 +7,38 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | ||||
|  | ||||
| ## 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 | ||||
|  - **decoder / encoder: added static initialization to reduce binary size** | ||||
|  - python: allow limiting decoder output (see SECURITY section) | ||||
|  - CLI: `brcat` alias; allow decoding concatenated brotli streams | ||||
|  - kt: pure Kotlin decoder | ||||
|  - cgo: support "raw" dictionaries | ||||
|  - 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 | ||||
|  - 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 | ||||
|  | ||||
|  | ||||
| @ -7,6 +7,6 @@ | ||||
|  | ||||
| module( | ||||
|     name = "brotli", | ||||
|     version = "1.1.0", | ||||
|     version = "1.2.0", | ||||
|     repo_name = "org_brotli", | ||||
| ) | ||||
|  | ||||
| @ -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 | ||||
|  | ||||
| @ -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 = "../..", | ||||
|  | ||||
| @ -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_jvm_external", version = "6.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 = "..", | ||||
|  | ||||
| @ -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 = "..", | ||||
|  | ||||
| @ -8,5 +8,5 @@ URL: https://github.com/google/brotli | ||||
| 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} | ||||
|  | ||||
| @ -8,5 +8,5 @@ URL: https://github.com/google/brotli | ||||
| 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} | ||||
|  | ||||
		Reference in New Issue
	
	Block a user