- chore: update devDeps and lint (note: need transpiler for capturing groups)
- fix: revert to
file-fetch
1.6.1 for allowing working where globalURL
is overwritten (as currently needed intypeson-registry
)
- fix: Make
I18NCallback
type generic
- feat: export
Sort
,List
,SortList
, andI18NCallback
types
- BREAKING: feat: Add TS typings
- BREAKING: feat:
defaults
must now be encapsulated in abody
, allowing now forhead
as well - BREAKING: feat: use
defaultLocales
to provide fall-back strings - feat: If locales missing, throw with the supplied locales named
- feat: support array keys (removes
validator
)
- feat: support
plainNested
message style - feat: allow non-string keys by passing in a custom validator to
getStringFromMessageAndDefaults
- chore: update devDeps.
- chore: update per latest ESLint
- test: update ignore comment for Node and global fetch
- test: update tests per timezone
- BREAKING feat: Native ESM with
exports
- chore: update
file-fetch
(minor) andjson-6
(patch) - chore: update devDeps.
- npm: Update devDeps. (dropping vulnerabilties)
- npm: Bump devDeps. (which formerly had problem with peerDeps.)
- Fix: Ensure build files updated
- Fix: Allow timestamp for
date:
withoutarg
.
- Enhancement: Support number (timestamps) for date ranges.
- Fix: Ensure that
i18n
, as withgetStringFromMessageAndDefaults
, allows for empty string value keys
- Fix: Ensure Git tag reflects package
- npm: Update lock
- Fix: Properly push
key
for 0.12.1 fix
- Fix: Include 0.12.1 improvements in
dist
- Fix: Ensure all function-type
substitutions
are trusted
- Enhancement: Add
setJSONExtra
export to avoid global usage - Docs: Consistent
node_modules
path - Docs: Update license badge per latest
- npm: Update
file-fetch
(minor)
Dev-facing:
- npm: Add
lint
script - npm: Update devDeps.
- npm: Update
file-fetch
(minor),json-6
(minor) - Docs: Update info on JSON-6 in the browser
Dev-facing:
- Linting: As per latest ash-nazg
- npm: Update devDeps.
- npm: Update from deprecated
babel-eslint
and use@brettz9/node-static
fork without reported vulnerabilities
- Enhancement: Support
Intl.DisplayNames
types (region, language, script, currency) - Enhancement: Support
dateRange
- Docs: Update badges per latest updates
- Linting (ESLint): As per latest ash-nazg
- Testing: Fix browser tests
- npm: Add
prepublishOnly
script - npm: Update from deprecated
rollup-plugin-babel
to@rollup/plugin-babel
(and makebabelHelpers
explicit) - npm: Use stable
mocha-multi-reporters
- npm: Update json-6 and devDeps.
- Enhancement: Return server from
findMatchingLocaleServer
- Update: API as per latest
intl-pluralrules
- Linting: As per latest ash-nazg
- Docs: Update license badge dev per latest updates (
chai-dom
now has proper MIT license meta-data) - Docs: Add filesize badge
- Testing: Ensure properly closing server (so tests will exit without need for
process.exit()
as added to mocha-multi-reporters fork) - npm: Point to now merged
mocha-badge-generator
- npm: Update devDeps
- Build: Update as per latest rollup (no changes from browserify)
- Docs: Update coverage and tests badges
- Docs: Add license badges
- npm: Update json6 dep.
- npm: Update devDeps.
- Enhancement: Add
setFetch
/getFetch
to avoid need for a globalfetch
in Node - Enhancement: Add
setDocument
/getDocument
to avoid need for a globaldocument
in Node
- Enhancement: Give synchronous
getMatchingLocale
utility for, e.g., stripping hyphens recursively to find a match - Linting (ESLint): Add
fintechstudios/eslint-plugin-chai-as-promised
and fix accordingly - Linting (ESLint): Add
eslint-plugin-mocha
and fix accordingly - Linting (ESLint): Add
eslint-plugin-mocha-cleanup
- Linting (ESLint): Check
.eslintrc.js
file; addeslint-plugin-chai-expect-keywords
- Linting: As per latest ash-nazg (remove now extraneous disable directve)
- Linting: Include
.mocharc.js
file - Testing: Fix Node tests (run script
intl-mocha
) to ensure its bootstrapping environment directly loads thePluralRules
shim rather than going through the polyfill detection code (which does not do full detection ofmaximumFractionDigits
support and instead will avoid polyfilling when finding the incompletePluralRules
implementation). - npm: Clarify message in script
- npm: Update devDeps and
package-lock.json
- Enhancement: Extract out and export
i18nServer
- Linting (ESLint): Per latest ash-nazg
- Testing: Use
mocha-multi-reporters
to produce badge with test results - Docs: Switch to
mocha-badge-generator
for tests badge - Docs: Add
IssueHunt
badge - npm: Bump dep. (
file-fetch
) - npm: Update
package-lock.json
- npm: Update devDeps
- Fix:
json-6
should have been dep. - Build: Use plain module specifier despite it breaking browser test as nyc + esm currently needs this to work in Node 12
- Docs: Locally built Mocha and coverage badges
- Testing: Fix for ESM
- npm: Update devDeps
- Build: Update build files (for
list
addition) - npm: Update devDeps
- Enhancement: Expose
list
oni18n
return function (_
). - Testing: Coverage for part of nested switch missing; ignore
performance
testing - npm: Update
rollup
/rolup-plugin-terser
devDeps.
- Security fix:
defaultLocaleResolver
should not allow special characters
- Robust initial version (see git history)
- Initial version