Skip to content
This repository was archived by the owner on Dec 14, 2023. It is now read-only.

Releases: prismicio/javascript-kit

1.0.30

18 May 21:08
Compare
Choose a tag to compare

Introduce fetch and fetchLinks helpers

1.0.28

16 Dec 13:23
Compare
Choose a tag to compare

Breaking change

  • Document.linkDocument is no a function, as we calculate the linked document from the content. It is important to migrate to this version as in the future, linkedDocument will no longer be exposed in the API (and older kits will no longer work).

1.0.26

18 Nov 09:32
Compare
Choose a tag to compare

Bug fixes

  • Fixes for experiments

1.0.25

18 Nov 09:31
Compare
Choose a tag to compare

New features

  • Support for CJK slugs

1.0.24

18 Nov 09:31
Compare
Choose a tag to compare

New features

  • Support for previews

Bug fixes

  • Fix line break conversion in StructuredText.asHtml

1.0.23

12 Nov 11:09
Compare
Choose a tag to compare

Bug fixes

  • [#72] Change the API rate limit: limit the number of concurrent requests rather than spacing the requests

1.0.22

07 Nov 17:16
Compare
Choose a tag to compare

Breaking change

  • The Cache API is now asynchronous, if you have your own cache implementation you need to port it

New features

  • The http client will now limit the number of request to 20/seconds. Please keep it this way, as the server may drop requests if too many concurrent requests are made.

Bug fixes

  • Fixes in the cache system

1.0.21

24 Oct 14:12
Compare
Choose a tag to compare

Breaking change

  • Group document are no longer just a dictionary, but instances of the GroupDoc class. They are no longer accessed by mygroup['fragmentname'] but with mygroup.get('fragmentname') or mygroup.getText('fragmentname')

New features

  • [#61] getText, getColor, etc. helpers on Group documents

1.0.20

29 Sep 13:58
Compare
Choose a tag to compare

Features

  • Simplify asHtml parameters (still keeping backward-compatiblity)
  • Predicate helpers

1.0.19

25 Sep 08:23
Compare
Choose a tag to compare

Bigfixes

  • Fix span labels