Skip to content

Releases: mya-ake/vue-window-size

v1.0.4

16 Apr 14:29
Compare
Choose a tag to compare

v1.0.3

18 Jan 08:09
Compare
Choose a tag to compare
  • chore: update window-resize-subject 1.4.4 (#277) 8fef150
  • chore: fix jest warn (#276) cc42bb6
  • chore(deps): bump vue-demi from 0.4.0 to 0.6.0 (#275) 1a51ed3
  • chore(deps): [security] bump node-notifier from 8.0.0 to 8.0.1 (#264) 4fe5553
  • chore(deps): [security] bump ini from 1.3.5 to 1.3.8 (#257) 236adef
  • chore(deps-dev): bump @types/jest from 26.0.19 to 26.0.20 (#273) 77e81e5
  • chore(deps-dev): bump @vue/test-utils (#274) 9886f85
  • chore(deps-dev): bump husky from 4.3.6 to 4.3.7 (#272) 037c00b
  • chore(deps-dev): bump rollup from 2.36.0 to 2.36.1 (#271) f7d77e5
  • chore(deps-dev): bump rollup from 2.35.1 to 2.36.0 (#270) 4088438
  • chore(deps-dev): bump vue from 3.0.4 to 3.0.5 (#268) 29f114d
  • chore(deps-dev): bump np from 7.1.0 to 7.2.0 (#267) 4c9ab1b
  • chore(deps-dev): bump np from 7.0.0 to 7.1.0 (#266) 116d3ce
  • chore(deps-dev): bump @vue/test-utils (#265) 1185fa2
  • chore(deps-dev): bump husky from 4.3.5 to 4.3.6 (#261) 1129f08
  • chore(deps-dev): bump typescript from 4.1.2 to 4.1.3 (#260) 445defa
  • chore(deps-dev): bump rollup from 2.34.2 to 2.35.1 (#259) f93fe48
  • chore(deps-dev): bump @types/jest from 26.0.18 to 26.0.19 (#258) 954d441
  • chore(deps-dev): bump rollup-plugin-dts from 2.0.0 to 2.0.1 (#256) 109430d
  • chore(deps-dev): bump @types/jest from 26.0.17 to 26.0.18 (#254) fea441b
  • chore(deps-dev): bump @types/jest from 26.0.16 to 26.0.17 (#253) d018299
  • chore(deps-dev): bump rollup from 2.34.1 to 2.34.2 (#252) d556869
  • chore(deps-dev): bump husky from 4.3.0 to 4.3.5 (#251) bb68809
  • chore(deps-dev): bump lint-staged from 10.5.2 to 10.5.3 (#250) 324ce53
  • chore(deps-dev): bump rollup from 2.34.0 to 2.34.1 (#249) 06c5d4d
  • chore(deps-dev): bump vue from 3.0.3 to 3.0.4 (#248) f665d26
  • chore(deps-dev): bump @vue/test-utils (#247) 5238fc1
  • chore(deps-dev): bump @types/jest from 26.0.15 to 26.0.16 (#246) b7ed347
  • chore(deps-dev): bump rollup from 2.33.3 to 2.34.0 (#245) 67fe43d
  • chore(deps-dev): bump @vue/test-utils (#244) 749addc
  • chore(deps-dev): bump prettier from 2.2.0 to 2.2.1 (#243) ed568cd
  • chore(deps-dev): bump vue from 3.0.2 to 3.0.3 (#242) c32f987
  • chore(deps-dev): bump lint-staged from 10.5.1 to 10.5.2 (#241) 76f0830
  • chore(deps-dev): bump rollup-plugin-dts from 1.4.14 to 2.0.0 (#240) b643b29
  • chore(deps-dev): bump typescript from 4.0.5 to 4.1.2 (#239) eb21d55
  • chore(deps-dev): bump prettier from 2.1.2 to 2.2.0 (#237) 83fff53
  • chore(deps-dev): bump rollup from 2.33.2 to 2.33.3 (#235) 8412849
  • chore(deps-dev): bump @vue/test-utils from 2.0.0-beta.9 to 2.0.0-beta.10 (#234) f4e826b
  • chore(deps-dev): bump rollup from 2.33.1 to 2.33.2 (#233) 5bec0d0
  • chore(deps-dev): bump rollup-plugin-dts from 1.4.13 to 1.4.14 (#232) 43552ad
  • chore(deps-dev): bump @vue/test-utils from 2.0.0-beta.8 to 2.0.0-beta.9 (#231) b05bd58
  • chore(deps-dev): bump ts-jest from 26.4.3 to 26.4.4 (#229) f8d2b47
  • chore(deps-dev): bump jest from 26.6.2 to 26.6.3 (#228) 2c482f6
  • chore(deps-dev): bump lint-staged from 10.5.0 to 10.5.1 (#226) 9a3e7ff
  • chore(deps-dev): bump jest from 26.6.1 to 26.6.2 (#227) 0c0414c
  • chore(deps-dev): bump rollup from 2.32.1 to 2.33.1 (#225) d5f563c
  • chore(deps-dev): bump @vue/test-utils from 2.0.0-beta.7 to 2.0.0-beta.8 (#224) 13d3a67
  • chore(deps-dev): bump rollup-plugin-typescript2 from 0.28.0 to 0.29.0 (#222) 21da7f0
  • chore(deps-dev): bump np from 6.5.0 to 7.0.0 (#221) 1392491
  • chore(deps-dev): bump ts-jest from 26.4.2 to 26.4.3 (#219) a8481e4
  • chore(deps-dev): bump typescript from 4.0.3 to 4.0.5 (#220) d456b0b
  • chore(deps-dev): bump lint-staged from 10.4.2 to 10.5.0 (#218) b969a8d
  • chore(deps-dev): bump jest from 26.6.0 to 26.6.1 (#217) 3392632
  • chore(deps-dev): bump ts-jest from 26.4.1 to 26.4.2 (#216) 73fc081
  • chore(deps-dev): bump rollup from 2.32.0 to 2.32.1 (#214) dc472ef
  • chore(deps-dev): bump vue from 3.0.1 to 3.0.2 (#213) ea293d6

v1.0.2...v1.0.3

v1.0.2

21 Oct 16:20
Compare
Choose a tag to compare

v1.0.1...v1.0.2

v1.0.1

21 Oct 16:09
Compare
Choose a tag to compare

v1.0.0

28 Sep 00:40
Compare
Choose a tag to compare

vue-window-size v1 release

feature

  • Supports Composition API
  • Supports Option API

Both are available in Vue.js v3 and Vue.js v2 with @vue/composition-api.

note: If you want to use it only with Vue.js v2, please use vue-window-size v0.

BREAKING CHANGE

The usage of Option API has changed

  • The import destination has changed
  • How to use mixin has changed
  • Property name changed

See the README for usage details.
The reason for the change is described below.

The import destination has changed

Changed as follows:

import { VueWindowSizePlugin, vueWindowSizeMixin } from 'vue-window-size/option-api';
  • One now imports from vue-window-size/option-api.
  • Second changed to named export.

The reason for doing this is that the TypeScript type has to be separated by the Composition API and the Option API.
If you enable import as follows, you will have properties added by Option API even though you are only using Composition API.

// If this is possible
import { vueWindowSizeMixin } from 'vue-window-size';

// Even if you use only this, the type of Option API will be valid.
import { useWindowSize } from 'vue-window-size';

How to use mixin has changed

vueWindowSizeMixin is now a function.

Previously, the Resize event was handled when it was imported.
Changed to handle the Resize event when creating the component.

Property name changed

$ prefixes have been added to the optional APIs windowWidth and windowHeight.
Add $ when referencing in the template.
This is to make it explicit that it is library values.

commit log

v0.6.2...v1.0.0-6

v1.0.0-5

26 Sep 15:45
Compare
Choose a tag to compare
v1.0.0-5 Pre-release
Pre-release

v1.0.0-4...v1.0.0-5

v1.0.0-4

26 Sep 15:36
Compare
Choose a tag to compare
v1.0.0-4 Pre-release
Pre-release

v1.0.0-3...v1.0.0-4

v0.6.2

26 Sep 15:38
Compare
Choose a tag to compare
  • chore(deps): bump window-resize-subject from 1.4.2 to 1.4.3 (#195) 620dd4d
  • chore(deps-dev): bump rollup-plugin-typescript2 from 0.27.2 to 0.27.3 (#196) ee37393
  • chore(deps-dev): bump rollup from 2.28.1 to 2.28.2 (#194) eee3e92
  • chore(deps-dev): bump rollup from 2.27.1 to 2.28.1 (#193) fe9d483
  • chore(deps-dev): bump ts-jest from 26.3.0 to 26.4.0 (#192) 41cb42b
  • chore(deps-dev): bump typescript from 4.0.2 to 4.0.3 (#191) 86f4d64
  • chore(deps-dev): bump rollup from 2.27.0 to 2.27.1 (#190) 1af994d
  • chore(deps-dev): bump @types/jest from 26.0.13 to 26.0.14 (#188) e705394
  • chore(deps-dev): bump rollup from 2.26.11 to 2.27.0 (#189) 27f1e3d
  • chore(deps-dev): bump prettier from 2.1.1 to 2.1.2 (#187) 6d4bcc8
  • chore(deps-dev): bump lint-staged from 10.3.0 to 10.4.0 (#186) 454af13
  • chore(deps-dev): bump vue-jest from 3.0.6 to 3.0.7 (#185) f1b2a86
  • chore(deps-dev): bump @vue/test-utils from 1.0.5 to 1.1.0 (#184) fc0f652
  • chore(deps-dev): bump husky from 4.2.5 to 4.3.0 (#183) f255fb6
  • chore(deps-dev): bump rollup from 2.26.10 to 2.26.11 (#182) 0bbead7
  • chore(deps-dev): bump rollup from 2.26.9 to 2.26.10 (#181) 6d6b5d4
  • chore(deps-dev): bump rollup-plugin-terser from 7.0.1 to 7.0.2 (#180) ec59d34
  • chore(deps-dev): bump lint-staged from 10.2.13 to 10.3.0 (#179) a36819d
  • chore(deps-dev): bump rollup from 2.26.8 to 2.26.9 (#177) 438298c
  • chore(deps-dev): bump @types/jest from 26.0.12 to 26.0.13 (#178) 0790eaa
  • chore(deps-dev): bump @types/jest from 26.0.10 to 26.0.12 (#176) 7453e0c
  • chore(deps-dev): bump np from 6.4.0 to 6.5.0 (#175) b6a5266
  • chore(deps-dev): bump rollup-plugin-terser from 7.0.0 to 7.0.1 (#173) 854d768
  • chore(deps-dev): bump rollup from 2.26.7 to 2.26.8 (#174) 6f786d6
  • chore(deps-dev): bump @vue/test-utils from 1.0.4 to 1.0.5 (#172) 648fbfc
  • chore(deps-dev): bump rollup from 2.26.6 to 2.26.7 (#171) c5a192b
  • chore(deps-dev): bump typescript from 3.9.7 to 4.0.2 (#169) 28f5fa9
  • chore(deps-dev): bump rollup from 2.26.5 to 2.26.6 (#170) 797b750
  • chore(deps-dev): bump prettier from 2.1.0 to 2.1.1 (#166) cc1474f
  • chore(deps-dev): bump ts-jest from 26.2.0 to 26.3.0 (#168) 9615eb3
  • chore(deps-dev): bump lint-staged from 10.2.12 to 10.2.13 (#167) 0a268ea

v0.6.1...v0.6.2

v1.0.0-3

24 Sep 16:07
Compare
Choose a tag to compare
v1.0.0-3 Pre-release
Pre-release

v1.0.0-2...v1.0.0-3

v1.0.0-2

24 Sep 15:10
Compare
Choose a tag to compare
v1.0.0-2 Pre-release
Pre-release

v1.0.0-1...v1.0.0-2