Skip to content

Releases: matijaoe/vue-ecosystem-snippets

v0.8.0

28 Oct 17:05
025c4ec
Compare
Choose a tag to compare

Features

  • Define composable using current filename - vcomposable:file / vdcf
  • Define pinia stores using current filename
  • Define props without typescript - vprops:js
  • Add vim alt for vimport
  • Add vtemplate and vcomponent alts
  • Add template emit() snippet - vemit
  • Add snippets for common event listeners - von:event / voe, von:click / voc, von:input / voi, von:update, von:change, von:blur, von:focus, von:submit
  • Add snippet for v-bind="[$props, $attrs]" - vbind:full
  • Add snippet for non-bind attribute in template - va
  • Add vclass:list snippet
  • Add snippet for i18n translation in template - vvt (vue variable translation)
  • Add vtif and vdif snippets for template and div with v-if
  • Add Vueuse vRefAutoReset
  • Add VueUse vwatchImmediate
  • Add alts for vuse:toggle variants - vut & vutt
  • Add snippet for vueuse import - vuse:import / vuim

Changes

  • Completely remove Reactivity Transform snippets
  • Remove assignment for vunred, vreadonnly, vtoRef, vtoRefs
  • Rename vemits:ts to vemits:old
  • Rename vemits:new to vemits
  • Rename vemits to vemits:alt
  • Remove 2nd argument from vemit snippet
  • Remove default value from vinject:ts
  • Rename velif to veif
  • Rename previous vemit to vemit:pass
  • Remove list from vclass snippet
  • Rename class with list to vclass:list / vca
  • Rename text interpolation snippet from vti to vv (vue variable)

Merges

Full Changelog: v0.6.0...v0.8.0

v0.7.0

08 Apr 19:56
Compare
Choose a tag to compare

Features

  • Add new Vue watch snippets - vwatch:immediate, vwatch:deep
  • Add upcoming (Vue 3.3.0-alpha9) defineModel macro snippet - vmodel
  • Add unreleased (Vue 3.3.0) defineEmits macro snippet - vemits:new
  • Add VueUse useVModels snippet - vuse:vmodels
  • Add vbind:props and vbind:attrs Vue tempate snippets

Changes

  • Set postcss as default language in style blocks, downgrade lang="css" to an additional option
  • Update Vue template vb bind snippet (:prop="prop")
  • Update Vue Macros defineModel to new defineModels implementation - vdefineModels
  • Remove acceptHMRUpdate from pinia snippets
  • Update various vmodel script implementations, rename existing vmodel to vmodel:manual
  • Remove boilerplate from useVModel
  • Update and rename Vue provide and inject snippets

Fixes

  • Fix usage of style instead of lang option in Vue style block snippets

Documentation

  • Remove mention of reactivity transform

Merge

  • Release v0.7.0 by @mat2ja in #21

Full Changelog: v0.6.0...v0.7.0

v0.6.0

19 Feb 12:02
f5499c2
Compare
Choose a tag to compare

Features

  • Add Vue Macros snippets
  • Add useLink and defineRouter snippets for vue-router
  • Add better :to property handling on NuxtLink and RouterLink

Changes

  • 🗑️ Remove all reactivity transform alt prefixes
  • 🗑️ Remove non-essential reactivity transform snippets
  • 💥 Change alt prefixes for typed ref, typed computed & reactive
  • 💥 Change prefix for props with defaults
  • Move vue-router script out of Vue snippets
  • Remove indentation from style blocks

Fixes

  • Fix pinia not being applied in javascript
  • Fix broken snippets

Documentation

  • Show 2 instead of 1 placeholder option
  • Change section ordering
  • Add Vue Macros mention

Merge

  • Release v0.6.0 by @mat2ja in #19

Full Changelog: v0.5.6...v0.6.0

v0.5.6

17 Jan 18:44
050c744
Compare
Choose a tag to compare

What's Changed

Fixes

Merge

  • Release v0.5.6 by @mat2ja in #18

Full Changelog: v0.5.5...v0.5.6

v0.5.5

16 Jan 08:45
cebbd2c
Compare
Choose a tag to compare

What's Changed

Features

  • Add vbase:full:less (thanks again to @tjx666 in #12)

Code

  • Remove TODOs from code, as they are on the project board now

Merge

  • Release v0.5.5 by @mat2ja in #16

Full Changelog: v0.5.4...v0.5.5

v0.5.4

15 Jan 11:50
49a671b
Compare
Choose a tag to compare

What's Changed

Features

  • Add style tag with less option (thanks to @tjx666 🙌🏻 #12)
  • Add vstyle:lang snippet
  • Add less to vstyle:lang language options
  • Add vcgs alias for computed with get/set

Changes

  • Change default vstyle snippet to represent scoped style with no language option
  • Change tabstop ordering for use composable snippets (composable param is on the last tab stop)

Fix

  • Fix broken vname template snippet

Merge

  • Release v0.5.4 by @mat2ja in #13

Full Changelog: v0.5.3...v0.5.4

v0.5.3

04 Jan 20:21
78ce0e2
Compare
Choose a tag to compare

What's Changed

Features

  • Auto-capitalize Pinia store and Vue composable names
  • Add isDefined and 2 useToggle snippets for VueUse
  • Add vuf alt prefix for vuse:fetch
  • Add vus alt prefix for vuseStore
  • Add an additional end tabstop to nfetch and nasyncdata snippets
  • Add nfetch:post

Changes

  • Replace some prefixes with - to use : (vmodel:number etc.)
  • Remove dummy data from pstore:options snippet

Fixes

  • Fix wrongly ordered tabstops

Merge

  • Release v0.5.3 by @mat2ja in #10

Full Changelog: v0.5.2...v0.5.3

v0.5.2

03 Jan 18:24
624d4af
Compare
Choose a tag to compare

What's Changed

Features

  • Add 10 new Vue Router template snippets
  • Add Transition elements and Suspense snippets
  • Add Vue template class and style bindings snippets
  • Add if, else and elif alt prefixes for Vue template

Changes

  • Change prefix for $computed
  • Change prefix casing for PascalCase components whose full name is part of the prefix (vtransitionvTransition)

Documentation

  • Remove work in progress
  • Define html syntax highlighting for Nuxt template
  • Fix preview for $$()

Merge

  • Release v0.5.2 by @mat2ja in #9

Full Changelog: v0.5.1...v0.5.2

v0.5.1

01 Jan 15:17
54760c3
Compare
Choose a tag to compare

What's Changed

Features

  • Add 15 new Nuxt 3 template snippets
  • Update VueUse useFetch snippet

Fixes

  • Fix several broken Vue snippets (primarily lifecycle hooks)
  • Fix VueUse get & set snippets
  • Fix duplicate Nuxt Script table in documentation

Merge

  • Add Nuxt template snippets by @mat2ja in #8

Full Changelog: v0.5.0...v0.5.1

v0.5.0

01 Jan 13:24
d555185
Compare
Choose a tag to compare

What's Changed

Features

  • Add 38 new Nuxt 3 script snippets
  • Change vue use-composable snippets syntax and prefixes

Changes

  • Replace package scripts with deno tasks

Merge

  • Add Nuxt 3 snippets by @mat2ja in #7

Full Changelog: v0.4.0...v0.5.0