Skip to content

Releases: thorgate/tg-spa-utils

v1.0.0-beta.3

07 Mar 11:03
Compare
Choose a tag to compare
v1.0.0-beta.3 Pre-release
Pre-release
  • 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

07 Mar 11:05
Compare
Choose a tag to compare
v1.0.0-beta.2 Pre-release
Pre-release

tg-named-routes:

These changes are made to allow easier extension of the logic in tg-named-routes.

  • NamedLink: Add prop resolvePathFn to make it use a custom function instead of builtin resolvePath
  • NamedRedirect: Add prop resolvePathFn to make it use a custom function instead of builtin resolvePath
  • NamedRedirect: Add prop resolvePatternFn to make it use a custom function instead of builtin resolvePattern
  • buildUrlCache: allow providing a custom cleanMethod instead of builtin cleanPathName.
  • 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

07 Mar 11:04
71fbcef
Compare
Choose a tag to compare
v1.0.0-beta.1 Pre-release
Pre-release
  • 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

17 Apr 19:22
Compare
Choose a tag to compare
Pre-release
  • @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

23 Mar 21:28
Compare
Choose a tag to compare
Pre-release

Due to export issue @thorgate/spa-entities had wrong export types. DO NOT USE

  • Bump dependant package versions (Added support for react-router@v5 and react-redux@v7)
  • Add @thorgate/spa-entities-reducer
  • Add @thorgate/spa-pagination-reducer
  • Add @thorgate/spa-pagination

Version 1.0.0-alpha.28

23 Mar 21:25
Compare
Choose a tag to compare
Pre-release

Now using exact dependency matches for spa utils packages.

Version 1.0.0-alpha.23

17 Feb 11:19
Compare
Choose a tag to compare
Pre-release
  • 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

27 Nov 12:49
Compare
Choose a tag to compare
v1.0.0-alpha.1 Pre-release
Pre-release
  • 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

20 Oct 12:52
Compare
Choose a tag to compare

Add missing config.output.filename override to use [name] instead of bundle.

Version v0.1.0

20 Oct 12:51
Compare
Choose a tag to compare

Using base config optimization as a base to apply our rules upon.