Fix:
- fix react adapter #49
Fix:
- fix wrong types for react and svelte adapters
Fix:
- temporary fix for wrong tsc compilation for react and svelte adapters
- correctly set formatter path for react adapter
Feature
- add support for nested translation keys
- show colorized error-output in console
Fix:
- don't generate types when validation failed
Breaking:
- translation keys can't contain the '.' character
Other:
- don't generate type
TranslationKeys
anymore
- rename
watcher
togenerator
Fix
- inlude
detectors
files in npm package
Feature
- add locale-detection feature
Fix:
- use correct file extension when generating react context
Fix:
- fix path for generating schema file
- better type-definitions for formatter functions
Feature:
- add generateOnlyTypes option
- add identity formatter
- add ignore formatter
Readme:
- create FAQ section
Fix:
- wrap types of Formatters in a
string
to be able to use any kind of formatter name
Fix:
- mark
chokidar
as peer dependency
Fix:
- explicitly type parameter
locale
ininitFormatters
function
Fix:
- use path with implicit version for
"$schema"
in./typesafe-i18n.json
because redirects are not valid for json schemas
Feature:
- add json-schema for
./typesafe-i18n.json
config file
Examples:
- update dependencies
- update dependencies
Bugfix:
- better types for
TranslationFunctions
Fix:
- remove
.toString()
functionality #27
Feature:
- add support for plural rule
{{zero|one|other}}
Fix:
- detect
0
and'0'
always as'zero'
instead of'other'
Examples:
- update to latest
typesafe-i18n
version
Fix:
- mark node script as node executable
Examples:
- update to latest
typesafe-i18n
version
Fix:
- run watcher via
bin
-field inpackage.json
#30
Feature:
- add unix support for watcher #29
- add CHANGELOG file
Fix:
- add deprecation message for
.toString()
functionality #27
Features:
- add webpack plugin to run watcher in development mode
Bugfix:
- log watcher-options on startup
Readme:
- better describe watcher node-process as fallback for users without supported bundlers
Examples:
- update to latest
typesafe-i18n
version
Fix:
- remove a unecessary semicolumn from generated output
- update dependencies
- upload generated browser bundles as GitHub Action artifact
Feature:
- allow to include only selected locales into generated bundle using the rollup-plugin
Fix:
- use
baseLocale
variable as fallback instead of plain string representation insidei18n-util.ts
Readme:
- better describe
locales
option from production bundles
Bugfix:
- correctly type
initI18nString
insidei18n-util.ts
Readme:
- describe
toString
functionality usingi18nObject
(LL)
Feature;
- add
toString
functionality toi18nObject
(LL)
Readme:
- update size information
Readme:
- fix intendation
Feature:
- refactor
typesafe-i18n
react-component
Security:
- update dependencies
Examples:
- fix intendation and syntax-highlighting in react README
Readme:
- better describe
rollup-plugin-typesafe-i18n
Examples:
- describe how to use with JavaScript in react README
Feature:
- rewrite react adapter using a component instead of hook
Fix:
- use wattcher or optimizer rollup plugin depending on rollup environment
Feature:
- add react JavaScript adapter
Fix:
- generate async
i18nString
wrapper insidei18n-utils.ts
Examples:
- fix intendation in react README
Examples:
- add react example
Feature:
- add react TypeScript adapter
Readme:
- improve screenshots by cropping VS Code frame
Readme:
- highlight possible improvements
Feature:
- remove argument-types inside translations for production-bundle #13
Examples:
- fix labels in svelte example
Examples:
- update to latest
typesafe-i18n
version
Fix:
- import svelte adapter from correct file
Fix:
- export svelte JavaScript adapter
Feature:
- generate async formatters initializer
Fix:
- rename exported functions
Readme:
- decrease gif file size
Fix:
- reduce bundle size by inlining functions from
typesafe-utils
Readme:
- fix formatter example
Readme:
- add status badges
Readme:
- highlight advantages
- add table of contents
- add performance section
Readme:
- improvements
Readme:
- improvements
Readme:
- increase font size of images
Fix:
- export svelte store from adapters subpath
Readme:
- increase font size of images
Readme:
- add gif demonstrating typesafety
Readme:
- link immages to correct raw file
Readme:
- add images demonstrating typesafety
Feature:
- allow first part to be plural part when using keyed arguments
Feature:
- allow translations with only plural part
Readme:
- specify minimum Node.js version
Examples:
- add browser example
- describe how to use with JavaScript in svelte README
Feature:
- export svelte JavaScript store
Readme:
- improvements
Fix:
- add export maps for svelte adapter
Examples:
- add Node.js readme
Examples:
- add Node.js example
Feature:
- export base locale in
i18n-utils.ts
Fix:
- improve Node.js adapter
Examples:
- update svelte-Example
Examples:
- move svelte documentation to svelte example
Feature:
- use base locale as fallback if wrong locale was passed during initialization
Feature:
- add Node.js adapter
- add possibility to define different adapters
- allow to rename adapter file name
Examples:
- add readme for svelte example
Examples:
- add svelte example
Bugfix:
- dont throw Error when
setLocale
is called beforeinit
in svelte-adapter
Bugfix:
- correctly set current selected locale in svelte store
- add possibility to output svelte as synchronous store
Bugfix:
- fix synchronous output of
i18n-utils.ts
- initial release of project under
typesafe-i18n
name