2020-07-24 12:16:34 +00:00
|
|
|
<!---
|
|
|
|
SPDX-FileCopyrightText: 2020 Robin Krahl <robin.krahl@ireas.org>
|
|
|
|
SPDX-License-Identifier: MIT
|
|
|
|
-->
|
|
|
|
|
2020-07-25 11:24:11 +00:00
|
|
|
# Changelog for rusty-man
|
|
|
|
|
2020-09-11 19:57:30 +00:00
|
|
|
## v0.3.0 (2020-09-11)
|
|
|
|
|
|
|
|
This minor release adds support for Rust 1.46.0 and significantly improves the
|
|
|
|
test suite.
|
2020-08-18 19:26:39 +00:00
|
|
|
|
|
|
|
- Improve handling of different items with same name:
|
|
|
|
- Add the item type to the item list if multiple matches are found in the
|
|
|
|
search index.
|
2020-08-18 19:43:37 +00:00
|
|
|
- Respect the item type when opening the documentation for an item that has
|
|
|
|
been found in the search index.
|
2020-09-11 16:14:19 +00:00
|
|
|
- Refactor test suite:
|
|
|
|
- Store the documentation generated by all supported rustdoc versions in the
|
|
|
|
`tests/html` directory.
|
|
|
|
- Use one snapshot per test case and rustdoc version.
|
2020-09-11 18:06:16 +00:00
|
|
|
- Refactor member lookup for compatibility with Rust 1.46.0.
|
2020-09-11 17:49:10 +00:00
|
|
|
- Add tests for Rust 1.46.0.
|
2020-09-11 18:55:23 +00:00
|
|
|
- Improve test suite:
|
|
|
|
- Add test for `Parser::find_member`.
|
2020-09-11 19:11:07 +00:00
|
|
|
- Add test for `Index::find`.
|
2020-08-18 19:26:39 +00:00
|
|
|
|
2020-08-11 08:31:03 +00:00
|
|
|
## v0.2.0 (2020-08-11)
|
|
|
|
|
|
|
|
This minor release adds support for syntax highlighting of code snippets and
|
|
|
|
for configuration files.
|
2020-08-10 17:30:12 +00:00
|
|
|
|
|
|
|
- Add syntax highlighting:
|
|
|
|
- Add syntax highlighting using `syntect` for code snippets displayed with
|
|
|
|
the rich text viewer.
|
2020-08-10 19:46:23 +00:00
|
|
|
- Add the `--no-syntax-highlight` option to disable syntax highlighting.
|
|
|
|
- Add the `--theme [theme]` option to select the syntax highlighting theme.
|
2020-08-10 21:37:26 +00:00
|
|
|
- Add support for configuration files:
|
|
|
|
- Load the `config.toml` file from the config directory according to the XDG
|
|
|
|
Base Directory Specification `${XDG_CONFIG_HOME}/rusty-man/config.toml`,
|
|
|
|
where `${XDG_CONFIG_HOME}` defaults to `${HOME}/.config`. The
|
|
|
|
configuration file can be used to set defaults for the command-line
|
|
|
|
options.
|
2020-08-10 21:49:13 +00:00
|
|
|
- Add the `--config-file [file]` option to set a custom configuration file.
|
2020-08-11 07:42:21 +00:00
|
|
|
- Add the `--width [width]` option to set a fixed output width and the
|
|
|
|
`--max-width [max]` option to set the maximum output width.
|
2020-08-10 22:21:03 +00:00
|
|
|
- Improve line break rendering when displaying code.
|
2020-07-27 12:49:51 +00:00
|
|
|
- Add integration test suite.
|
2020-08-10 17:30:12 +00:00
|
|
|
|
2020-07-28 12:59:12 +00:00
|
|
|
## v0.1.3 (2020-07-28)
|
|
|
|
|
|
|
|
This patch release adds support for documentation generated with Rust 1.45.0
|
|
|
|
and fixes some minor bugs in the documentation parser. It also adds the
|
|
|
|
documentation downloaded using rustup to the default sources.
|
2020-07-25 17:06:27 +00:00
|
|
|
|
|
|
|
- Use `rustc --print sysroot` to determine the Rust installation directory
|
|
|
|
instead of always using `/usr`.
|
2020-07-26 08:42:17 +00:00
|
|
|
- Improve the documentation parser:
|
|
|
|
- Fix the definition of methods to only contain the actual definition.
|
2020-07-26 09:04:13 +00:00
|
|
|
- Remove spurious members in module documentation.
|
2020-07-26 09:51:54 +00:00
|
|
|
- Show the definition for constants and typedefs.
|
2020-07-26 10:10:21 +00:00
|
|
|
- Fix group and ID for typdef items.
|
2020-07-26 10:12:50 +00:00
|
|
|
- Extract the description of module items as HTML instead of plain text.
|
2020-07-26 12:31:51 +00:00
|
|
|
- Sort implementations alphabetically.
|
2020-07-27 14:14:42 +00:00
|
|
|
- Fix list of methods and trait implementations for Rust 1.45.
|
2020-07-25 17:06:27 +00:00
|
|
|
|
2020-07-25 11:27:56 +00:00
|
|
|
## v0.1.2 (2020-07-25)
|
|
|
|
|
|
|
|
This patch release adds basic logging output and a new `-e`/`--examples` option
|
|
|
|
to extract only the examples from the documentation. It also fixes a bug when
|
|
|
|
displaying the documentation for a function.
|
2020-07-25 09:44:57 +00:00
|
|
|
|
|
|
|
- Add basic logging using `env_logger` that can be enabled by setting the
|
|
|
|
environment variable `RUST_LOG=info`.
|
|
|
|
- Add `env_logger` dependency in version 0.7.1.
|
|
|
|
- Add `log` dependency in version 0.4.11.
|
2020-07-25 10:18:32 +00:00
|
|
|
- Show the definition for global functions.
|
2020-07-25 10:58:52 +00:00
|
|
|
- Add the `-e`/`--examples` option to only show the examples instead of opening
|
|
|
|
the full documentation for an item.
|
2020-07-25 09:44:57 +00:00
|
|
|
|
2020-07-25 11:24:11 +00:00
|
|
|
## v0.1.1 (2020-07-24)
|
2020-07-24 12:24:57 +00:00
|
|
|
|
|
|
|
This patch release fixes some minor issues with the documentation displayed on
|
|
|
|
crates.io.
|
|
|
|
|
2020-07-25 11:24:11 +00:00
|
|
|
## v0.1.0 (2020-07-24)
|
2020-07-24 12:16:34 +00:00
|
|
|
|
|
|
|
Initial release with support for directory sources and including viewers for
|
|
|
|
plain and rich text.
|