Skip to content

Releases: Amphiluke/potprox

Improve ESM support in Node.js

27 Jan 14:17
Compare
Choose a tag to compare

Make potprox a ESM-typed Node.js package (CommonJS is also supported just as before).

Update dev. dependencies

14 Dec 08:55
Compare
Choose a tag to compare

Rebuild the project with updated dev. dependencies.

Update dev. dependencies

05 Jun 06:55
Compare
Choose a tag to compare

This release brings no changes in source code, just an update of dev. dependencies to fix potential vulnerabilities.

Make tree shaking possible

04 Nov 09:24
Compare
Choose a tag to compare

Make tree shaking possible for potprox when it’s used as an ES module.

⚠️ This release introduces breaking changes:

  • The module doesn’t provide the default export anymore, so you will need to import it either this way:
    import * as potprox from "./dist/potprox.min.mjs";
    or more selectively (which, BTW, makes tree shaking possible):
    import {Morse, Rydberg} from "./dist/potprox.min.mjs";
  • The potprox.utils object was removed. Its methods (points and rSqr) are now the methods of a potential instance.

Point generator

16 Jul 15:28
Compare
Choose a tag to compare
  • Implement the helper utility method potprox.utils.points() to generate points of a potential function.
  • Provide ES module version of potprox for production usage.
  • Revise and update dev dependencies.

v0.5.1

30 Aug 14:36
Compare
Choose a tag to compare
  • Add a static type property to identify potentials easier.
  • Add the r0 property to the LennardJones class.
  • Add a metadata comment to the browser version of the module.
  • Exclude some stuff from the installed package.

Coefficient of determination & convergence factors

22 Jul 13:20
Compare
Choose a tag to compare
  • Implement a method potprox.utils.rSqr to calculate the coefficient of determination.
  • Add an option for altering approximation settings.

v0.4.1

25 May 12:52
Compare
Choose a tag to compare

Minor fixes in README

Varshni potential (III)

25 May 10:17
Compare
Choose a tag to compare

The Varshni potential (III) class implementation.

exp-6 potential

23 May 09:31
Compare
Choose a tag to compare

The modified Buckingham potential (the exp-6 potential) class implementation.