- cd62939: Adding optional locale override
- 0bbb398: Bump the package version
- c21de8b: bump the version update
- 0bc5fbc: bump the version
- 8ce252e: Support mix of context and plural form
- eddf17e: Fix bug using a hook in the t function
- d3048ab: Fix React 18 compatibility by using explicit children prop in TranslationProvider
-
3c6181f: Breaking change: onError handler API:
- removing
REPLACE_ARGUMENT_NOT_FOUND
error - adding
REPLACE_ARGUMENT_NOT_PASSED
error
List of changes:
- Checking that all the specified parameters in the translation string are passed
- Stop triggering
onError
when passing the parameter that does not exist in the translation string - Changing the error type name
REPLACE_ARGUMENT_NOT_FOUND
->REPLACE_ARGUMENT_NOT_PASSED
- Removing
value
from the error data payload forREPLACE_ARGUMENT_NOT_PASSED
error
- removing
- 4b74c25: Fixing the error handling bug for
count
argument processing
- 42cdb72: Adding onError callback for arguments substitution errors
- d54c25b: Adding support for namespaces
- 8fd7dd9: Update readme with examples
- d8a6b82: Make public
- 4107522: V1 release
- 0e1a9cc: Exports translation context value interace
- 5b8b8a3: Fix publishing
- 51da9f3: Add support for changesets and github actions