Skip to content

Releases: epam/miew

v0.12.0

Choose a tag to compare

@paulsmirnov paulsmirnov released this 09 Jun 16:16

Added

  • miew-react: The Viewer component now accepts className, style, id, title, event handlers, data-* and aria-* attributes, and other standard HTML <div> props, making it easy to style and integrate the viewer into any layout. Added comprehensive prop validation and error handling to the Viewer component.

Changed

  • BREAKING CHANGE: Upgraded the WebGL renderer to WebGL 2.0, replacing deprecated extension APIs with built-in WebGL 2.0 equivalents. Updated shaders to GLSL 3.0, restoring ambient occlusion, shadows, electron density, sprite-based rendering modes, and other visual effects that had regressed with the newer Three.js renderer.
  • miew-react: BREAKING CHANGE: Upgraded the React peer dependency to version 19.

Fixed

  • Fixed an always-false condition check in the component edit mode.

Internal

  • Updated third-party dependencies.
  • Use Node.js 24.

Links

v0.11.1

Choose a tag to compare

@paulsmirnov paulsmirnov released this 14 Oct 17:33

Fixed

  • Don't crash when auto-bonding fails.

v0.11.0

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.

v0.10.0 - ⚠️ YANKED

Pre-release

Choose a tag to compare

@r1z3rISGOD r1z3rISGOD released this 25 Jan 14:09

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

Choose a tag to compare

@NataliaDSmirnova NataliaDSmirnova released this 23 Mar 18:08

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

Choose a tag to compare

@NataliaDSmirnova NataliaDSmirnova released this 07 Feb 12:16

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

Fixed

  • Fix deploying to npm in travis config

v0.8.6

Choose a tag to compare

@NataliaDSmirnova NataliaDSmirnova released this 01 Feb 13:20

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

  • Refactor Event system (https://github.com/epam/miew/blob/master/docs/tutorials/events.md)
    • Data in rotate event is replaced with quaternion instead of angle
    • Rename fetchingFinished->fetchingDone, parsingFinished->parsingDone, old versions are deprecated
    • Rename parse->parsing, load->loading, rebuild->rebuilding, old versions are deprecated

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

Choose a tag to compare

@NataliaDSmirnova NataliaDSmirnova released this 27 Dec 12:54

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

Choose a tag to compare

@NataliaDSmirnova NataliaDSmirnova released this 11 Nov 08:47

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

Choose a tag to compare

@NataliaDSmirnova NataliaDSmirnova released this 20 Sep 11:45

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