Skip to content

Releases: fastify/fastify-vite

@fastify/vite@6.0.6

04 Mar 08:35
Compare
Choose a tag to compare

This release removes the accidental inclusion of optionalDependencies in package.json.

They are only used in development for PNPM workspaces to work.

@fastify/vite@6.0.5

04 Mar 06:49
Compare
Choose a tag to compare

This release introduces the config.prepareServer(server) and route.configure(server) hooks.

A link to a blog post covering this feature will be added shortly.

@fastify/react@0.6.0

04 Mar 07:33
Compare
Choose a tag to compare

This release includes an experimental implementation of server actions.

Read all about it here: https://hire.jonasgalvez.com.br/2024/mar/04/server-actions-in-fastify/

@fastify/vite@6.0.4

03 Mar 06:38
Compare
Choose a tag to compare

This release contains a critical fix for Windows:

And a fix for a bug when attempting graceful shutdown:

Hat off to Shyam-Chen and matt-smarsh.

@fastify/vite@6.0.3

26 Feb 01:23
Compare
Choose a tag to compare

This release removes peerDependencies from package.json as it was causing trouble for many users.

@fastify/vue@0.5.0

26 Feb 02:57
Compare
Choose a tag to compare

This patch release contains a fix for a syntax error in the root.vue virtual module.

As both starter templates include their own root.vue with correct syntax, this bug went unnoticed for a bit.

You can now also export mount from root.vue to determine where to mount the Vue application:

<script>
export { default } from '/:router.vue'

// This is what's pased to Vue's mount() method
export const mount = '#root'

export function configure ({ app, router }) {
  // Use this to configure/extend your Vue app and router instance
}
</script>

@fastify/htmx@0.4.0

26 Feb 02:24
Compare
Choose a tag to compare

This contains a patch for a bug some users reported where not all CSS imports would be loaded client-side.

Also peerDependencies has been removed from package.json.

@fastify/react@0.5.0

25 Feb 23:50
Compare
Choose a tag to compare

This release fixes a bug previously preventing getData() and getMeta() to run in route query updates.

Also peerDependencies have been removed from package.json, once and for all.

@fastify/vite@6.0.2

20 Feb 06:45
Compare
Choose a tag to compare

A small but important patch containing the following fix:

See the release notes for v6.0.0 here.

@fastify/vue@0.4.0

20 Feb 06:53
Compare
Choose a tag to compare

This is mostly a maintenance release to support @fastify/vite v6.

Features

  • New /:router.vue virtual module to accommodate <router-view> isolatedly.
  • The /:root.vue virtual module can now export configure({ app, router }) for extending your Vue a Vue Router instances:

Both the vue-base and vue-kitchensink starter templates now come with root.vue defined as follows:

<script>
export { default } from '/:router.vue'

export function configure ({ app, router }) {
  // Use this to configure/extend your Vue app and router instance
}
</script>

Miscellaneous

All starter templates now come with Tailwind + CSS Nesting enabled by default.

I personally prefer unocss, but a run-of-the-mill Tailwind setup stands to benefit the most users.