All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Changelog structure
- Update ISO 639 data incorporating approved changes of 2023 series, 2024 Quarter 2, and 2024 Quater 3
- Interface of
Languages.search
changed. See #123 for more details.- Argument
case_sensitive
has been removed. - Argument
pattern
can no longer be String. Its type has to beRegexp
- Argument
- Deprecate
Languages.ancient
as this "type of individual languages" has been removed by the maintenance agency and (probably) merged with extinct type.
- Support for Ruby v2.7
- Support for Ruby v3.0
- Support / Tests for Ruby 3.3 (thanks to @sandbergja)
- Add
macrolanguage
reference for languages of scopeindividual
that belong to a macrolanguage. - Add overview table in README about related and similar gems.
- Add option to search language by name case insensitively.
- Installation instruction in README: wrong gem name, correct is
human_languages
- Update ISO 639 data incorporating approved 2022 changes.
- Name of gem
languages
->human_languages
- Language's attribute
scope
is now a Symbol (previously String) - Language's attribute
type
is now a Symbol (previously String)
- Single language lookup via
Languages[...]
is now case insensitive - Extend README
- Repository is no REUSE compliant
Languages.names
interface, providing all reference namesLanguages.alpha2_codes
interface, providing all ISO 639-1 codesLanguages.alpha3_codes
interface, providing all ISO 639-3 codes
Languages.search
interface, taking String or Regex pattern
- Make Language objects comparable
- Equality of Language objects only depends on their
iso639-3
attribute, that is unique
- Extend ruby signatures
- Setting
:id
aka.iso639-3
tonil
is no longer possible (was never intended)
- ruby signatures
- Extend doc comments for Language's private methods
- Language's compare method
<=>
- Initial release