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
- The
atomStyle
andatomLabelStyle
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
- 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
- Correct tests and fix a couple bugs that they revealed.
3.0.0 - 2023-07-20
- 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
- Support more bond types.
- Change input structure to allow easily rendering aromatic rings.
- Correctly output .d.ts for typescript.
1.0.2 - 2023-05-05
- Unnecessary/unused
<defs>
in the<svg>
.
1.0.1 - 2023-05-05
- Unnecessary enclosing
<div>
around the<svg>
.
1.0.0 - 2023-05-05
Initial release