Skip to content

Releases: microeinhundert/radonis

@microeinhundert/radonis@5.0.0

03 Feb 19:00
Compare
Choose a tag to compare

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 undocumented useFormField hook.

  • 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:

    • useI18n: formatMessage -> formatMessage$
    • useFlashMessages: get -> get$, has -> has$
    • useUrlBuilder: make -> make$
    • <Form> and useForm: action -> action$
    • useRoute: isCurrent -> isCurrent$.

    See the documentation to learn more.

  • 4f44646 Thanks @microeinhundert! - Renamed fetch$ utility to radonisFetch.

Minor Changes

  • 9a1fe5c Thanks @microeinhundert! - Changed default build script.

    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.

  • c7a59fb Thanks @microeinhundert! - Restricted buildOptions type.

  • f8d2206 Thanks @microeinhundert! - Added token$ utility function.

Patch Changes

@microeinhundert/radonis-unocss@5.0.0

03 Feb 19:00
Compare
Choose a tag to compare

Patch Changes

@microeinhundert/radonis-types@5.0.0

03 Feb 19:00
Compare
Choose a tag to compare

Minor Changes

@microeinhundert/radonis-shared@5.0.0

03 Feb 19:00
Compare
Choose a tag to compare

Major Changes

Minor Changes

@microeinhundert/radonis-server@5.0.0

03 Feb 19:00
Compare
Choose a tag to compare

Minor Changes

  • 9a1fe5c Thanks @microeinhundert! - Changed default build script.

    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.

  • c7a59fb Thanks @microeinhundert! - Restricted buildOptions type.

  • fafe5ba Thanks @microeinhundert! - Improved strictness.

Patch Changes

  • Updated dependencies [5c00c86, 573a79b, fafe5ba, 4f44646]:
    • @microeinhundert/radonis-types@5.0.0
    • @microeinhundert/radonis-shared@5.0.0
    • @microeinhundert/radonis-build@5.0.0

@microeinhundert/radonis-query@5.0.0

03 Feb 19:00
Compare
Choose a tag to compare

Patch Changes

@microeinhundert/radonis-hydrate@5.0.0

03 Feb 19:00
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies [5c00c86, 573a79b, 9a1fe5c, c7a59fb, fafe5ba, 4f44646]:
    • @microeinhundert/radonis-types@5.0.0
    • @microeinhundert/radonis-shared@5.0.0
    • @microeinhundert/radonis-server@5.0.0
    • @microeinhundert/radonis-build@5.0.0

@microeinhundert/radonis-hooks@5.0.0

03 Feb 19:00
Compare
Choose a tag to compare

Major Changes

  • 3d5f284 Thanks @microeinhundert! - Renamed make method on the useUrlBuilder hook to make$.

  • 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.

Minor Changes

Patch Changes

  • Updated dependencies [5c00c86, 573a79b, 9a1fe5c, c7a59fb, fafe5ba, 4f44646]:
    • @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-form@5.0.0

03 Feb 19:00
Compare
Choose a tag to compare

Major Changes

Patch Changes

@microeinhundert/radonis-build@5.0.0

03 Feb 19:00
Compare
Choose a tag to compare

Minor Changes

Patch Changes

  • Updated dependencies [5c00c86, 573a79b, 4f44646]:
    • @microeinhundert/radonis-types@5.0.0
    • @microeinhundert/radonis-shared@5.0.0