This repository has been archived by the owner on Apr 27, 2023. It is now read-only.
Releases: Bas950/Language-Flag-Colors
Releases · Bas950/Language-Flag-Colors
2.1.2 - Improve ESM compatibility
2.1.1: Allow for OSX and Android code/locales when finding languages
Features
- Allow osx locale/code and android code when searching for a language (cc3904d)
Full Changelog: 2.1.0...2.1.1
2.1.0: ESM support!
2.0.4: correct emojis and getEmoji bug
Bug Fixes
- Correct country names and codes (40e69fe)
- getEmoji: Try to find a language with an emoji first (9a598b5)
- Remove incorrect emojis/add more accurate ones (1f1aac1)
Full Changelog: 2.0.2...2.0.4
2.0.3: add ALL missing emojis
2.0.2: add missing emojis
2.0.1: fix README
2.0.0: whole new language object
In this version there are a lot of breaking changes:
- Renamed
getColor
togetPrimaryBase10
- Renamed
gexHex
togetPrimaryHex
- Renamed
getRGB
togetPrimaryRGB
- Changed the
findLanguage
function (used in most methods to find the language) to support searching for ISO_639_(1/2/3) codes - Moved the
locale
property to an object calledids
in thelanguages
array - Renamed the
color
property tobase10
and placed it on an object calledprimaryColor
which is inside theflag
object - Moved the
hex
andrgb
properties to the sameprimaryColor
object inside theflag
object
The remaining features are listed below.
Documentation
- Support for new functions (8906fb2)
Features
- getGlottolog: Add function (0ca52cd)
- getOSXLocale: Add function (cf1a2c7)
- getOSXCode: Add function (9791501)
- getAndroidCode: Add function (f855891)
- getISO_639_3: Add function (165b6e5)
- getISO_639_2: Add function (e40ff58)
- getISO_639_1: Add function (2a348bc)
- getIds: Add function (c0cca5e)
- getPrimaryCMYK: Add function (7b885ce)
- getBase10FlagColors: Add function (30ebb48)
- getCMYKFlagColors: Add function (6e1b867)
- getRGBFlagColors: Add function (033e4c1)
- getHexFlagColors: Add function (6bdb0cd)
- getFlagColors: Add function (8f726e1)
- getImage: Add function (2c3f37d)
- getFlag: Add function (b4a3dc7)
- Changelog: Use git cliff with cliff config (9119357)
- Languages: Added new ids, flag colors, CMYK, and flag image (eb79ddc)
Refactor
Full Changelog: 1.2.0...2.0.0
1.2.0: nativeName and direction
1.1.1: typo fix and better country searching for getEmoji
In this release, we improved country searching in getEmoji to allow searching with country codes and also fixed spelling mistakes in the names of the getCountryLanguages and getRegionLanguages methods. If you were using these, please use your IDE's quick fix feature to fix the spelling mistakes.
Bug Fixes
Full Changelog: 1.1.0...1.1.1