summaryrefslogtreecommitdiffstats
path: root/vendor/elasticlunr-rs/CHANGELOG.md
blob: e7b79ba331303d75b74f2e0ca18b5a8d2bff1bd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [3.0.0] - 2022-06-01
### Added
 - Language support for Arabic ([#40](https://github.com/mattico/elasticlunr-rs/pull/40])).
 - Add the `Language` trait to make it easier to implement languages outside the crate.
 - Add `IndexBuilder::add_field_with_tokenizer` to specify the tokenizer for a field.

### Changed
 - Update to 2018 edition, and bump MSRV to 1.54.0.
 - Change benchmarks to use Criterion.
 - Remove dependency on lazy_static.
 - Update dependencies.
 - Use Unicode character classes for trimmer.
 - `IndexBuilder` functions which add fields will now panic if the same field is added multiple times.
 - Fix `IndexBuilder` not respecting field insertion order.

### Removed
 - Remove the `default` feature. You now need to opt-in to the `languages` feature.
 - Remove the deprecated function `Pipeline::for_language`.
 - Remove the `pipeline::tokenize*` functions, which are now implemented as part of the `Language` trait.
 - Remove `Index::add_doc_with_tokenizer(s)`, replaced by `IndexBuilder::add_field_with_tokenizer`.
 - 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`.


[Unreleased]: https://github.com/mattico/elasticlunr-rs/compare/v3.0.0...HEAD
[3.0.0]: https://github.com/mattico/elasticlunr-rs/compare/v2.3.14...v3.0.0