Skip to content

Releases: posva/vue-promised

πŸš€ Release 1.1.1

26 Feb 11:05
Compare
Choose a tag to compare
  • fix(types): fix ts types + tests (df21a23)

πŸš€ Release 1.1.0

25 Feb 23:01
Compare
Choose a tag to compare
  • feat(types): add typings (df3eb74)
  • feat: support multiple nodes for combined slot (9b01af8)

πŸš€ Release 1.0.0

28 Oct 11:05
Compare
Choose a tag to compare

New Features

  • combined slot to provide granular control over how to display while the promised is pending

Improvements

  • A default slot will now show when the promised is resolved

Breaking changes

  • default export renamed to Promised
- import Promised from 'vue-promised'
+ import { Promised } from 'vue-promised'
  • then slot name removed. The data is now on the default slot or scoped slot
  • pending state of a promise must now be displayed using the pending slot (instead of a default slot)
  • the catch slot is now named rejected (status of the promise):
<Promised :promise="promise">
-  <div>Loading</div>
+  <div slot="pending">Loading</div>
-  <div slot="then" scoped-slot="data">{{ data }}</div>
+  <div scoped-slot="data">{{ data }}</div>
-  <div slot="catch" scoped-slot="error">{{ error.message }}</div>
+  <div slot="rejected" scoped-slot="error">{{ error.message }}</div>
</Promised>

πŸš€ Release 0.2.3

27 Aug 20:36
Compare
Choose a tag to compare
  • ✨ allow polyfied Promise (5642c47)
  • ⬆️ up deps jest (e734bbf)
  • ⬆️ up test-utils (b4865d7)
  • ⬆️ up vue (37734d4)
  • ⬆️ up eslint deps (9199717)
  • ⬆️ up deps (7eee442)
  • πŸ’š use yarn.lock as checksum (212d503)

πŸš€ Release 0.2.2

16 Mar 16:30
Compare
Choose a tag to compare
  • πŸ› Fix duplicated promises with array (d87e8eb)

πŸš€ Release 0.2.1

16 Mar 10:59
Compare
Choose a tag to compare
  • πŸ“ document pendingDelay (5bb4a02)
  • ✨ add pendingDelay prop (7ad5fa3)
  • 🚨 linting (e9ef996)
  • πŸ“ add links in example (bff64fc)
  • πŸ“ add API reference (03301a3)
  • πŸ“ add code sample to examples (0b5156c)
  • πŸ“ update example (842089a)
  • πŸ“ Move example to docs before deploy (16abd3b)

πŸš€ Release 0.2.0

09 Mar 13:06
Compare
Choose a tag to compare
  • πŸ“ add example (c0ce2a6)
  • πŸ“ fix example (f2442db)
  • πŸ“ update docs for breaking changes (b6dc588)
  • πŸ’₯ rename scoped slot error to catch (397245f)
  • ✨ support scoped slot named then (same as default scoped slot) (4e7fbfe)
  • ✨ support pending named slot (same as non-scoped default) (593b866)
  • πŸ”¨ refactor test helper components (1b6bc11)
  • πŸ“ Replace donate with thanks (df7c98d)

Breaking changes:

Rename error slot to catch

πŸš€ Release 0.1.0

06 Mar 09:16
Compare
Choose a tag to compare
  • πŸ”§ Ignore helpers from utils (dd635e0)
  • ✨ Display errors when no slots are provided (66d4e3a)
  • CircleCI check (934cb20)
  • fixed the warning msg when there is no slot exists. (0476b1a)
  • ⬆️ Update faked-promise (a5f90ac)
  • βœ… Add test for cancelling promises (e52004c)
  • βœ… Test multiple promises (6109cc1)
  • βœ… Add test using faked-promise (3703431)
  • πŸ‘· Add circle ci (1f596ef)
  • 🚨 Fix lint (adeab4c)
  • πŸ”§ Add eslint config (0d74d5c)
  • βœ… Add jest for testing (3ccffdd)
  • Fix package name and add install guide (#1) (8089242)
  • ✏️ Use kebab case in title (023c66d)
  • πŸ“ Add badges (2c59456)
  • 🚸 Adding github files (4834cd4)
  • πŸ“ Fix code in readme (35f1655)

πŸš€ Release 0.0.3

27 Jan 23:35
Compare
Choose a tag to compare
  • πŸ”§ Fix package.json (0aa2a9d)

πŸš€ Release 0.0.2

27 Jan 23:34
Compare
Choose a tag to compare
  • πŸ”§ Add release-it config (3f4a5c3)
  • 🎨 Rename PromiseBlocks to Promised (91fcb39)
  • 🎨 Renaming package to vue-promised (d67e844)
  • πŸ“ Update readme (ac71f01)
  • πŸŽ‰ Init (8955089)