0.x to 1.x

The old demo page for v0 is still available here.

The 1.x branch is not a complete rewrite, but it is a major refactor. The motivation was to :

  • reduce code redundancy mostly by replacing vue templates with render functions
  • improve overall architecture
  • improve extensibility with more powerful slots, props, etc.
  • improve validity of the output against the given JSON schemas
  • drop some third party dependencies
  • document everything and clean options while doing so
  • better respect vuejs conventions

The scope of these modifications implied some breaking changes. These are mostly on the code+configuration side of things and much less on the schemas+annotations side. Basically you will have to change your code, that is certain, but your schemas should still work. Still, transitioning must be done with extensive testing of all your forms.

Most notable breaking changes :

  • npm module is switched from @koumoul/vuetify-jsonschema-form to @koumoul/vjsf
  • recommended component name is VJsf (so tag name is v-jsf)
  • support for Vuetify 1 is dropped
  • model is replaced by v-model
  • slots are renamed
  • some options are dropped or renamed
  • some people used the Property internal component, it is gone. VJsf itself is the only component and is recursive to render children properties