All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
2.3.9 (2023-01-28)
- inline
escape-html
(8716fe5)
- deps: maintain dependencies (75a77a8)
2.3.8 (2022-12-19)
- deps: maintain dependencies (22040aa)
2.3.7 (2022-12-19)
- deps: maintain dependencies (f0fe858)
2.3.6 (2022-11-16)
- allow Content Relationship field's
data
property overrides when usingisFilled
helpers (#62) (cc75ce5)
2.3.5 (2022-09-20)
2.3.4 (2022-09-15)
2.3.3 (2022-08-05)
2.3.2 (2022-07-13)
2.3.1 (2022-06-09)
2.3.0 (2022-04-15)
- deps: upgrade dependencies (2c2360e)
2.2.1 (2022-03-18)
- deps: maintain dependencies (f3c18c5)
- deps: maintain dependencies (1305d40)
- update template (48c9b7a)
2.2.0 (2022-02-25)
- narrow return types when field is known (#43) (40f41f9)
- support nullish inputs for
isFilled
helpers (#44) (6c5597b)
2.1.1 (2022-02-04)
- deps: maintain dependencies (ea814ca)
2.1.0 (2022-02-01)
- revert to AVA 3 (cccd34f)
2.0.1 (2022-01-28)
- add Size Limit repo support (da22d5b)
- deps: update
@prismicio/richtext
(4c97a27) - deps: update dependencies (ffbf66e)
- fix Size Limit integration (660bd1e)
- support React Native's Metro bundler (51151f9)
2.0.0 (2022-01-05)
2.0.0-beta.8 (2021-12-16)
- update docs link [skip ci] (662a077)
2.0.0-beta.7 (2021-12-06)
- allow nullish field in
asHTML
andasText
(4c7c8bc)
- support documents without
slugs
indocumentToLinkField
(a60f4be)
2.0.0-beta.6 (2021-12-03)
- deps: maintain dependencies (dc71bc6)
2.0.0-beta.5 (2021-11-29)
- support nullish
slugs
property when passing a document toasLink
(85eedea)
2.0.0-beta.4 (2021-11-29)
- export Elements as a deprecated alias for Element (b6fbe0c)
2.0.0-beta.3 (2021-11-10)
2.0.0-beta.2 (2021-11-05)
- pass HTML serializer children as string (c3634f9)
- use runtime-generated map serializer (ff15253)
- update TSDoc for new HTML serializer types (05bd482)
- deps: maintain dependencies (2a8037f)
2.0.0-beta.1 (2021-10-12)
- type issue with empty links in asLink (542b4d9)
- use currying to build HTML serializer (b7ba08a)
2.0.0-beta.0 (2021-09-29)
- deps: maintain dependencies (eda08bb)
2.0.0-alpha.9 (2021-09-27)
- tag graphql functions as experimental to help with potential breaking changes (b0432a4)
- update template config (e05d381)
2.0.0-alpha.8 (2021-09-14)
- update dependencies (1f7f24a)
2.0.0-alpha.7 (2021-08-12)
- allow explicit null for linkResolver & HTML serializer (275bfca)
2.0.0-alpha.6 (2021-08-11)
- export serializer elements types for convenience (715f11d)
- prevent XSS on image tag serialization (c0e6d6d)
- update pull request template (8330ddd)
2.0.0-alpha.5 (2021-07-07)
- document asHTML new helper (d40d3c6)
2.0.0-alpha.4 (2021-07-03)
- update dependencies (49349ac)
2.0.0-alpha.3 (2021-07-03)
- optional Link Resolver for asLink and asHTML (#22) (b007ff1), closes #21
- retain data field in documentToLinkField (#23) (81b0706), closes #19
2.0.0-alpha.2 (2021-07-01)
- update dependencies (8ed3e88)
2.0.0-alpha.1 (2021-06-29)
- update dependencies and @prismicio/richtext types (f30aa18)
- extract serializer helpers into a dedicated file (5d1d2a8)
- migrate asHTML to @prismicio/richtext@2 (a565d02)
- migrate asHtml to typescript (f589b05)
- provide asText from @prismicio/richtext directly (987105f)
- migrate to npm (8a41c1a)
- replace yarn scripts with npm (9756c13)
- deps: maintain dependencies (a3aacb3)
- typo on config (010cb0b)
2.0.0-alpha.0 (2021-05-27)
- migrate existing functions to typescript
- examples: add examples directory (6f2e6ca)
- add graphql support (45858a9)
- allow asLink to also resolve prismic documents (experimental) (ed5ad52)
- allow return type to be specified for link resolver (be75fb5)
- handle link field edge cases on asLink (83f1a61)
- examples: refactor example directory (01051cb)
- graphql: refactor graphql asLink resolving (b0ada1d)
- extract document cast to link field into its own function (ef16ef5)
- migrate existing functions to typescript (a52cc56)
- move ArgumentError to lib folder (8726268)
- examples: add graphql examples (123eeb7)
- add todo (b757e27)
- document linkResolverFunction (3172393)
- update readme and issue template (aeacfd3)
- deps: bump @prismicio/types (7b5f470)
- maintain dependencies (12ca991)
- revamp repo structure (b9c05ca)
- update eslint config (2397998)
- deps: maintain dependencies (b76687b)
- update template (3342a50)
- config: update .eslintignore (c5a9f3e)
- deps: maintain dependencies (87e7f77)
- deps: upgrade @prismicio/types (d4dea1c)