Skip to content

Commit

Permalink
Update release notes for 2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
pemistahl committed Nov 23, 2023
1 parent 3b18cc4 commit 534528d
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 32 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[![codecov](https://codecov.io/gh/pemistahl/lingua-rs/branch/main/graph/badge.svg)](https://codecov.io/gh/pemistahl/lingua-rs)
[![supported languages](https://img.shields.io/badge/supported%20languages-75-green.svg)](#3-which-languages-are-supported)
![supported Python versions](https://img.shields.io/badge/Python-%3E%3D%203.8-blue)
[![pypi](https://img.shields.io/badge/PYPI-v2.0.0-blue)](https://pypi.org/project/lingua-language-detector)
[![pypi](https://img.shields.io/badge/PYPI-v2.0.1-blue)](https://pypi.org/project/lingua-language-detector)
[![license](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0)
</div>

Expand Down
13 changes: 13 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
### Lingua 2.0.1 (released on 23 Nov 2023)

### Bug Fixes

- The method `LanguageDetector.detect_multiple_languages_of` returns byte indices.
For creating string slices in Python and JavaScript, character indices are needed
but were not provided. This resulted in incorrect `DetectionResult`s for Python
and JavaScript. This has been fixed now by converting the byte indices to
character indices. (#192)

- Some minor bugs in the WASM module have been fixed to prepare the first release
of [Lingua for JavaScript](https://github.com/pemistahl/lingua-js).

### Lingua 2.0.0 (released on 14 Nov 2023)

### Features
Expand Down
58 changes: 29 additions & 29 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

[tool.poetry]
name = "lingua-language-detector"
version = "2.0.0"
version = "2.0.1"
description = "An accurate natural language detection library, suitable for long and short text alike"
authors = ["Peter M. Stahl <[email protected]>"]
license = "Apache-2.0"
Expand Down Expand Up @@ -100,7 +100,7 @@ classifiers = [
python = ">=3.8,<3.13"

[tool.poetry.group.dev.dependencies]
mypy = "^1.7.0"
mypy = "^1.7.1"
black = "^23.11.0"

[tool.poetry.group.script.dependencies]
Expand Down

0 comments on commit 534528d

Please sign in to comment.