mirror of
				https://github.com/sharkdp/bat.git
				synced 2025-10-31 07:04:04 +00:00 
			
		
		
		
	Prepare for v0.20.0 release
Since we have added new enum variants to the `StyleComponent` which was not previously marked `#[non_exhaustive]`, we must bump left-most non-zero version number (see [specifying-dependencies](https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#specifying-dependencies-from-cratesio)). Otherwise client code that do exhaustive matches on `StyleComponent` will stop compiling.
This commit is contained in:
		| @@ -1,4 +1,4 @@ | |||||||
| # unreleased | # v0.20.0 | ||||||
|  |  | ||||||
| ## Features | ## Features | ||||||
|  |  | ||||||
| @@ -9,8 +9,6 @@ | |||||||
|  |  | ||||||
| - Fix bash completion on bash 3.x and bash-completion 1.x. See #2066 (@joshpencheon) | - Fix bash completion on bash 3.x and bash-completion 1.x. See #2066 (@joshpencheon) | ||||||
|  |  | ||||||
| ## Other |  | ||||||
|  |  | ||||||
| ## Syntaxes | ## Syntaxes | ||||||
|  |  | ||||||
| - `GraphQL`: Add support for interfaces implementing interfaces and consider ampersand an operator. See #2000 | - `GraphQL`: Add support for interfaces implementing interfaces and consider ampersand an operator. See #2000 | ||||||
| @@ -20,11 +18,11 @@ | |||||||
| - Added support for `JQ` syntax, see #2072 | - Added support for `JQ` syntax, see #2072 | ||||||
| - Properly associate global git config files rooted in `$XDG_CONFIG_HOME/git/` or `$HOME/.config/git/`. See #2067 (@cyqsimon) | - Properly associate global git config files rooted in `$XDG_CONFIG_HOME/git/` or `$HOME/.config/git/`. See #2067 (@cyqsimon) | ||||||
|  |  | ||||||
| ## Themes |  | ||||||
|  |  | ||||||
| ## `bat` as a library | ## `bat` as a library | ||||||
|  |  | ||||||
| - Exposed `get_syntax_set` and `get_theme` methods on `HighlightingAssets`. See #2030 (@dandavison) | - Exposed `get_syntax_set` and `get_theme` methods on `HighlightingAssets`. See #2030 (@dandavison) | ||||||
|  | - Added `HeaderFilename` and `HeaderFilesize` to `StyleComponent` enum, and mark it `#[non_exhaustive]`. See #1988 (@mdibaiee) | ||||||
|  |  | ||||||
|  |  | ||||||
| # v0.19.0 | # v0.19.0 | ||||||
|  |  | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								Cargo.lock
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								Cargo.lock
									
									
									
										generated
									
									
									
								
							| @@ -74,7 +74,7 @@ checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd" | |||||||
|  |  | ||||||
| [[package]] | [[package]] | ||||||
| name = "bat" | name = "bat" | ||||||
| version = "0.19.0" | version = "0.20.0" | ||||||
| dependencies = [ | dependencies = [ | ||||||
|  "ansi_colours", |  "ansi_colours", | ||||||
|  "ansi_term", |  "ansi_term", | ||||||
|   | |||||||
| @@ -6,7 +6,7 @@ homepage = "https://github.com/sharkdp/bat" | |||||||
| license = "MIT/Apache-2.0" | license = "MIT/Apache-2.0" | ||||||
| name = "bat" | name = "bat" | ||||||
| repository = "https://github.com/sharkdp/bat" | repository = "https://github.com/sharkdp/bat" | ||||||
| version = "0.19.0" | version = "0.20.0" | ||||||
| exclude = ["assets/syntaxes/*", "assets/themes/*"] | exclude = ["assets/syntaxes/*", "assets/themes/*"] | ||||||
| build = "build.rs" | build = "build.rs" | ||||||
| edition = '2018' | edition = '2018' | ||||||
|   | |||||||
							
								
								
									
										
											BIN
										
									
								
								assets/syntaxes.bin
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								assets/syntaxes.bin
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
		Reference in New Issue
	
	Block a user