2020-07-24 12:16:34 +00:00
|
|
|
<!---
|
2021-06-06 11:00:50 +00:00
|
|
|
SPDX-FileCopyrightText: 2020-2021 Robin Krahl <robin.krahl@ireas.org>
|
2020-07-24 12:16:34 +00:00
|
|
|
SPDX-License-Identifier: MIT
|
|
|
|
-->
|
|
|
|
|
2020-07-25 11:24:11 +00:00
|
|
|
# Changelog for rusty-man
|
|
|
|
|
2021-10-26 21:42:34 +00:00
|
|
|
## v0.5.0 (2021-10-26)
|
|
|
|
|
|
|
|
This minor release adds support for Rust 1.54.0, 1.55.0 and 1.56.0 and bumps
|
|
|
|
the MSRV to 1.45.0.
|
2021-06-19 11:40:25 +00:00
|
|
|
|
2021-06-19 11:50:29 +00:00
|
|
|
- Scroll by page on PageUp/PageDown in tui viewer.
|
2021-06-19 11:40:25 +00:00
|
|
|
- Bump MSRV to 1.45.0.
|
2021-10-26 21:04:09 +00:00
|
|
|
- Add support and tests for Rust 1.54.0, 1.55.0 and 1.56.0.
|
2021-06-19 11:40:25 +00:00
|
|
|
|
2021-06-19 11:11:19 +00:00
|
|
|
## v0.4.3 (2021-06-19)
|
|
|
|
|
|
|
|
This patch release adds support for Rust 1.53.0 and for non-default target
|
|
|
|
directories.
|
2020-09-12 16:38:49 +00:00
|
|
|
|
|
|
|
- Prepare supporting multiple parser backends.
|
2021-06-14 15:31:18 +00:00
|
|
|
- Read the `$CARGO_TARGET_DIR` and `$CARGO_BUILD_TARGET_DIR` environment
|
|
|
|
variables to determine the Cargo target directory.
|
2021-06-18 15:17:33 +00:00
|
|
|
- Add support and tests for Rust 1.53.0.
|
2020-09-12 16:38:49 +00:00
|
|
|
|
2021-06-06 12:57:37 +00:00
|
|
|
## v0.4.2 (2021-06-06)
|
|
|
|
|
|
|
|
This patch releases adds support for the new search index format (Rust 1.52.0
|
|
|
|
and later).
|
2020-10-11 23:08:00 +00:00
|
|
|
|
|
|
|
- Add `o` command for opening a documentation item to the tui viewer.
|
2021-06-06 09:50:35 +00:00
|
|
|
- Add tests for Rust 1.48.0, 1.49.0, 1.50.0, 1.51.0, 1.52.0 and 1.52.1.
|
2021-06-06 11:00:50 +00:00
|
|
|
- Add support for the new search index format introduced in Rust 1.52.0.
|
2020-10-11 23:08:00 +00:00
|
|
|
|
2020-10-11 20:40:03 +00:00
|
|
|
## v0.4.1 (2020-10-11)
|
|
|
|
|
|
|
|
This patch release fixes an issue with the pager configuration.
|
2020-10-11 20:09:56 +00:00
|
|
|
|
|
|
|
- Use the `LESS` environment variable to set the options for the pager.
|
2020-10-11 20:25:14 +00:00
|
|
|
- Add the `--pager` option to set the pager for the plain and rich viewers.
|
2020-10-11 20:09:56 +00:00
|
|
|
|
|
|
|
## v0.4.0 (2020-10-09)
|
2020-10-09 10:04:37 +00:00
|
|
|
|
|
|
|
This minor release introduces a new interactive viewer, tui. It also adds
|
|
|
|
syntax highlighting for code in the documentation and support for Rust 1.47.0.
|
2020-09-14 22:41:07 +00:00
|
|
|
|
|
|
|
- Remove suffix from duplicate members (e. g. from Deref implementations).
|
2020-09-20 20:18:28 +00:00
|
|
|
- Use the `merge` crate to merge the command-line arguments and the settings in
|
|
|
|
the configuration file.
|
|
|
|
- Add `merge` dependency in version 0.1.0.
|
2020-10-03 17:06:21 +00:00
|
|
|
- Add syntax highlighting for code snippets in the doc comments.
|
2020-09-15 15:32:06 +00:00
|
|
|
- Add interactive tui viewer that adds support for following links from the
|
|
|
|
documentation.
|
2020-10-08 19:07:52 +00:00
|
|
|
- Add tests for Rust 1.47.0.
|
2020-10-08 19:10:35 +00:00
|
|
|
- Remove Notable Traits section from definitions.
|
2020-09-14 22:41:07 +00:00
|
|
|
|
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.
|