inertia-vue@0.8.0

Published on January 7, 2022

Removed Inertia "plugin" auto-registration - BREAKING CHANGE ⚠️

This release removes the auto-registration of the Inertia "plugin", this means you now have to register the plugin yourself within the setup method:

import Vue from 'vue'
import { createInertiaApp } from '@inertiajs/inertia-vue'

createInertiaApp({
  resolve: name => require(`./Pages/${name}`),
+  setup({ el, App, props, plugin }) {
+    Vue.use(plugin)

    new Vue({
      render: h => h(App, props),
    }).$mount(el)
  },
})

Added

  • Visits and Link components now accept a 'queryStringArrayFormat' option (#994)
  • Add setError method to Form helper to manually set errors (#999)
  • Add defaults method to Form helper to 'redefine' the defaults (#1019)

Changed

  • We now keep a changelog here on GitHub :tada: For earlier releases, please see the releases page of inertiajs.com.
  • Types: Use @inertiajs/inertia's new 'Progress' type (#877)
  • Push Inertia "plugin" to userland instead of auto-registering, similar to Vue 3 (425663)

Fixed

  • Console warnings still referenced <inertia-link> instead of <Link> (#916)