Skip to content

Releases: microeinhundert/radonis

@microeinhundert/radonis-hooks@4.0.2

28 Jan 13:25
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies [6522fb6, 50d762f]:
    • @microeinhundert/radonis-server@4.0.2
    • @microeinhundert/radonis-shared@4.0.2
    • @microeinhundert/radonis-hydrate@4.0.2

@microeinhundert/radonis-hooks@4.0.1

28 Jan 12:23
Compare
Choose a tag to compare

Patch Changes

  • c6fc095 Thanks @microeinhundert! - Fix build not running when not in watch mode

  • Updated dependencies [c6fc095]:

    • @microeinhundert/radonis-shared@4.0.1
    • @microeinhundert/radonis-hydrate@4.0.1
    • @microeinhundert/radonis-server@4.0.1
    • @microeinhundert/radonis-types@4.0.1

@microeinhundert/radonis-hooks@4.0.0

28 Jan 10:40
Compare
Choose a tag to compare

Minor Changes

Patch Changes

  • a40335c Thanks @microeinhundert! - Refactored internal exceptions

  • Updated dependencies [a40335c, e1fd598, 33fd7d0]:

    • @microeinhundert/radonis-hydrate@4.0.0
    • @microeinhundert/radonis-server@4.0.0
    • @microeinhundert/radonis-shared@4.0.0
    • @microeinhundert/radonis-types@4.0.0

@microeinhundert/radonis-form@4.0.2

28 Jan 13:25
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies [6522fb6, 50d762f]:
    • @microeinhundert/radonis-server@4.0.2
    • @microeinhundert/radonis-shared@4.0.2
    • @microeinhundert/radonis-hooks@4.0.2
    • @microeinhundert/radonis-hydrate@4.0.2

@microeinhundert/radonis-form@4.0.1

28 Jan 12:23
Compare
Choose a tag to compare

Patch Changes

  • c6fc095 Thanks @microeinhundert! - Fix build not running when not in watch mode

  • Updated dependencies [c6fc095]:

    • @microeinhundert/radonis-shared@4.0.1
    • @microeinhundert/radonis-hooks@4.0.1
    • @microeinhundert/radonis-hydrate@4.0.1
    • @microeinhundert/radonis-server@4.0.1
    • @microeinhundert/radonis-types@4.0.1

@microeinhundert/radonis-form@4.0.0

28 Jan 10:40
Compare
Choose a tag to compare

Minor Changes

Patch Changes

  • a40335c Thanks @microeinhundert! - Refactored internal exceptions

  • Updated dependencies [a40335c, e1fd598, 33fd7d0]:

    • @microeinhundert/radonis-hydrate@4.0.0
    • @microeinhundert/radonis-server@4.0.0
    • @microeinhundert/radonis-shared@4.0.0
    • @microeinhundert/radonis-hooks@4.0.0
    • @microeinhundert/radonis-types@4.0.0

@microeinhundert/radonis-build@4.0.2

28 Jan 13:25
Compare
Choose a tag to compare

Patch Changes

@microeinhundert/radonis-build@4.0.1

28 Jan 12:23
Compare
Choose a tag to compare

Patch Changes

  • 4ec0799 Thanks @microeinhundert! - Temporarily disable minifaction in production mode

  • c6fc095 Thanks @microeinhundert! - Fix build not running when not in watch mode

  • Updated dependencies [c6fc095]:

    • @microeinhundert/radonis-shared@4.0.1
    • @microeinhundert/radonis-types@4.0.1

@microeinhundert/radonis-build@4.0.0

28 Jan 10:40
Compare
Choose a tag to compare

Minor Changes

Patch Changes

@microeinhundert/radonis@3.0.0

22 Jan 11:00
Compare
Choose a tag to compare

Major Changes

  • #29 b4b756d Thanks @microeinhundert! - The way hydration works has been reworked. Defining islands (hydratable components) and client entry files is now done by convention rather than configuration.
    This change comes with a few small migration steps, outlined below.

    In short:

    • Rename hydratable to island
    • Suffix files containing islands with .island.<ext>
    • Remove entryFile, alwaysIncludeEntryFile and componentsDir from config/radonis.ts.

    More in depth:

    • The hydratable function, which wraps all your hydratable components, has been renamed to island. Also, all files containing islands must now end with .island.<ext>, which means that a file currently named Button.tsx must now be named Button.island.tsx for the compiler to pick up islands defined in those files. These changes also fix some edge cases that were present in previous versions of Radonis: A single file can now contain multiple islands. The only requirements are that islands must be contained within .islands.<ext> files, be wrapped with island and have a unique identifier passed as the first argument to the island call.
    • All files ending in .client.<ext> are now considered to be entry files for the client bundle. This means that the client entry file (by default entry.client.ts) can be located anywhere and named anything you like, as long as it's in the resources directory. This also means that you can have multiple client entry files.

    Because of these changes, entryFile, alwaysIncludeEntryFile and componentsDir can be removed from config/radonis.ts.

  • 1513f21 Thanks @microeinhundert! - Aligned route resolution to match the behavior of the AdonisJS core.

    Migration:
    If routes have a name set via .as() or are part of a resource, make sure that this name is used to reference that route within Radonis.
    Run node ace list:routes to get a list of all your routes and their names. The name is the first value on the right, before the symbol.
    If routes have no name, use the handler instead which typically looks something like YourController.yourAction.

Patch Changes

  • Updated dependencies [e91d059]:
    • @microeinhundert/radonis-hydrate@3.0.0
    • @microeinhundert/radonis-server@3.0.0
    • @microeinhundert/radonis-shared@3.0.0
    • @microeinhundert/radonis-hooks@3.0.0
    • @microeinhundert/radonis-types@3.0.0
    • @microeinhundert/radonis-form@3.0.0