Skip to content
This repository has been archived by the owner on Apr 27, 2023. It is now read-only.

Releases: Bas950/Language-Flag-Colors

2.1.2 - Improve ESM compatibility

20 Sep 20:08
a211d42
Compare
Choose a tag to compare

Refactor

  • Use gen-esm-wrapper for esm compatibility (f5dec65)

Full Changelog: 2.1.1...2.1.2

2.1.1: Allow for OSX and Android code/locales when finding languages

21 Aug 15:41
Compare
Choose a tag to compare

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!

19 Jun 15:09
62d745d
Compare
Choose a tag to compare

Features

Refactor

Full Changelog: 2.0.4...2.1.0

2.0.4: correct emojis and getEmoji bug

18 Jan 00:05
bec60e1
Compare
Choose a tag to compare

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

17 Jan 21:13
bbd22e4
Compare
Choose a tag to compare

Bug Fixes

  • Add ALL missing emojis (sorry) (201419d)

Full Changelog: 2.0.2...2.0.3

2.0.2: add missing emojis

17 Jan 20:39
c2a7938
Compare
Choose a tag to compare

Bug Fixes

Full Changelog: 2.0.1...2.0.2

2.0.1: fix README

01 Jan 19:03
Compare
Choose a tag to compare

Documentation

Full Changelog: 2.0.0...2.0.1

2.0.0: whole new language object

01 Jan 18:55
Compare
Choose a tag to compare

In this version there are a lot of breaking changes:

  • Renamed getColor to getPrimaryBase10
  • Renamed gexHex to getPrimaryHex
  • Renamed getRGB to getPrimaryRGB
  • 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 called ids in the languages array
  • Renamed the color property to base10 and placed it on an object called primaryColor which is inside the flag object
  • Moved the hex and rgb properties to the same primaryColor object inside the flag 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

  • index: Use functions from files (9c36893)
  • Move functions to their own files, tests too (ff8cc19)

Full Changelog: 1.2.0...2.0.0

1.2.0: nativeName and direction

28 Dec 19:15
Compare
Choose a tag to compare

Features

  • NativeName and direction (3b134b9)

Full Changelog: 1.1.1...1.2.0

1.1.1: typo fix and better country searching for getEmoji

30 Nov 19:32
04d1c80
Compare
Choose a tag to compare

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

  • getEmoji: improve country searching (31179f4)
  • typo in method names (8f5591c)

Full Changelog: 1.1.0...1.1.1