Releases: thorgate/tg-spa-utils
Releases · thorgate/tg-spa-utils
v1.0.0-beta.3
- Add tg-i18n-named-routes which is a drop-in extension of tg-named-routes that provides language specific named routes in collaboration with react-i18next. See documentation here.
v1.0.0-beta.2
tg-named-routes:
These changes are made to allow easier extension of the logic in tg-named-routes.
NamedLink
: Add propresolvePathFn
to make it use a custom function instead of builtinresolvePath
NamedRedirect
: Add propresolvePathFn
to make it use a custom function instead of builtinresolvePath
NamedRedirect
: Add propresolvePatternFn
to make it use a custom function instead of builtinresolvePattern
buildUrlCache
: allow providing a customcleanMethod
instead of builtincleanPathName
.- Add method
getUrlMapCache
which returns a copy of the current urlMapCache.
The following packages are updated to depend on the new version of tg-named-routes
:
- @thorgate/spa-components
- @thorgate/spa-entities
- @thorgate/spa-errors
- @thorgate/spa-forms
- @thorgate/spa-pagination
- @thorgate/spa-permissions
- @thorgate/spa-view-manager
- @thorgate/spa-view
v1.0.0-beta.1
- Add razzle-plugin-modify-eslint-loader-config which allows one to modify the eslint loader config created by razzle. By default it changes the configuration to only show eslint errors in console instead of failing the build. See more here.
Version 1.0.0-alpha.34
@thorgate/spa-entities
Update typings to correctly with string or numeric IDs@thorgate/create-resource-saga
Fix payload method not used with resource option
Version 1.0.0-alpha.30
Due to export issue @thorgate/spa-entities
had wrong export types. DO NOT USE
- Bump dependant package versions (Added support for
react-router@v5
andreact-redux@v7
) - Add
@thorgate/spa-entities-reducer
- Add
@thorgate/spa-pagination-reducer
- Add
@thorgate/spa-pagination
Version 1.0.0-alpha.28
Now using exact dependency matches for spa utils packages.
Version 1.0.0-alpha.23
- Add option to clone resource sagas to exchange options. Defaults to initial configuration options.
- Fix
asInitialWorker
was not compatible with@thorgate/spa-view-manager
. Errors need to bubble up for error handling to work correctly - Improve typing for resource sagas
- Add documentation for resource saga options
- Make sure
tsc
does not remove comments
v1.0.0-alpha.1
- Add example app's
- Add
tg-loading-bar
package - Add
tg-named-routes
package - Add
tg-saga-manager
package - Add
@thorgate/spa-components
package - Add
@thorgate/spa-errors
package - Add
@thorgate/spa-permissions
package - Add
@thorgate/spa-pending-data
package - Add
@thorgate/spa-view
package - Add
@thorgate/spa-view-manager
package - Update documentation
Version v0.1.1
Add missing config.output.filename
override to use [name]
instead of bundle
.
Version v0.1.0
Using base config optimization
as a base to apply our rules upon.