Skip to content

Commit

Permalink
Bump version: 1.0.2 → 1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Kazu Version Bump committed Aug 15, 2023
1 parent d92048f commit 472523e
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 13 deletions.
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,37 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

<!-- towncrier release notes start -->

## 1.0.3 - 2023-08-15


### Features

- Improved spacy tokenization for the ExplosionStringMatchingStep.
Previously, this caused us to miss entities that ended with a single-letter uppercase token at the end (like 'Haemophilia A') if it was at the end of a sentence.
- Make SpanFinder return found spans directly, rather than having to access `.closed_spans` after calling, which is easier. Note that `.closed_spans` remains, so this is backwards-compatible.
- Turned on 'strict' mypy checking (with some exceptions as to the exact flags used), and fixed issues that this raised.


### Bugfixes

- Fix incorrect caching behaviour of Index TfidfVectorizer builds.
This meant they got rebuilt every time, which meant in turn that the cache and therefore the model pack size grew after use.


### Improved Documentation

- Started using docformatter to automatically format docstrings, and tweak minor issues this brought up.
This will help us comply with PEP257 and be consistent across the codebase.


### Deprecations and Removals

- Removed various pieces of dead code.
These are very unlikely to have been used by end users, so not deprecating/doing a major version bump.
- Rename Type Alias JsonDictType to JsonEncodable - which is more straightforward/correct what it actually means.
This was used internally to Kazu rather than being expected to be used by end users, so no deprecation/major version bump.


## 1.0.2 - 2023-08-07


Expand Down
2 changes: 0 additions & 2 deletions docs/_changelog.d/+deadcode.removal.rst

This file was deleted.

2 changes: 0 additions & 2 deletions docs/_changelog.d/+docformatter.doc.rst

This file was deleted.

2 changes: 0 additions & 2 deletions docs/_changelog.d/+improvespacytokenization.feature.rst

This file was deleted.

2 changes: 0 additions & 2 deletions docs/_changelog.d/+jsontypehint.removal.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/_changelog.d/+spanfinderreturn.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/_changelog.d/+strictmypy.feature.rst

This file was deleted.

2 changes: 0 additions & 2 deletions docs/_changelog.d/+tfidfthashing.bugfix.rst

This file was deleted.

2 changes: 1 addition & 1 deletion kazu/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.0.2"
__version__ = "1.0.3"

0 comments on commit 472523e

Please sign in to comment.