Skip to content

Latest commit

 

History

History
349 lines (205 loc) · 9.5 KB

CHANGELOG.md

File metadata and controls

349 lines (205 loc) · 9.5 KB

Changelog

All notable changes to this project will be documented in this file.

This project uses a modified semantic versioning scheme. See README for more details.

Fixed/Changed

Fixed/Changed

  • Convert some enums to non-const for use at runtime

Fixed/Changed

Fixed/Changed

  • Fix for spaces in Japanese unit patterns

Fixed/Changed

  • Clamp all dates to our bounded range for Julian days

Fixed/Changed

  • Fix bug in default calendar selection
  • Fix bug in generating Finnish timezones

Fixed/Changed

  • Upgrade to CLDR v44
  • Upgrade to Typescript 5.3.2
  • Created LocaleResolver class to split a merged declaration with the Locale interface.

Fixed/Changed

  • Fixed context bug affecting datetime intervals.

Fixed/Changed

  • Patch display name for ajp language in English locales.

Fixed/Changed

Fixed/Changed

Added

  • Added message formatting option to disable apostrophe escapes.

Fixed/Changed

Fixed/Changed

  • Add Calendars.timeData method to fetch preferred and allowed hour cycle skeletons.

Fixed/Changed

  • Add long/short timezone names to timeZoneInfo results.

Fixed/Changed

  • Enhanced type safety for unit factor conversions.

Fixed/Changed

  • Fixed missing node-fetch runtime dependency for @phensley/cldr-compiler package.

Fixed/Changed

Fixed/Changed

Fixed/Changed

Fixed/Changed

Fixed/Changed

Fixed/Changed

Fixed/Changed

  • Fixed internal package dependencies. Packages must depend on others from the same patch level.

[1.3.2]

Fixed/Changed

  • Fixed internal package dependencies. Packages must depend on others from the same patch level.

Fixed/Changed

  • Set inlineSources: true to add Typescript source code to source maps.

Fixed/Changed

Fixed/Changed

  • Convert some enums to non-const for use at runtime

Fixed/Changed

  • Backport: Fix for spaces in Japanese unit patterns
  • Backport: Clamp all dates to our bounded range for Julian days

Fixed/Changed

  • Fix interval date formatter context

Fixed/Changed

  • Fixed imports in type declaration files

Added

  • Add option to disabled escapes in message formatter

Fixed/Changed

  • Removed unused parameter on timeData method.

Fixed/Changed

  • Add Calendars.timeData method to fetch preferred and allowed time cycles.

Fixed/Changed

  • Add long/short timezone names to timeZoneInfo results.

Fixed/Changed

  • Build improvements.

Fixed/Changed

  • Fix parsing of extended language subtag.
  • Ping all dependencies to same minor version.

Fixed/Changed

  • Set inlineSources: true to add Typescript source code to source maps.

Fixed/Changed

Added

  • The cldr-compiler pack command now includes the ability to apply patches to the resource packs, allowing you to replace CLDR values with your own. See the included example.
  • A new command cldr-compiler schema will dump the CLDR data schema used to generate resource packs. This is helpful in identifying the full path to a value you may want to patch.

Fixed/Changed

  • Fix types for character/line order.
  • Use default JSON export for version string.

Added

  • Methods on CalendarDate for ISO weeks.

Fixed/Changed

Added

  • The phensley/timezone package includes a new TZ.zoneMeta method to return metadata for a timezone. This can be useful for displaying user interfaces for choosing a timezone. The new properties are:

    • stdoffset - Current standard offset, in milliseconds.
    • latitude - Latitude to 6 decimal places, for the timezone's "principal location"
    • longitude - Latitude to 6 decimal places, for the timezone's "principal location"
    • countries - List of ISO 3166 2-letter country codes for countries which overlap the timezone.
  • The cldr.Calendars.timeZoneInfo result TimeZoneInfo now includes the same properties as TZ.zoneMeta above, plus the following property:

Fixed/Changed

  • Use tslib ^1.13.0

Fixed/Changed

  • Project now uses standard semantic versioning, see README
  • All @phensley/* package interdependencies now use the ^x.x.x constraint.
  • Removed the internal package @phensley/cldr-schema, merging its code into @phensley/cldr-core.
  • Switched from tslint to eslint.
  • Modified checksum so that resource packs are now compatible at the patch level. Resource packs must match the major.minor version of the @phensley/cldr-core package at runtime to ensure schema compatibility.