mirror of
https://github.com/openharmony/third_party_rust_codespan.git
synced 2026-07-18 15:54:35 -04:00
Bump cargo version to v0.9.4
This commit is contained in:
@@ -7,15 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [0.9.4] - 2020-05-18
|
||||
|
||||
## [0.9.3] - 2020-04-29
|
||||
|
||||
### Changed
|
||||
|
||||
- The `lsp-types` dependency was updated to use a version range: `>=0.70,<0.75`,
|
||||
which includes the latest updates in `0.74.0`.
|
||||
|
||||
## [0.9.2] - 2020-03-29
|
||||
|
||||
## [0.9.1] - 2020-03-23
|
||||
|
||||
## [0.9.0] - 2020-03-11
|
||||
|
||||
### Changed
|
||||
@@ -40,7 +42,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
## [0.2.1] - 2019-02-26
|
||||
## [0.2.0] - 2018-10-11
|
||||
|
||||
[Unreleased]: https://github.com/brendanzab/codespan/compare/v0.9.3...HEAD
|
||||
[Unreleased]: https://github.com/brendanzab/codespan/compare/v0.9.4...HEAD
|
||||
[0.9.4]: https://github.com/brendanzab/codespan/compare/v0.9.3...v0.9.4
|
||||
[0.9.3]: https://github.com/brendanzab/codespan/compare/v0.9.2...v0.9.3
|
||||
[0.9.2]: https://github.com/brendanzab/codespan/compare/v0.9.1...v0.9.2
|
||||
[0.9.1]: https://github.com/brendanzab/codespan/compare/v0.9.0...v0.9.1
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "codespan-lsp"
|
||||
version = "0.9.3"
|
||||
version = "0.9.4"
|
||||
license = "Apache-2.0"
|
||||
authors = ["Markus Westerlind <marwes91@gmail.com>"]
|
||||
description = "Conversions between codespan types and Language Server Protocol types"
|
||||
@@ -10,7 +10,7 @@ documentation = "https://docs.rs/codespan-lsp"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
codespan = { version = "0.9.3", path = "../codespan" }
|
||||
codespan = { version = "0.9.4", path = "../codespan" }
|
||||
# WARNING: Be extremely careful when expanding this version range.
|
||||
# We should be confident that all of the uses of `lsp-types` in `codespan-lsp`
|
||||
# will be valid for all the versions in this range. Getting this range wrong
|
||||
|
||||
@@ -7,6 +7,38 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [0.9.4] - 2020-05-18
|
||||
|
||||
### Changed
|
||||
|
||||
- We have made the caret rendering easier to read when there are multiple
|
||||
labels on the same line. We also avoid printing trailing borders on the
|
||||
final source source snippet if no notes are present. Instead of this:
|
||||
```
|
||||
┌─ one_line.rs:3:5
|
||||
│
|
||||
3 │ v.push(v.pop().unwrap());
|
||||
│ - first borrow later used by call
|
||||
│ ---- first mutable borrow occurs here
|
||||
│ ^ second mutable borrow occurs here
|
||||
│
|
||||
```
|
||||
…we now render the following:
|
||||
```
|
||||
┌─ one_line.rs:3:5
|
||||
│
|
||||
3 │ v.push(v.pop().unwrap());
|
||||
│ - ---- ^ second mutable borrow occurs here
|
||||
│ │ │
|
||||
│ │ first mutable borrow occurs here
|
||||
│ first borrow later used by call
|
||||
```
|
||||
|
||||
### Fixed
|
||||
|
||||
- Diagnostic rendering no longer panics if label ranges are between UTF-8
|
||||
character boundaries.
|
||||
|
||||
## [0.9.3] - 2020-04-29
|
||||
|
||||
### Changed
|
||||
@@ -206,7 +238,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
## [0.2.1] - 2019-02-26
|
||||
## [0.2.0] - 2018-10-11
|
||||
|
||||
[Unreleased]: https://github.com/brendanzab/codespan/compare/v0.9.3...HEAD
|
||||
[Unreleased]: https://github.com/brendanzab/codespan/compare/v0.9.4...HEAD
|
||||
[0.9.4]: https://github.com/brendanzab/codespan/compare/v0.9.3...v0.9.4
|
||||
[0.9.3]: https://github.com/brendanzab/codespan/compare/v0.9.2...v0.9.3
|
||||
[0.9.2]: https://github.com/brendanzab/codespan/compare/v0.9.1...v0.9.2
|
||||
[0.9.1]: https://github.com/brendanzab/codespan/compare/v0.9.0...v0.9.1
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "codespan-reporting"
|
||||
version = "0.9.3"
|
||||
version = "0.9.4"
|
||||
readme = "../README.md"
|
||||
license = "Apache-2.0"
|
||||
authors = ["Brendan Zabarauskas <bjzaba@yahoo.com.au>"]
|
||||
|
||||
@@ -7,8 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [0.9.4] - 2020-05-18
|
||||
## [0.9.3] - 2020-04-29
|
||||
|
||||
## [0.9.2] - 2020-03-29
|
||||
|
||||
## [0.9.1] - 2020-03-23
|
||||
@@ -35,7 +35,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
## [0.2.1] - 2019-02-26
|
||||
## [0.2.0] - 2018-10-11
|
||||
|
||||
[Unreleased]: https://github.com/brendanzab/codespan/compare/v0.9.3...HEAD
|
||||
[Unreleased]: https://github.com/brendanzab/codespan/compare/v0.9.4...HEAD
|
||||
[0.9.4]: https://github.com/brendanzab/codespan/compare/v0.9.3...v0.9.4
|
||||
[0.9.3]: https://github.com/brendanzab/codespan/compare/v0.9.2...v0.9.3
|
||||
[0.9.2]: https://github.com/brendanzab/codespan/compare/v0.9.1...v0.9.2
|
||||
[0.9.1]: https://github.com/brendanzab/codespan/compare/v0.9.0...v0.9.1
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "codespan"
|
||||
version = "0.9.3"
|
||||
version = "0.9.4"
|
||||
readme = "README.md"
|
||||
license = "Apache-2.0"
|
||||
authors = ["Brendan Zabarauskas <bjzaba@yahoo.com.au>"]
|
||||
@@ -11,7 +11,7 @@ documentation = "https://docs.rs/codespan"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
codespan-reporting = { path = "../codespan-reporting", version = "0.9.3", optional = true }
|
||||
codespan-reporting = { path = "../codespan-reporting", version = "0.9.4", optional = true }
|
||||
serde = { version = "1", optional = true, features = ["derive"]}
|
||||
|
||||
[features]
|
||||
|
||||
Reference in New Issue
Block a user