Releases: microeinhundert/radonis
@microeinhundert/radonis@5.0.0
This is another major release that fixes many flaws in the static analysis implemented in the Radonis compiler.
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 thebuild
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
- Updated dependencies [
4fbcc6c
,3d5f284
,5c00c86
,573a79b
,4031b32
,9a1fe5c
,97f238d
,c7a59fb
,87c6921
,fafe5ba
,9f23f13
,4f44646
,7663090
]:- @microeinhundert/radonis-form@5.0.0
- @microeinhundert/radonis-hooks@5.0.0
- @microeinhundert/radonis-types@5.0.0
- @microeinhundert/radonis-shared@5.0.0
- @microeinhundert/radonis-server@5.0.0
- @microeinhundert/radonis-hydrate@5.0.0
@microeinhundert/radonis-unocss@5.0.0
@microeinhundert/radonis-types@5.0.0
Minor Changes
5c00c86
Thanks @microeinhundert! - Narrowed types for attributes on theHeadTag
interface.
@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-server@5.0.0
Minor Changes
-
9a1fe5c
Thanks @microeinhundert! - Changed default build script.Migration:
Change thebuild
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
@microeinhundert/radonis-query@5.0.0
@microeinhundert/radonis-hydrate@5.0.0
@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
@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
- Updated dependencies [
3d5f284
,5c00c86
,573a79b
,4031b32
,9a1fe5c
,c7a59fb
,87c6921
,fafe5ba
,9f23f13
,4f44646
,7663090
]:- @microeinhundert/radonis-hooks@5.0.0
- @microeinhundert/radonis-types@5.0.0
- @microeinhundert/radonis-shared@5.0.0
- @microeinhundert/radonis-server@5.0.0
- @microeinhundert/radonis-hydrate@5.0.0