Releases: epam/miew
Miew 0.10.0 (January 25, 2022)
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
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
v0.8.6
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 RMBtranslatePivot
fires when editing pivot is translated with RMBrepAdded
,repChanged
,repDeleted
fires on a representation set changesfetching
,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 withquaternion
instead ofangle
- Rename
fetchingFinished
->fetchingDone
,parsingFinished
->parsingDone
, old versions are deprecated - Rename
parse
->parsing
,load
->loading
,rebuild
->rebuilding
, old versions are deprecated
- Data in
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
, useparsingDone
insteadprofile
, due to deprecation of the whole profiling systemmdPlayerStateChanged
due to deprecation of animation system usagerepAdd
, userepAdded
instead
Internal
- Decrease a number of unneeded object creations in
ObjectControls
- Migrate from WebVR to WebXR usage in stereo mode
WEBVR
v0.8.5
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
andselectors.js
- Improve maintainability by splitting selectors.js into separate modules
v0.8.4
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
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
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
andSIMPLE
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
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.
v0.8.0
http://miew.opensource.epam.com/v0.8.0/
Added
- Add isosurface rendering for electron density maps. As volumetric rendering is still in its alpha, it is done through a global
modes.VD.isoMode
flag.
Changed
- Show detailed messages for WebGL initialization errors.
Removed - BREAKING CHANGES!
- Remove deprecated water bonding hack.
- Remove deprecated Complex methods.
- Remove deprecated window.MIEWS array.
- Remove deprecated Settings#override().
- Remove deprecated camera panning.
- Remove deprecated coloring ids.
- Remove deprecated themes.
- Remove deprecated old-fashioned atom labels.
- Remove deprecated API in modes, colorers, materials, palettes.
- Remove deprecated API in loaders and parsers.
- Remove deprecated presets server integration.
Fixed
- Fix the crash on clicking mode/color panel when representation list is empty.
- Fix DISTORTED and ANAGLYPH stereo modes.
- Fix incorrect shadows when molecule is moved around.
- Fix axes disappearing when fxaa is off and ao is on.
- Fix rendering issues for fxaa + outline + stereo=DISTORTED.
- Fix selection information update when the terminal was used to change selection.
- Fix raycasting performance partially. Another fix is still in progress.
Internal
- Add rendering regression tests for post-process effects, shadows and stereo modes.
- Fix some code smells and todos found by improved SonarCloud checks, refactor es5 code.