Skip to content

Releases: mideind/BinPackage

Version 1.1.1

11 Dec 18:55

Choose a tag to compare

Bug Fix

Fix UnicodeEncodeError for non-Latin-1 characters in DAWG lookups

Words containing characters outside the Latin-1 encoding (such as Polish words with ł or ę) would cause a UnicodeEncodeError when passed to the DAWG lookup functions (__contains__ and find_combinations).

This release gracefully handles such words by:

  • Returning False from __contains__ for words with non-Latin-1 characters
  • Returning an empty list from find_combinations for such words

This allows the library to safely process text that may contain non-Icelandic words without crashing.

Version 1.1.0

13 Nov 15:59

Choose a tag to compare

  • Performance improvements: C++ implementations of lookup_id(), lemma_forms(), and DawgDictionary with significant speedups
  • Hash-based deduplication in lookup_id() for faster duplicate detection
  • Python Stable ABI (abi3) support for portable CPython wheels across Python 3.9-3.14+
  • Updated with latest BÍN data
  • CFFI upgraded to >=1.17.1
  • PyPy 3.11 support (dropped PyPy 3.9/3.10 - end of life)
  • Optimized wheel builds with shared data preparation in CI

Full Changelog: 1.0.4-7...1.1.0

Version 1.0.4

27 Aug 15:13

Choose a tag to compare

  • Updated with latest BÍN data
  • Explicit support for Python 3.14 and PyPy 3.11
  • Project metadata migrated to pyproject.toml
  • Minor refactoring, including improvements to BÍN data sanitation

Full Changelog: 1.0.3-4...1.0.4-7

Version 1.0.3

26 Aug 20:29

Choose a tag to compare

  • Explicit support for Python 3.13
  • Now requires Python 3.9+
  • Minor vocabulary tweaks
  • Project metadata now in pyproject.toml

Full Changelog: 1.0.2...1.0.3-4

Version 1.0.2

08 Aug 14:43

Choose a tag to compare

  • Minor tweak

Version 1.0.1

07 Aug 20:57

Choose a tag to compare

  • Various minor tweaks and fixes
  • Updated with latest BÍN data

Full Changelog: 1.0.0...1.0.1

Version 1.0.0

20 Nov 16:31

Choose a tag to compare

  • Version bumped from 0.4.8 to 1.0.0 to reflect that at this point this is mature, battle-tested software
  • Binary wheels now provided for CPython 3.12
  • Added get_compound function which looks up a word in the database and returns its meaning(s), prioritizing returning its compound structure
  • Updated with latest BÍN data

Full Changelog: 0.4.8...1.0.0

Version 0.4.8

11 Aug 17:03

Choose a tag to compare

  • Updated with latest BÍN data
  • Now requires Python 3.8 or later

Full Changelog: 0.4.7...0.4.8

Version 0.4.7

28 Jun 10:53

Choose a tag to compare

Version 0.4.6

12 Jan 13:27

Choose a tag to compare

  • Upgraded BÍN source data to the latest version from Stofnun Árna Magnússonar í íslenskum fræðum