Releases: microeinhundert/radonis
@microeinhundert/radonis-hooks@4.0.2
@microeinhundert/radonis-hooks@4.0.1
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
Minor Changes
e1fd598
Thanks @microeinhundert! - Reduced dependencies
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
@microeinhundert/radonis-form@4.0.1
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
Minor Changes
e1fd598
Thanks @microeinhundert! - Reduced dependencies
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
Patch Changes
-
6522fb6
Thanks @microeinhundert! - Removed usage of fs-extra -
50d762f
Thanks @microeinhundert! - Fixed type of --watch flag -
Updated dependencies [
6522fb6
,50d762f
]:- @microeinhundert/radonis-shared@4.0.2
@microeinhundert/radonis-build@4.0.1
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
Minor Changes
-
e1fd598
Thanks @microeinhundert! - Reduced dependencies -
33fd7d0
Thanks @microeinhundert! - Use esbuild file watcher
Patch Changes
-
a40335c
Thanks @microeinhundert! - Refactored internal exceptions -
5c17640
Thanks @microeinhundert! - Improved build -
Updated dependencies [
a40335c
,e1fd598
]:- @microeinhundert/radonis-shared@4.0.0
- @microeinhundert/radonis-types@4.0.0
@microeinhundert/radonis@3.0.0
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
toisland
- Suffix files containing islands with
.island.<ext>
- Remove
entryFile
,alwaysIncludeEntryFile
andcomponentsDir
fromconfig/radonis.ts
.
More in depth:
- The
hydratable
function, which wraps all your hydratable components, has been renamed toisland
. Also, all files containing islands must now end with.island.<ext>
, which means that a file currently namedButton.tsx
must now be namedButton.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 withisland
and have a unique identifier passed as the first argument to theisland
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 defaultentry.client.ts
) can be located anywhere and named anything you like, as long as it's in theresources
directory. This also means that you can have multiple client entry files.
Because of these changes,
entryFile
,alwaysIncludeEntryFile
andcomponentsDir
can be removed fromconfig/radonis.ts
. - Rename
-
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.
Runnode 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 likeYourController.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