Skip to content

Releases: epam/miew

v0.11.0

26 Aug 22:05
Compare
Choose a tag to compare

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.

v0.10.0 - ⚠️ YANKED

25 Jan 14:09
Compare
Choose a tag to compare
Pre-release

Summary

The main goal of this release is to close technical debt and prepare for future expansion.
The foundation has been laid for the implementation of various presentation layers. As part of this release, in particular, React support is implemented in the miew-react package, which is also available via NPM.

New features and improvements

  • Update Three.js to the latest version #342
  • Update Yarn to the latest version #339
  • Set up Babel and Linters #346
  • Refactor launch commands #350
  • Reconfigure Rollup configs #352
  • Create and configure miew-react workspace #345
  • Reorganize monorepo structure #353
  • Migrate to GitHub actions #349
  • GitHub Actions Security vulnerabilities #357
  • Configure miew-react workspace #360
  • Set up redux for miew-react #364
  • Remake global imports Three and Lodash #379
  • Audit and refactor scripts #373
  • Update banners #381
  • Set up styled components for styling #367
  • Migrate to TypeScript #371
  • Rename workspaces with proper names #375
  • Configure Editor component in miew-react package #359
  • Define types for Miew options #386
  • Add theme prop support to viewer component #387

BREAKING CHANGES!

The miew package now contains named and default exports.
If you use our application as a minified miew.min.js file, then you can now access the Miew constructor only through the miew namespace as follows:

const { Miew } = miew
const viewer = new Miew({ load: '1CRN' })

v0.9.0

23 Mar 18:08
Compare
Choose a tag to compare

https://miew.opensource.epam.com/v0.9.0/

Added

  • Add unittests for Atom and Molecule

Changed - BREAKING CHANGES!

  • Move threejs and lodash to external dependencies (halving size of Miew bundle). See examples for migrating ideas.

Removed - BREAKING CHANGES!

  • Remove deprecated GXProfiler and Miew.profile
  • Remove dispatching of deprecated events

Fixed

  • Fix crash in IE when turning on the effects which are not supported by the browser
  • Fix crash on uploading molecule with ssao on
  • Remove permanent rebuild after Menu close in case when nothing has changed

Internal

  • Make ViewInterpolator being an object to prevent its sharing between several instances of Miew
  • Remove primitive getters from Atom and Molecule, use members instead
  • Simplify Atom.name
  • Remove a code for building chemical formula, it's obsolete
  • Implement shadowmaps using common renderer.scene routine for future overcome of threejs restrictions in shadowmaps for zSprites modes

v0.8.7

07 Feb 12:16
Compare
Choose a tag to compare

https://miew.opensource.epam.com/v0.8.7/

Fixed

  • Fix deploying to npm in travis config

v0.8.6

01 Feb 13:20
Compare
Choose a tag to compare

https://miew.opensource.epam.com/v0.8.6/

Added

  • Add dispatching of new events (https://github.com/epam/miew/blob/master/docs/tutorials/events.md):
    • translate fires when molecule is translated with RMB
    • translatePivot fires when editing pivot is translated with RMB
    • repAdded, repChanged, repDeleted fires on a representation set changes
    • fetching, exporting, exportingDone
  • Add an example for the events usage and events description document

Changed

Deprecated

  • Deprecate broken animation API until refactoring of animation system: Miew._startAnimation(), Miew._stopAnimation(), Miew._pauseAnimation(), Miew._continueAnimation()
  • Deprecate using of obsolete performance profiler via Miew.benchmarkGfx()
  • Deprecate the set of obsolete events:
    • onParseDone, onParseError, use parsingDone instead
    • profile, due to deprecation of the whole profiling system
    • mdPlayerStateChanged due to deprecation of animation system usage
    • repAdd, use repAdded instead

Internal

  • Decrease a number of unneeded object creations in ObjectControls
  • Migrate from WebVR to WebXR usage in stereo mode WEBVR

v0.8.5

27 Dec 12:54
Compare
Choose a tag to compare

https://miew.opensource.epam.com/v0.8.5/

Added

  • Add parameter of line thickness for the Outline effect
  • Add example of Rect application that uses Miew

Changed

  • Update a year in copyright

Fixed

  • Fix warnings in the console from threejs
  • Fix crash after setting a number as a parameter of setting shadow.on

Internal

  • Add unit tests for modules options.js and selectors.js
  • Improve maintainability by splitting selectors.js into separate modules

v0.8.4

11 Nov 08:47
Compare
Choose a tag to compare

https://miew.opensource.epam.com/v0.8.4/

Added

  • Add parser for MOL2 molecular format
  • Add exporter for geometry information into FBX unicode format
  • Add button 'Export FBX' in Demo application menu 'Tools'
  • Add example of using ImmediateLoader

Changed

  • Change all Miew links to https://miew... instead of http://miew...
  • Refactor unit tests for settings.js and logger.js

Fixed

  • Fix rendering of electron density in stereo mode
  • Fix rendering of electron density bbox with visual effects
  • Fix a crash in modified DNA processing (e.g. 1K1R)

Internal

  • Rafactor normal storage in G-buffer
  • Generalize TraceMesh into InstancedMesh
  • Refactor the algorithm of simultaneously applying fog and ambient occlusion effects

v0.8.3

20 Sep 11:45
Compare
Choose a tag to compare

https://miew.opensource.epam.com/v0.8.3/

Added

  • Add parsers for GRO molecular formats
  • Support shadows effect for the Trace mode

Fixed

  • Fix screenshot orientation in Safari
  • Fix screenshot size for HiDPI displays
  • Fix disabled button of representation addition in GUI

v0.8.2

19 Aug 08:26
Compare
Choose a tag to compare

https://miew.opensource.epam.com/v0.8.2/

Added

  • The parameter resolution now effects image quality for Electron Density.
  • Add API and terminal command to center view on selection via miew.center.
  • Load file in Load dialog after pressing 'Enter'.

Fixed

  • Clear info panel in demo application when data haven't been loaded.
  • Fix Miew crash when adding representation if data was not loaded.
  • Fix bug with incorrect discard behavior in component mode.
  • Fix wrong scaling molecules in DISTORTED and SIMPLE stereo modes.
  • Fix 'magic' rectangular lines appearing on laptops with Intel embedded GPU board.
  • Fix disappearing of the molecule after 'ao' turning off.

Known issues

  • Bounding box lines in Electron Density may disappear when ao is turned on.

v0.8.1

01 Jul 09:37
Compare
Choose a tag to compare

http://miew.opensource.epam.com/v0.8.1/

Fixed

  • Do not show the last pick information when selection was changed via the terminal.
  • Update the selection notification when the displayed unit changes.
  • Fix backdrop material so it works for sprite-based modes (B&S, VDW...)
  • Fix a bug in Cartoon geometry which led to bad raycasting performance.

Internal

  • Visual regression tests are now run in headless Chrome. This allows lowering error threshold and
    comparing results obtained on different graphics hardware. It is a big step towards distributed
    testing in cloud.