]> git.proxmox.com Git - rustc.git/blob - vendor/elasticlunr-rs/CHANGELOG.md
New upstream version 1.64.0+dfsg1
[rustc.git] / vendor / elasticlunr-rs / CHANGELOG.md
1 # Changelog
2 All notable changes to this project will be documented in this file.
3
4 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
7 ## [Unreleased]
8
9 ## [3.0.0] - 2022-06-01
10 ### Added
11 - Language support for Arabic ([#40](https://github.com/mattico/elasticlunr-rs/pull/40])).
12 - Add the `Language` trait to make it easier to implement languages outside the crate.
13 - Add `IndexBuilder::add_field_with_tokenizer` to specify the tokenizer for a field.
14
15 ### Changed
16 - Update to 2018 edition, and bump MSRV to 1.54.0.
17 - Change benchmarks to use Criterion.
18 - Remove dependency on lazy_static.
19 - Update dependencies.
20 - Use Unicode character classes for trimmer.
21 - `IndexBuilder` functions which add fields will now panic if the same field is added multiple times.
22 - Fix `IndexBuilder` not respecting field insertion order.
23
24 ### Removed
25 - Remove the `default` feature. You now need to opt-in to the `languages` feature.
26 - Remove the deprecated function `Pipeline::for_language`.
27 - Remove the `pipeline::tokenize*` functions, which are now implemented as part of the `Language` trait.
28 - Remove `Index::add_doc_with_tokenizer(s)`, replaced by `IndexBuilder::add_field_with_tokenizer`.
29 - Remove the `Language` enum. Use the `Language` trait implementations in the `lang` modules, and the free functions `lang::from_name`, `lang::from_code`, and `lang::languages`.
30
31
32 [Unreleased]: https://github.com/mattico/elasticlunr-rs/compare/v3.0.0...HEAD
33 [3.0.0]: https://github.com/mattico/elasticlunr-rs/compare/v2.3.14...v3.0.0