Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump cargo version to v0.9.1 #209

Merged
merged 1 commit into from
Mar 22, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions codespan-lsp/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.9.1] - 2020-03-23

## [0.9.0] - 2020-03-11

### Changed

- The `lsp-types` dependency was updated to use a version range: `>=0.70,<0.74`,
which includes the latest updates in `0.73.0`.
- The `lsp-types` dependency was updated to use a version range: `>=0.70,<0.74`,
which includes the latest updates in `0.73.0`.

### Removed

- `codespan_lsp` no longer depends on `codespan_reporting`.
- `make_lsp_severity` and `make_lsp_diagnostic` were removed.
It's pretty hard to map the diagnostic structure to LSP diagnostics - we
recommend implementing this as an application-specific concern.
- `codespan_lsp` no longer depends on `codespan_reporting`.
- `make_lsp_severity` and `make_lsp_diagnostic` were removed.
It's pretty hard to map the diagnostic structure to LSP diagnostics - we
recommend implementing this as an application-specific concern.

## [0.8.0] - 2020-02-24
## [0.7.0] - 2020-01-06
Expand All @@ -31,7 +33,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.0...HEAD
[Unreleased]: https://github.com/brendanzab/codespan/compare/v0.9.1...HEAD
[0.9.1]: https://github.com/brendanzab/codespan/compare/v0.9.0...v0.9.1
[0.9.0]: https://github.com/brendanzab/codespan/compare/v0.8.0...v0.9.0
[0.8.0]: https://github.com/brendanzab/codespan/compare/v0.7.0...v0.8.0
[0.7.0]: https://github.com/brendanzab/codespan/compare/v0.6.0...v0.7.0
Expand Down
4 changes: 2 additions & 2 deletions codespan-lsp/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "codespan-lsp"
version = "0.9.0"
version = "0.9.1"
license = "Apache-2.0"
authors = ["Markus Westerlind <[email protected]>"]
description = "Conversions between codespan types and Language Server Protocol types"
Expand All @@ -10,7 +10,7 @@ documentation = "https://docs.rs/codespan-lsp"
edition = "2018"

[dependencies]
codespan = { version = "0.9.0", path = "../codespan" }
codespan = { version = "0.9.1", 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
Expand Down
40 changes: 38 additions & 2 deletions codespan-reporting/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,46 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.9.1] - 2020-03-23

### Added

- `codespan_reporting::diagnostic::Diagnostic` now implements `Debug`.

### Changed

- Single-line labels are now rendered together, under the same source line.

For example:
```
┌── one_line.rs:3:5 ───
3 │ v.push(v.pop().unwrap());
│ - first borrow later used by call
·
3 │ v.push(v.pop().unwrap());
│ ---- first mutable borrow occurs here
·
3 │ v.push(v.pop().unwrap());
│ ^ second mutable borrow occurs here
```
…is now rendered as:
```
┌── 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
```

## [0.9.0] - 2020-03-11

### Added

- The `codespan_reporting::files` was added as a way to decouple
- The `codespan_reporting::files` module was added as a way to decouple
`codespan_reporting` from `codespan`.
- `codespan_reporting::files::Files` allows users to implement custom file
databases that work with `codespan_reporting`. This should make it
Expand Down Expand Up @@ -55,7 +90,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.0...HEAD
[Unreleased]: https://github.com/brendanzab/codespan/compare/v0.9.1...HEAD
[0.9.1]: https://github.com/brendanzab/codespan/compare/v0.9.0...v0.9.1
[0.9.0]: https://github.com/brendanzab/codespan/compare/v0.8.0...v0.9.0
[0.8.0]: https://github.com/brendanzab/codespan/compare/v0.7.0...v0.8.0
[0.7.0]: https://github.com/brendanzab/codespan/compare/v0.6.0...v0.7.0
Expand Down
2 changes: 1 addition & 1 deletion codespan-reporting/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "codespan-reporting"
version = "0.9.0"
version = "0.9.1"
readme = "../README.md"
license = "Apache-2.0"
authors = ["Brendan Zabarauskas <[email protected]>"]
Expand Down
14 changes: 11 additions & 3 deletions codespan/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.9.1] - 2020-03-23

### Added

- `From<Span>` is now implemented for `Range<usize>` and `Range<RawIndex>`.
- More `From<_>` conversions are now implemented for index and offset types.

## [0.9.0] - 2020-03-11

### Added

- `codespan` now depends on `codespan_reporting`. This can be disabled via the `reporting` feature.
- `codespan::Files` now implements `codespan_reporting::files::Files`
- `codespan` now depends on `codespan_reporting`. This can be disabled via the `reporting` feature.
- `codespan::Files` now implements `codespan_reporting::files::Files`

## [0.8.0] - 2020-02-24
## [0.7.0] - 2020-01-06
Expand All @@ -24,7 +31,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.0...HEAD
[Unreleased]: https://github.com/brendanzab/codespan/compare/v0.9.1...HEAD
[0.9.1]: https://github.com/brendanzab/codespan/compare/v0.9.0...v0.9.1
[0.9.0]: https://github.com/brendanzab/codespan/compare/v0.8.0...v0.9.0
[0.8.0]: https://github.com/brendanzab/codespan/compare/v0.7.0...v0.8.0
[0.7.0]: https://github.com/brendanzab/codespan/compare/v0.6.0...v0.7.0
Expand Down
4 changes: 2 additions & 2 deletions codespan/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "codespan"
version = "0.9.0"
version = "0.9.1"
readme = "README.md"
license = "Apache-2.0"
authors = ["Brendan Zabarauskas <[email protected]>"]
Expand All @@ -11,7 +11,7 @@ documentation = "https://docs.rs/codespan"
edition = "2018"

[dependencies]
codespan-reporting = { path = "../codespan-reporting", version = "0.9.0", optional = true }
codespan-reporting = { path = "../codespan-reporting", version = "0.9.1", optional = true }
serde = { version = "1", optional = true, features = ["derive"]}

[features]
Expand Down