mirror of
https://github.com/openharmony/third_party_rust_codespan.git
synced 2026-07-19 16:43:33 -04:00
write changelog
Just looked through all closed pull requests since the last release. Left out anything related to codespan-lsp since there were already versions released for that. I assume the changelog for that has been maintained.
This commit is contained in:
@@ -7,6 +7,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
There is now a [code of conduct](https://github.com/brendanzab/codespan/blob/master/CODE_OF_CONDUCT.md)
|
||||
and a [contributing guide](https://github.com/brendanzab/codespan/blob/master/CONTRIBUTING.md).
|
||||
|
||||
### Added
|
||||
|
||||
- If a label spans over multiple lines, not all lines are rendered.
|
||||
The number of lines rendered at beginning and end is configurable separately.
|
||||
- There is now a custom error type.
|
||||
- There now is a medium rendering mode that is like the short rendering mode
|
||||
but also shows notes from the diagnostic.
|
||||
|
||||
### Fixed
|
||||
|
||||
- Empty error codes are not rendered.
|
||||
- The locus ("location of the diagnostic") is now computed so it is always at the first
|
||||
primary label, or at the first secondary label if no primary labels are available.
|
||||
- All `unwrap`s outside of tests and examples have been removed.
|
||||
- Some internal improvements, including various code style improvements by using Clippy.
|
||||
- Improved documentation, also mentioning how the ordering of labels is handled.
|
||||
|
||||
## [0.9.5] - 2020-06-24
|
||||
|
||||
### Changed
|
||||
|
||||
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Fixed
|
||||
|
||||
- Building the crate on operating systems other than unix/windows
|
||||
with the `serialization` feature enabled.
|
||||
|
||||
## [0.9.5] - 2020-06-24
|
||||
|
||||
### Fixed
|
||||
|
||||
Reference in New Issue
Block a user