Release v1.8.0

This commit is contained in:
Folyd 2022-08-14 22:03:50 +08:00
parent 3b362068e1
commit fb08d7f5a7
6 changed files with 53 additions and 34 deletions

View file

@ -7,7 +7,7 @@
[![Chrome Web Store](https://img.shields.io/chrome-web-store/v/ennpfpdlaclocpomkiablnmbppdnlhoh.svg)](https://chrome.google.com/webstore/detail/rust-search-extension/ennpfpdlaclocpomkiablnmbppdnlhoh)
[![Mozilla Add-on](https://img.shields.io/amo/v/rust-search-extension?color=%2320123A)](https://addons.mozilla.org/firefox/addon/rust-search-extension/)
[![Microsoft Edge](https://img.shields.io/badge/microsoft--edge-v1.7.0-1D4F8C)](https://microsoftedge.microsoft.com/addons/detail/olemfibpaicdoooacpfffccidjjagmoe)
[![Microsoft Edge](https://img.shields.io/badge/microsoft--edge-v1.8.0-1D4F8C)](https://microsoftedge.microsoft.com/addons/detail/olemfibpaicdoooacpfffccidjjagmoe)
[![license-mit](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/huhu/rust-search-extension/blob/master/LICENSE-MIT)
[![license-apache](https://img.shields.io/badge/license-Apache-yellow.svg)](https://github.com/huhu/rust-search-extension/blob/master/LICENSE-APACHE)
[![Discord](https://img.shields.io/discord/711895914494558250?label=chat&logo=discord)](https://discord.gg/xucZNVd)

View file

@ -9,7 +9,7 @@
[![Chrome Web Store](https://img.shields.io/chrome-web-store/v/ennpfpdlaclocpomkiablnmbppdnlhoh.svg)](https://chrome.google.com/webstore/detail/rust-search-extension/ennpfpdlaclocpomkiablnmbppdnlhoh)
[![Mozilla Add-on](https://img.shields.io/amo/v/rust-search-extension?color=%2320123A)](https://addons.mozilla.org/firefox/addon/rust-search-extension/)
[![Microsoft Edge](https://img.shields.io/badge/microsoft--edge-v1.7.0-1D4F8C)](https://microsoftedge.microsoft.com/addons/detail/olemfibpaicdoooacpfffccidjjagmoe)
[![Microsoft Edge](https://img.shields.io/badge/microsoft--edge-v1.8.0-1D4F8C)](https://microsoftedge.microsoft.com/addons/detail/olemfibpaicdoooacpfffccidjjagmoe)
[![license-mit](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/huhu/rust-search-extension/blob/master/LICENSE-MIT)
[![license-apache](https://img.shields.io/badge/license-Apache-yellow.svg)](https://github.com/huhu/rust-search-extension/blob/master/LICENSE-APACHE)
[![Discord](https://img.shields.io/discord/711895914494558250?label=chat&logo=discord)](https://discord.gg/xucZNVd)

View file

@ -147,7 +147,8 @@ Those commands including but not limited to:
- **:blog** - Show all Rust release blog posts.
- **:cargo** - Show all useful third-party cargo subcommands.
- **:yet** - Show all Are We Yet websites.
- **:book** - Show all Rust official books.
- **:book** - Show all Rust books.
- **:book/zh** - Show all Chinese Rust books.
- **:stable** - Show stable Rust scheduled release date in the next year.
- **:label** - Show all issue labels of rust-lang repository.
- **:tool** - Show useful rust tools.

View file

@ -4,6 +4,25 @@ description = "Changelog"
weight = 3
+++
# v1.8 - 2022-08-15
- Migrate to Manifest V3 ({{ issue(id=179) }}).
- Integrate macro_railroad_ext ({{ issue(id=183) }}).
> ![](/railroad.jpg)
- Support options page. Fixes ({{ issue(id=133) }}).
- Replace 'crate:check' action with `chrome.storage` API query.
- Support the new search-index loading, see [rust-lang/rust#98124](https://github.com/rust-lang/rust/pull/98124).
- Add more books into `:book` command. Thanks .
- Add `:book/zh` command to list Chinese books. ({{ issue(id=175) }}).
- Adjust margin of add to extension button ({{ issue(id=178) }}).
- Remove uninstall url. Close ({{ issue(id=188) }}).
- Bugfix:
- Fix default `offlineDocPath` undefine bug.
- Don't load search index in non-rust doc pages
- Invalid cached crate searcher after crate search index updated or removed.
Thanks the contributions from [@C-Dao](https://github.com/C-Dao), [@zjp-CN](https://github.com/zjp-CN), and [@ZhangHanDong](https://github.com/ZhangHanDong).
# v1.7 - 2022-06-06
- Remove the `tabs` permission requirement.
@ -41,11 +60,12 @@ weight = 3
- New commands:
- `:rfc`: show all Rust RFC list. Kudos to [nrc](https://github.com/nrc)'s [rfc-index](https://github.com/nrc/rfc-index) repository.
- Improvements:
- Error code search supports offline mode.
- Expand the `:stable` command result to 100 versions.
> What a coincidence! Rust will release **v1.87.0** on its **10th** anniversary day!
>
> ![](/stable-command.png)
> What a coincidence! Rust will release **v1.87.0** on its **10th** anniversary day!
>
> ![](/stable-command.png)
- Bugfix:
- Fix docs.rs TOC overlap issue.
@ -113,7 +133,7 @@ weight = 3
- Refactor search statistics page (finer granularity for search metrics)
- Add a table of content for the rust-lang repository release page. (New permission required, see [FAQ](/faq/#why-the-extension-requires-access-to-github-com))
- docs.rust-lang.org enhancement: in stable/nightly docs page and source code pages, link all `"since"` and `"issue"` tags to corresponding URLs
- Show a crate's Cargo.toml quick link when feature flag is empty
- Show a crate's Cargo.toml quick link when feature flag is empty
- New commands:
- `:cargo`: show all useful cargo subcommands
- `:release`: open rust-lang repository release page
@ -129,19 +149,19 @@ Finally, we reach **v1.0**! 🎉🎉
- Support sync stable/nightly std search index automatically. There is no extension updating required to get the latest search index after v1.0.
- Support prefix **?** and **??** to search [caniuse.rs](https://caniuse.rs) and RFC respectively. Thanks the PR {{ issue(id=77) }} from [@aquarhead](https://github.com/aquarhead).
- Upload the latest index files to the [update page](/update) once a day, those index including:
- Command index
- Book index
- Clippy lint index
- Caniuse index
- Github *rust-lang/rust* repository label index
- Top 20K crate index
- Command index
- Book index
- Clippy lint index
- Caniuse index
- Github _rust-lang/rust_ repository label index
- Top 20K crate index
- Support configure auto index-updating in the popup page
- New commands:
- `:stats`: open search statistics page
- `:update`: open the [update page](/update) to sync the latest index automatically
- `:stats`: open search statistics page
- `:update`: open the [update page](/update) to sync the latest index automatically
- Bugfix:
- Fix docs.rs SVG icon missing issue
- Fix docs.rs new header bar UI compatibility
- Fix docs.rs SVG icon missing issue
- Fix docs.rs new header bar UI compatibility
# v0.11 - 2020-08-27
@ -149,7 +169,7 @@ Finally, we reach **v1.0**! 🎉🎉
- Bump std search index version to **v1.46.0**
- Support prefix **/** to search nightly docs
- New commands:
- `:mirror`: show all rust mirror websites
- `:mirror`: show all rust mirror websites
- Improve error code regex
- Update the latest attribute index
@ -162,22 +182,21 @@ Finally, we reach **v1.0**! 🎉🎉
- Add search statistics page, including calendar heatmap, daily|weekly|hourly search bar charts, and top searched crates, etc
- Improve searching speed, approximately 10% faster than the previous version
- New commands:
- `:tool`: search rust tools
- `:tool`: search rust tools
- Bugfix:
- Fix std doc offline mode bug
- Fix wrong Add button state in docs.rs's src page issue
- Fix std doc offline mode bug
- Fix wrong Add button state in docs.rs's src page issue
# v0.9 - 2020-04-24
- Bump std search index version to **v1.43.0**
- Support add crates to Rust Search Extension in docs.rs pagethen you can use **@crate-name** to search that crate's docs.
- Support add crates to Rust Search Extension in docs.rs pagethen you can use **@crate-name** to search that crate's docs.
- Support prefix **>** to search [Cargo Clippy lints](https://rust-lang.github.io/rust-clippy/master/)
- New commands:
- `:label`: search rust-lang issue label
- `:label`: search rust-lang issue label
- Dark mode supported
- [Microsoft Edge](https://microsoftedge.microsoft.com/addons/detail/olemfibpaicdoooacpfffccidjjagmoe) version is available
# v0.8 - 2020-03-02
- Bump crates index number from top 10K to top 20K
@ -185,11 +204,11 @@ Finally, we reach **v1.0**! 🎉🎉
- Support prefix **!!** (double exclamation mark) to search crates with [docs.rs](https://docs.rs) url
- Support prefix **%** (percent mark) to search Rust official book chapters
- Builtin command system
- `:help` command to show all help messages
- `:book` command to show all Rust official books
- `:stable` command to show stable Rust scheduled release date in the next year
- `:yet` command to show all **Are We Yet** websites
- `:history` command to show your local search history
- `:help` command to show all help messages
- `:book` command to show all Rust official books
- `:stable` command to show stable Rust scheduled release date in the next year
- `:yet` command to show all **Are We Yet** websites
- `:history` command to show your local search history
- Support page down the result with page-turner **-** (hyphen)
- Support open in new tab by using `Cmd`/`Alt` + `Enter`
- Add [Privacy Policy](/privacy/)
@ -221,17 +240,16 @@ The version **v0.5** was released at `2019-11-08`.
- Bump search-index to version **v1.39.0**
- Fix escape bug on Firefox
# v0.4 - 2019-11-01
**v0.4** was a minor bug fix version released at `2019-11-01`.
- Fix offline mode search bug
- Offline doc path support `file://` and `http://`
- Offline doc path support `file://` and `http://`
# v0.3 - 2019-10-29
After long time inactivity. The **v0.3** gets released at `2019-10-29` with an announcing on [Reddit post](https://www.reddit.com/r/rust/comments/dp1ru6/i_published_a_handy_chromefirefox_extension_to/).
After long time inactivity. The **v0.3** gets released at `2019-10-29` with an announcing on [Reddit post](https://www.reddit.com/r/rust/comments/dp1ru6/i_published_a_handy_chromefirefox_extension_to/).
- Bump search-index to stable version **v1.38.0**
- Support search [Compiler Error Index](https://doc.rust-lang.org/error-index.html) with error code
@ -254,4 +272,4 @@ This version only ships the very basic capabilities, including:
- Support search docs in the address bar.
- Support search crates on [https://crates.io](https://crates.io)
- Available on [Chrome Webstore](https://chrome.google.com/webstore/detail/rust-search-extension/ennpfpdlaclocpomkiablnmbppdnlhoh)
- Support Firefox but didn't publish it to [AMO](https://addons.mozilla.org/) yet
- Support Firefox but didn't publish it to [AMO](https://addons.mozilla.org/) yet

BIN
docs/static/railroad.jpg vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 991 KiB

View file

@ -41,7 +41,7 @@
<div style="margin-top: 50px; display: flex; flex-direction: column; align-items: center">
<a class="subtitle-text" style="text-decoration: underline; margin: 10px"
href="https://github.com/huhu/rust-search-extension/releases">
Current version 1.7.0
Current version 1.8.0
</a>
<a class="btn-download chrome"
href="https://chrome.google.com/webstore/detail/rust-search-extension/ennpfpdlaclocpomkiablnmbppdnlhoh"