Skip to content

Latest commit

 

History

History
118 lines (83 loc) · 3.93 KB

CHANGELOG.md

File metadata and controls

118 lines (83 loc) · 3.93 KB

What's New

country-coder is an open source project. You can submit bug reports, help out, or learn more by visiting our project page on GitHub: :octocat: https://github.com/rapideditor/country-coder

Please star our project on GitHub to show your support! ⭐️

Breaking changes, which may affect downstream projects, are marked with a ⚠️

5.3.0

2024-Jul-17
  • Support Sark/CQ in CLDR 43, Unicode 16 (#137)

5.2.2

2023-Sep-26
  • Include 'types' in export map (#133)

5.2.1

2023-Jul-12
  • Bump dependency versions
  • Adjust TW polygon to include Matsu and Wuqiu islands (#127, #128)

5.2.0

2023-Mar-12
  • Bump dependency versions
  • Switch country-coder to a scoped package under the rapideditor org: @rapideditor/country-coder
    • ⚠️ Note: projects that depend on country-coder may need to update their code

5.1.0

2022-Dec-09
  • Close seam along Swiss-German border (#61)
  • Make Ireland less spiky (#oci-528)
  • Bump dependency versions

5.0.4

2022-May-04
  • Avoid for..in over arrays (#59,#60)
  • Fix EU membership for France (#47,#55)
  • Add GB-UKM for UK Mainland (#52)

5.0.3

2021-Jun-24
  • Remove "browser" from the export map (#45)

5.0.2

2021-Jun-17
  • Add an export map to package.json, fix file extensions again

5.0.1

2021-Jun-15
  • Use explicit file extensions for .cjs and .mjs exports (#44)

5.0.0

2021-Jun-14
  • ⚠️ Replace microbundle with esbuild for super fast build speed. Outputs are now:
    • "source": "./src/country-coder.ts" - TypeScript source file
    • "types": "./dist/country-coder.d.ts" - TypeScript definition file
    • "main": "./dist/country-coder.cjs" - CJS bundle, modern JavaScript, works with require()
    • "module": "./dist/country-coder.mjs" - ESM bundle, modern JavaScript, works with import
    • "browser": "./dist/country-coder.iife.js" - IIFE bundle, modern JavaScript, works in browser <script> tag
    • Note: v4.1.0 was broken for some uses because of an improper "exports" specification (#44)
  • ⚠️ country-coder is marked as "type": "module" now
  • ⚠️ Dropped support for old browsers like Internet Explorer on https://ideditor.codes
  • Use TypeScript / ts-jest for testing (#43)

4.1.0

2021-Jun-04
  • country-coder now publishes various builds in UMD, CJS, ES6 Module thanks to microbundle
    • The UMD bundle works in the browser now too
  • Added functions for working with ccTLD (country code top-level internet domain) (#12)
  • Extract Crimea into its own feature out of European Russia (#15)
  • Move Chukchi Peninsula from European Russia to Asian Russia (#31)
  • Support bbox querying (#32)