This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
87c6921 Thanks @microeinhundert! - Removed allErrors, hasError, hasAnyError and getError utility methods from the useFlashMessages hook. Use all, has, hasAny and get instead.
1008ab5 Thanks @microeinhundert! - Revised the way static analysis is performed. Instead of extracting identifiers from specifically named snippets of code, Radonis now looks for any function call, object property or JSX property whose name ends with a dollar sign $. This has the advantage of simplifying static analysis and reducing edge cases, but also gives you more flexibility. Any function call, object property or JSX property in your codebase will now be statically analysed if it ends with a dollar sign. This convention also makes it clearer to the reader what is statically analysed and what is not.
Migration:
Change the build script in package.json to npm run build:server && npm run build:client". This ensures that the two build steps are performed in order.
4031b32 Thanks @microeinhundert! - Renamed formatMessage method on the useI18n hook to formatMessage$.
87c6921 Thanks @microeinhundert! - Removed allErrors, hasError, hasAnyError and getError utility methods from the useFlashMessages hook. Use all, has, hasAny and get instead.
9f23f13 Thanks @microeinhundert! - Renamed ìsCurrent method on the useRoute hook to isCurrent$.
7663090 Thanks @microeinhundert! - Renamed has and get methods on the useFlashMessages hook to has$ and get$ respectively.
Migration:
Change the build script in package.json to npm run build:server && npm run build:client". This ensures that the two build steps are performed in order.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@microeinhundert/radonis@5.0.0
Major Changes
97f238d
Thanks @microeinhundert! - Removed the undocumenteduseFormField
hook.87c6921
Thanks @microeinhundert! - RemovedallErrors
,hasError
,hasAnyError
andgetError
utility methods from theuseFlashMessages
hook. Useall
,has
,hasAny
andget
instead.1008ab5
Thanks @microeinhundert! - Revised the way static analysis is performed. Instead of extracting identifiers from specifically named snippets of code, Radonis now looks for any function call, object property or JSX property whose name ends with a dollar sign$
. This has the advantage of simplifying static analysis and reducing edge cases, but also gives you more flexibility. Any function call, object property or JSX property in your codebase will now be statically analysed if it ends with a dollar sign. This convention also makes it clearer to the reader what is statically analysed and what is not.Migration:
useI18n
:formatMessage
->formatMessage$
useFlashMessages
:get
->get$
,has
->has$
useUrlBuilder
:make
->make$
<Form>
anduseForm
:action
->action$
useRoute
:isCurrent
->isCurrent$
.See the documentation to learn more.
4f44646
Thanks @microeinhundert! - Renamedfetch$
utility toradonisFetch
.Minor Changes
9a1fe5c
Thanks @microeinhundert! - Changed default build script.Migration: Change the
build
script inpackage.json
tonpm run build:server && npm run build:client"
. This ensures that the two build steps are performed in order.c7a59fb
Thanks @microeinhundert! - Restricted buildOptions type.f8d2206
Thanks @microeinhundert! - Addedtoken$
utility function.Patch Changes
4fbcc6c
,3d5f284
,5c00c86
,573a79b
,4031b32
,9a1fe5c
,97f238d
,c7a59fb
,87c6921
,fafe5ba
,9f23f13
,4f44646
,7663090
]:@microeinhundert/radonis-form@5.0.0
Major Changes
4fbcc6c
Thanks @microeinhundert! - Renamedaction
property on theuseForm
hook and theForm
component toaction$
.97f238d
Thanks @microeinhundert! - Removed the undocumenteduseFormField
hook.Patch Changes
3d5f284
,5c00c86
,573a79b
,4031b32
,9a1fe5c
,c7a59fb
,87c6921
,fafe5ba
,9f23f13
,4f44646
,7663090
]:@microeinhundert/radonis-hooks@5.0.0
Major Changes
3d5f284
Thanks @microeinhundert! - Renamedmake
method on theuseUrlBuilder
hook tomake$
.4031b32
Thanks @microeinhundert! - RenamedformatMessage
method on theuseI18n
hook toformatMessage$
.87c6921
Thanks @microeinhundert! - RemovedallErrors
,hasError
,hasAnyError
andgetError
utility methods from theuseFlashMessages
hook. Useall
,has
,hasAny
andget
instead.9f23f13
Thanks @microeinhundert! - RenamedìsCurrent
method on theuseRoute
hook toisCurrent$
.7663090
Thanks @microeinhundert! - Renamedhas
andget
methods on theuseFlashMessages
hook tohas$
andget$
respectively.Minor Changes
fafe5ba
Thanks @microeinhundert! - Improved strictness.Patch Changes
5c00c86
,573a79b
,9a1fe5c
,c7a59fb
,fafe5ba
,4f44646
]:@microeinhundert/radonis-shared@5.0.0
Major Changes
4f44646
Thanks @microeinhundert! - Renamedfetch$
utility toradonisFetch
.Minor Changes
573a79b
Thanks @microeinhundert! - Improved handling of boolean attributes.@microeinhundert/radonis-build@5.0.0
Minor Changes
fafe5ba
Thanks @microeinhundert! - Improved strictness.Patch Changes
5c00c86
,573a79b
,4f44646
]:@microeinhundert/radonis-server@5.0.0
Minor Changes
9a1fe5c
Thanks @microeinhundert! - Changed default build script.Migration: Change the
build
script inpackage.json
tonpm run build:server && npm run build:client"
. This ensures that the two build steps are performed in order.c7a59fb
Thanks @microeinhundert! - Restricted buildOptions type.fafe5ba
Thanks @microeinhundert! - Improved strictness.Patch Changes
5c00c86
,573a79b
,fafe5ba
,4f44646
]:@microeinhundert/radonis-types@5.0.0
Minor Changes
5c00c86
Thanks @microeinhundert! - Narrowed types for attributes on theHeadTag
interface.@microeinhundert/radonis-hydrate@5.0.0
Patch Changes
5c00c86
,573a79b
,9a1fe5c
,c7a59fb
,fafe5ba
,4f44646
]:@microeinhundert/radonis-query@5.0.0
Patch Changes
573a79b
,9a1fe5c
,97f238d
,c7a59fb
,87c6921
,1008ab5
,4f44646
,f8d2206
]:@microeinhundert/radonis-unocss@5.0.0
Patch Changes
573a79b
,9a1fe5c
,97f238d
,c7a59fb
,87c6921
,1008ab5
,4f44646
,f8d2206
]: