Skip to content

Releases: LBeaudoux/iso639

v2.0.0

27 Aug 15:17
af1550e
Compare
Choose a tag to compare

Breaking change

  • Immutability of Lang. In order to be added into sets or used as dict keys, Lang instances must be hashable. As the hash of an instance needs to be predictable, Lang is now immutable.

New features

  • hashability of Lang
  • sortability of Lang (by name)
  • support of ISO 639-3 types
  • support of ISO 639-3 scopes
  • iter_langs iterator through all possible Lang instances

Bug fixes

  • not just invalid strings but any invalid argument passed to Lang raises an InvalidLanguageValue exception.
  • as long as they are compatible, positional and keyword arguments can be passed to Lang together.

v1.0.0

14 Aug 05:50
Compare
Choose a tag to compare

Release version 1.0.0

Features

  • Reduce package size by shipping only necessary data files
  • Extend the deprecated language exception

Bug Fixes

  • Reroute deprecated individual languages
  • Prevent infinite deprecation rerouting

v0.3.1

12 May 15:46
Compare
Choose a tag to compare

Release version 0.3.1

iso639-lang is now distributed with pre-built language mappings.

v0.3.0

23 Apr 09:26
d956c78
Compare
Choose a tag to compare
  • Support deprecated ISO 639-3 codes

v0.2.0

21 Apr 19:28
3509cc8
Compare
Choose a tag to compare
  • Navigation from ISO 639-3 macrolanguages to their individual languages, and vice versa.

v0.1.1

16 Apr 19:07
Compare
Choose a tag to compare

Update ISO 639-3 data

v0.1.0

14 Apr 15:59
af77405
Compare
Choose a tag to compare
  • add attribute indexing (e.g. you can call Lang("fr")["name"] in addition to Lang("fr").name)
  • allow instantiation with one or multiple compatible keyword arguments (e.g. Lang(pt1="fr", pt3="fra"))
  • expand ISO 639-2 support to languages not covered by ISO 639-3
  • add ISO 639-5 support
  • improve representation of Lang