Skip to content

v0.11.0

Latest
Compare
Choose a tag to compare
@paulsmirnov paulsmirnov released this 26 Aug 22:05

Added

  • Add a miew-react package that contains a React.js wrapper component. It is published
    as a separate miew-react package on npm.
  • Add a miew-app package with a new demo application code. The goal is to rewrite the old
    monolith plain JavaScript demo in modular React.js

Changed

  • Support shadows in sprite-based modes (Licorice, Balls and Sticks, VDW, and Trace).
  • Clip sprites with near plane instead of culling them.
  • Color residue names in the "sequence" example according to the secondary structure.
  • Use CIF format in the demo and examples instead of discontinued MMTF.
  • BREAKING CHANGE: Bump tree.js to r153. Can break your code only if you rely on specific
    three.js API yourself.

Removed

  • BREAKING CHANGE: Remove support for mmtf: prefix during loading because the format
    is discontinued and files are not served anymore. Parsing local files or specific URLs
    is still supported.
  • BREAKING CHANGE: The miew library no longer intercepts the S key. Numpad plus and minus
    are still processed but require the Alt key pressed to avoid conflicts. The keys will likely
    be removed in the future versions in favor of event handlers and API calls.

Fixed

  • Don't crash on addEventListener call if embedded in a cross-origin IFRAME.
  • Create empty molecules correctly.
  • Fix HydrophobicityColorer behavior.
  • Rebuild the geometry after enabling or disabling zSprite setting.
  • Change event name in the docs: rebuildingDone to buildingDone.
  • Fix "sequence" example to use the proper event.

Internal

  • Use the main branch as the main instead of the abandoned master.
  • Reorganize the project as a monorepo.
  • Migrate to Yarn 3.
  • Migrate to GitHub Actions for CI builds instead if TravisCI.
  • Migrate to Webpack instead of Rollup for building the library.
  • Remove IDE files from the repository.
  • Support the current Node LTS 18 and 20 for development.
  • Create a Dockerfile for building an image.
  • Convert several remaining old-style JS files to ES2015 classes.
  • Update babel and eslint configurations and fix issues.
  • Add more tests.
  • Regenerate golden images.
  • Translate help document for beginners into English.