Skip to content

Latest commit

 

History

History
73 lines (43 loc) · 1.97 KB

ChangeLog.md

File metadata and controls

73 lines (43 loc) · 1.97 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

3.1.0 - 2024-11-05

Changed

  • The atomStyle and atomLabelStyle callbacks take an integer argument rather than a boolean indicating whether they're selected or not. react-2d-molecule no longer tracks if an atom is "selected".

3.0.2 - 2023-07-24

Fixed

  • Added width and height attributes to the parent svg element so that it isn't rendered with zero size

3.0.1 - 2023-07-20

Fixed

  • Correct tests and fix a couple bugs that they revealed.

3.0.0 - 2023-07-20

Added

  • Support for more bond types.
  • Adjust input structure in an incompatible way to more easily render bonds that are related.

2.0.0 - 2023-06-05

Added

  • Support more bond types.
  • Change input structure to allow easily rendering aromatic rings.

Fixed

  • Correctly output .d.ts for typescript.

1.0.2 - 2023-05-05

Removed

  • Unnecessary/unused <defs> in the <svg>.

1.0.1 - 2023-05-05

Removed

  • Unnecessary enclosing <div> around the <svg>.

1.0.0 - 2023-05-05

Initial release