8.16.0 (2024-10-17)
- add options to
ReactionEncoder.decode
andReactionEncoder.decode
(9716b26) - create a script to build help (#223) (cc7042f)
- sync webcomponent props with attributes (#234) (9716b26)
- update OCL to v2024.10.0 (2cee300)
- update OCL to v2024.10.1 (#233) (5eb0ed8)
8.15.0 (2024-07-25)
8.14.0 (2024-06-19)
8.13.0 (2024-05-28)
8.12.0 (2024-05-27)
- add method Molecule.getAtomQueryFeaturesObject (c1843b8)
8.11.0 (2024-05-17)
8.10.0 (2024-05-13)
- add possitility to generate smarts and kekule isomeric smiles (#204) (0290193)
- update OCL to 2024.5.0 (#203) (802d12d)
- update OCL to v2024.4.0 (#197) (70edd49)
8.9.0 (2024-02-22)
- update OCL to v2024.2.1 (afaae1e)
8.8.1 (2024-02-01)
8.8.0 (2024-01-19)
8.7.2 (2023-11-14)
8.7.1 (2023-10-16)
8.7.0 (2023-10-13)
- improve exports for ESM and add shorthand export for the full.pretty build (688aedd)
8.6.0 (2023-10-06)
8.5.0 (2023-08-14)
8.4.0 (2023-08-11)
8.3.0 (2023-04-05)
- implement SmilesParser to allow SMARTS features (#156) (2ca12ed)
- update OCL to v2023.1.2 (e134d00)
- update OCL to v2023.2.1 (#160) (9d2dd13)
- update OCL to v2023.4.0 (a886ff4)
8.2.0 (2023-01-25)
- add new CANONIZER static options (bd2eca1)
- add getAtomicNoFromLabel second argument (8aa1268)
- correct and expose all static parameters of JSMolecule (81d7361)
8.1.0 (2023-01-04)
- expose ReactionEncoder to encode / decode a reaction as a string (0d645c3)
- expose Reactor (5eb1c26)
- expose Transformer (e88d2b4)
- update OCL to v2022.10.2 (64b7d9a)
- update OCL to v2022.12.4 (#146) (8511629)
8.0.1 (2022-08-15)
- inverted red/blue colors in editor (d8d25a3)
8.0.0 (2022-08-15)
This release updates OpenChemLib to the latest version 2022.8.1. There were a lot of changes since the last update and some of them are breaking. Here's a list of the changes we were able to identify (but there may be more):
- The
setAtomQueryFeature
andgetAtomQueryFeatures
methods were removed from theMolecule
class because they now return along
in Java. - The
addRing
,addRingToAtom
andaddRingToBond
methods of theMolecule
class now take one additional parameter, calledbondLength
. - The
showSymmetryDiastereotopic
andshowSymmetryEnantiotopic
depictor options were removed. - The value of computed 3D coordinates may change.
- Generated conformers may be different (in quantity and their coordinates).
- It is no longer possible to change ring size in the atom query features dialog of the editor.
We also removed support for Node.js 12. It's still possible that the library works on this version, but it is no longer tested in CI.
- update GWT to version 2.10 (9eed1ef)
- update OpenChemLib to v2022.8.1 (1ac3899)
- Added the following new depictor options (all boolean):
showSymmetryStereoHeterotopicity
,showSymmetryAny
,noColorOnESRAndCIP
,noImplicitHydrogen
, anddrawBondsInGray
.
7.5.0 (2022-08-09)
7.4.3 (2021-10-02)
- fromIDCode: pass coordinates option to the IDCodeParser (0b8775e)
7.4.2 (2021-08-05)
- addImplicitHydrogens on 'Cl' (f2cf71f)
7.4.1 (2021-07-27)
7.4.0 (2021-03-24)
- expose a "getOCL" method on public classes (1879045)
7.3.0 (2021-01-04)
- update OCL to version 2020.12.1 (bb9c07d)
- Update OCL to 2020.1.0
- Fix repaint issue in SVG Toolbar
- Update OCL to 2019_11_05-15_48_20
- Fix: work around a bug in Chromium with SVGDepictor when SVG is printed.
- Add ConformerGenerator class.
- Add ForceFieldMMFF94 class.
- Update OCL to 2019_07_04-04_00_27
- The SVG depictor (
Molecule#toSVG
) has been improved and its visual output is now more in line with the Java version.
- Added two new options to the
toSVG
method:autoCrop
: if set totrue
, the SVG will be automatically crop to fit the bounds of the molecule. This will change the resulting dimensions of the SVG.autoCropMargin
: This is the margin (in px) kept around the molecule whenautoCrop
istrue
. Default: 5.
- Update OCL to 2019.6.0
- Added
is3D
option to theremoveExplicitHydrogens
method.
- fix(types): make all depictor options effectively optional
- Update OCL to 2019_05_03-16_18_03
- BREAKING: Node.js 6 is no longer supported
- BREAKING: The output of
Molecule.toSVG
has changed: bonds are now identified by the bond id instead of the ids of its two atoms. For example:myId:Bond:0-1
becomesmyId:Bond:0
.
- Update OCL to 2019_02_08-04_00_25
- Add missing return types in TypeScript declarations
- Support retina displays in StructureEditor
- Update OCL to 2019_01_26-04_00_26
- BREAKING: Editor: the
StructureEditor
constructor now takes a DOM element instead of an id.
- Update OCL to 2018_12_21-04_00_23
- Editor: fix bond query feature dialog
- Update OCL to 2018_12_17-16_27_18
- Added RXN methods to Reaction class
- Added more options to bond query features in editor
- Added getBounds method to Molecule class
- Update OCL to 2018_12_08-04_00_22
- Added Reaction class
- Added TypeScript declaration files
- Ported the documentation to TypeDoc
- Update OCL to 2018.12.0
- Added support for copying and pasting molfiles
- Added molecule.toIsomericSmiles(includeAtomMapping)
- Fixed display of query features
- Fixed emitting change event for modifications coming from dialogs
- Update OCL to 2018_11_03-04_00_20
- Update OCL to 2018.6.0
- feat: expose RingCollection to JS
- fix(editor): do not consider a mouse move for small movements
- feat: add factorTextSize option to toSVG
- Allow to retrieve a JSMolecule from editor
- Update OCL to 2017_11_14-04_01_01
- Update OCL to 2017_08_29-04_01_13
- Fix addMissingChirality
- Fix H mapping issue
- Use the X symbol for hydrogens in DiaID
- Identical to 5.2.7
- Use isotopes to mark atoms
- Precalculate X atom number
- Update to add missing stereochemistry based on parities helper
- update diastereotopicAtomID not to rely on CIP
- fix hoseCodeCreator
- Update OCL to 2017_06_10-04_00_52
- Update diaID
- Update OCL to 2017_04_22-04_01_31
- Fix a bug with the SMILES parser that could enter in a wrong state after parsing an invalid SMILES
- feat: add fontWeight and strokeWidth options to toSVG
- fix: Update OCL to 2017_03_03-04_00_41
- fix: Update OCL to 2017_01_28-04_00_45
- feat: add mol.toMolfileV3
- fix: Fixed SVGDepictor setLineWidth() regression.
- remove viewer build
- introduce minimal build
- do not include MoleculeProperties in minimal build
BREAKING CHANGE:
molecule.getProperties()
has been removed. new MoleculeProperties(molecule)
must be used instead.
- include full dist directory in npm and add require aliases
- SVG depictor: compute string width without canvas for Helvetica. This allows the SVG depictor to be used on Node.js
Update public methods of JSMolecule. This adds a few new methods:
- static double getDefaultAverageBondLength()
- static void setDefaultAverageBondLength(double defaultAVBL)
- int suggestBondType(int atom1, int atom2)
- double calculateTorsion(int[] atom)
- void setBondOrder(int bond,int order)
- int getMetalBondedConnAtoms(int atom)
- int getAllConnAtomsPlusMetalBonds(int atom)
- int getNonHydrogenNeighbourCount(int atom)
- int getExcludeGroupValence(int atom)
- int getLowestFreeValence(int atom)
- int getExplicitHydrogens(int atom)
- boolean isPseudoRotatableBond(int bond)
- boolean isAmideTypeBond(int bond)
- int getZNeighbour(int connAtom, int bond)
- int getHelperArrayStatus()
- update OCL to 2017.1.0
- AtomQueryFeaturesDialog: added more than 2 Hydrogens on query features
- Fix SVGDepictor: minimal bond width is now 1
- fix license issue
- fix StructureEditor not present in last release
- add more depictor options and support options in SVG depictor
- update OCL to 2016_10_25-04_00_46
- editor: fixed regression in chain placement
- update OCL to 2016_10_18-04_00_45
- editor: fix initial placement of new bond/chain/ring
- editor: fix dialog positions
- editor: fix structure change notification with keyboard
- editor: add drag and drop support
- editor: fix invasive paste issue
- fix highlighting issues
- add SVG editor version
- add compatibility with CouchDB views
- update openchemlib
- update GWT compiler
- update openchemlib
- update openchemlib
- add support for exclude group
- update openchemlib
- remove sourceURL from dist files
- toSVG now works correctly in core build
- warn that toSVG only works in a browser's window
- add DrugScoreCalculator
- add new contrib methods to generate HOSE codes and diastereotopic atom IDs
- do not use global window for
core
library (still needed for the other builds) - this allows to load any number of independant versions of
core
along with one version offull
orviewer
viewer
will probably be removed in the future, leaving onlycore
andfull
- Major: use property getters for MolecularFormula and MoleculeProperties
- update openchemlib
- fix namespace for editor and structure viewer
- refactor for and recompile with GWT 2.8.0-beta1
- add auto-generated methods to Molecule
- Editor: fixed AtomHightlight
- Editor: working query feature dialogs
- add ToxicityPredictor
- add DruglikenessPredictor
- update openchemlib
- use GWT 2.8 to fix bug in SSSearcher
- Make JS API in line with Java API
- Remove cheminfo-specific methods
- Changed prefix from actchem to OCL
- Fixed resizing issues in StructureViewer
- fix layout and missing images in editor
- fix resizing
- fix toolbar in case of multiple instances
- fix right click issues
- build without fake window
- update openchemlib
- build editor
- update openchemlib
- fix SVG depictor
- add bower.json
- update SVGDepictor
- expose molecule.getDiastereotopicAtomIDsArray
- fixed build errors for editor (missing class): this prevented exports
- add SVG output
- update chemlib
- update gwt exporter (no more globals)
- add options to Molecule.fromSmiles
- update chemlib
- fix SMILES parser
- update chemlib
- Depictor : new flag to allow suppression of stereo problems
- Depictor : fix superscript locations
- SMILES parser : @ indicators in smiles don't conflict anymore with implicit hydrogens as in [N@H]
- SMILES parser : handling of '.' was improved
- SMILES parser : detection of unusual valences was improved
- add noStereoProblem option to drawStructure
- add support for displayMode options in javascript
- add StructureViewer
- ensure invented coordinates are always the same
- update java library
- SMILES parser : custom coordinate inventor
- update java library
- Update java library
- Github webhook
- fix bugs in SMILES parser
- add molecule.ensureHelperArrays
- GWT 2.7
- no more javascript getters
- initialize molecule with 32 length arrays
- improve IDCode parser performance
- add molecule.getIDCodeAndCoordinates()
- fix bug with SSSearchWithIndex
- add dependency to actelion-ext project
- add molecule.getIDCoordinates()
- add Molecule.fromIDCode(idcode, coordinates)
- add Molecule.expandHydrogens()
- add Molecule.getDiastereotopicAtomIDs
- perf improvement : parsers and other utility classes are created only once and when needed
- add molecule.getFragmentNumbers() and molecule.getFragments()
- first release