Skip to content

Latest commit

 

History

History
332 lines (144 loc) · 10.7 KB

CHANGELOG.md

File metadata and controls

332 lines (144 loc) · 10.7 KB

Changelog

7.0.2 (2024-10-15)

Bug Fixes

7.0.1 (2024-10-14)

Bug Fixes

7.0.0 (2024-10-09)

⚠ BREAKING CHANGES

  • migrate to TypeScript

Bug Fixes

  • improve native Node.js ESM support (95a6284)

Code Refactoring

6.1.0 (2023-08-04)

Features

6.0.2 (2023-08-04)

Bug Fixes

  • enforce labelFontSize as a number (93f35ff)

6.0.1 (2023-08-04)

Bug Fixes

6.0.0 (2023-08-03)

⚠ BREAKING CHANGES

  • remove the
    level when redering a molecule

Features

  • allow the renderer to have a label object property (e27edd9)
  • allow the renderer to have a label object property (#24) (e27edd9)
  • remove the <div> level when redering a molecule (e27edd9)
  • Use a SVG as default error renderer (e27edd9)

5.0.1 (2023-06-13)

Bug Fixes

  • do not prevent triggering onChange when props are changed (#23) (738e2fe)

Documentation

  • correct example in the readme (d3746f2)

5.0.0 (2022-08-15)

⚠ BREAKING CHANGES

  • remove propTypes and defaultProps
  • update OpenChemLib to v8.0.0
  • React >=18 is now mandatory.
  • The automated ids generated by the SvgRenderer now have a different format.

Features

  • update OpenChemLib to v8.0.0 (cc0ea01)
  • update React to v18 (749ca7f)

Code Refactoring

  • remove propTypes and defaultProps (7b15f4d)

4.4.0 (2022-07-01)

Features

  • add initialIDCode props and give idCode in onChange callback (2dba9b4)

4.3.5 (2022-03-11)

Bug Fixes

  • make StructureEditor work inside a shadow root (2a12c53)

4.3.4 (2022-02-19)

Bug Fixes

  • do not try to setFragment if editor is not instanciated (a686836)

4.3.3 (2021-03-23)

Bug Fixes

4.3.2 (2021-03-23)

Bug Fixes

  • add commonjs build for SSR (955d249)

4.3.1 (2021-02-26)

Bug Fixes

  • prevent SVG recalculation if not needed (#6) (004d729)

4.3.0 (2020-09-09)

Features

  • expose base components for rendering with custom OCL (66e6ee4)

4.2.1 (2020-06-10)

Bug Fixes

  • add missing main package field (36bdf80)

4.2.0 (2020-05-10)

Features

  • prevent atom selection and send event object (#5) (07498f4)

4.1.0 (2020-05-07)

Features

  • SVG: catch syntax errors and add support for custom error component (4c13201)

4.0.4 (2020-05-07)

Bug Fixes

4.0.3 (2019-11-28)

Bug Fixes

  • correct atom and bond highlighting (caf1278)

4.0.2 (2019-05-05)

Bug Fixes

  • types: correct type of IdcodeSvgRenderer props (218b3b8)

4.0.1 (2019-05-05)

Bug Fixes

  • types: export types for default import (6a2bebe)

4.0.0 (2019-05-05)

chore

Code Refactoring

  • StructureEditor: change arguments passed to onChange (42e2a76)

BREAKING CHANGES

  • StructureEditor: Arguments passed to the onChange callback of StructureEditor were change. It will now receive two arguments: a molfile V3 and a Molecule instance.
  • Highlight ids are now numbers instead of strings.

3.1.1 (2019-03-28)

Bug Fixes

  • better structure editor with hooks (c1278e4)

3.1.0 (2019-03-28)

Features

  • add support for bond highlighting (a48732e)
  • highlight: add onAtomEnter and onAtomLeave (e31d70d)
  • add support for controlled highlight (77a0c57)

3.0.2 (2019-03-22)

3.0.1 (2019-01-27)

Bug Fixes

  • molfile prop doesn't have to be required (538e51f)

3.0.0 (2019-01-27)

Bug Fixes

BREAKING CHANGES

  • The openchemlib peer dependency is now 6.0.0.

2.0.1 (2019-01-27)

Bug Fixes

  • use .mjs to tell entrypoints are modules (a468b8b)

2.0.0 (2019-01-25)

Bug Fixes

  • editor: allow to pass a custom id (e9f6639)

Features

  • export three versions of the library and make OCL prop obsolete (0cd6a68)

1.0.1 (2018-09-01)

1.0.0 (2018-01-09)

0.1.1 (2017-11-01)

0.1.0 (2017-02-08)

Bug Fixes

  • don't fallback to empty coordinates (695936f)

Features

  • require OCL in the props (8c671da)

0.0.5 (2017-02-07)

0.0.4 (2017-02-07)

0.0.3 (2017-01-26)

0.0.2 (2017-01-26)

0.0.1 (2017-01-26)