Skip to content

Releases: thibaudcolas/draftjs-conductor

v3.0.0

13 Jun 20:04
Compare
Choose a tag to compare

3.0.0 (2022-06-13)

Features

  • api: convert whole package API to TypeScript (3fca3fa)

BREAKING CHANGES

  • api: All helpers are now written in TypeScript.

    Flow types are no longer available, and TypeScript types are built-in.

v2.2.0

14 Apr 23:54
Compare
Choose a tag to compare

2.2.0 (2021-04-14)

Features

  • lists: support specifying an arbitrary number of ol counter styles (921a5d3)

v2.1.0

13 Apr 23:15
Compare
Choose a tag to compare

2.1.0 (2021-04-13)

Features

  • lists: add different numeral list styles per depth level (d309382)

v2.0.0

19 Nov 22:21
Compare
Choose a tag to compare

2.0.0 (2020-11-19)

Features

  • api: replace list nesting APIs with a single getListNestingStyles (3703b2f)
  • deps: proactively declare support with Draft.js v0.12.0 (586b385)

BREAKING CHANGES

  • api: The <ListNestingStyles max={6} /> component has been removed,
    and the generateListNestingStyles method is now deprecated and
    will be removed in a future release.

Both are replaced with a getListNestingStyles method, which works exactly the same as
generateListNestingStyles, but with a different parameter order, and with default values:

export const getListNestingStyles = (
  maxDepth: number,
  minDepth: number = DRAFT_DEFAULT_MAX_DEPTH + 1,
  selectorPrefix: string = DRAFT_DEFAULT_DEPTH_CLASS,
) => {
  return generateListNestingStyles(selectorPrefix, minDepth, maxDepth);
}

This small breaking change allows us to remove this package’s peerDependency on React,
making it easier to upgrade to React 17, and other versions in the future.

v1.2.0

19 Nov 17:10
Compare
Choose a tag to compare

1.2.0 (2020-11-19)

Features

v1.1.0

16 Aug 21:58
Compare
Choose a tag to compare

1.1.0 (2020-08-16)

Features

  • api: add new getDraftEditorPastedContent method (#226) (fcaada5)

v1.0.1

20 Jan 09:37
Compare
Choose a tag to compare

1.0.1 (2020-01-20)

Bug Fixes

  • deps: allow draft-js ^0.11.0 as a peer dependency (1b0cfa3)

v1.0.0

14 Aug 22:03
Compare
Choose a tag to compare

1.0.0 (2019-08-14)

This release is functionally identical to v0.5.2.

The project has reached a high-enough level of stability to be used in production, and breaking changes will now be reflected via major version changes.

v0.5.2

13 Aug 20:38
Compare
Choose a tag to compare

0.5.2 (2019-08-13)

Bug Fixes

  • release: prevent tarballs from being published in npm tarball (96d0765)

v0.5.1

13 Aug 20:18
Compare
Choose a tag to compare

0.5.1 (2019-08-13)

Bug Fixes

  • api: add .flow typing file to restore type checks on CJS imports (cb73a81)