Skip to content

Latest commit

 

History

History
186 lines (133 loc) · 8.97 KB

changelog.md

File metadata and controls

186 lines (133 loc) · 8.97 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

[3.0.0] - 2018-07-29

Added

  • Added .terminate() function to webWorkerManager to clean up unnecessary workers (thanks @talkdirty!)
  • Added overlay plane metadata provider paths for group 6000 overlay tags. (thanks @kofifus!)

Changed

  • BREAKING: Web worker and codec paths no longer need to be specified, the worker is now pulled in using Webpack's worker-loader. The loadCodecsOnStartup option has been removed because it is no longer necessary.

[2.2.3] - 2018-12-05

Added

  • Added default export named 'cornerstoneWADOImageLoader' to the module

Fixed

  • Switched 'module' in package.json to point to dist/cornerstoneWADOImageLoader.min.js

[2.2.2] - 2018-10-29

Fixed

  • fix(wado-rs): Fix broken case for getTransferSyntaxForContentType

[2.2.1] - 2018-10-27

Fixed

  • Fixed failing build due to missing babel-loader dependency

[2.2.0] - 2018-10-27

Added

  • feat(dev-server) Add webpack-dev-server and hot reloading for development (#211)
  • feat(content-type): Support WADO-RS in cases where transfer-syntax is not explicitly returned (#228)
  • feat(options.beforeSend): Add headers object and parameters to the beforeSend callback to simplify transfer-syntax specification (#227)

Changed

  • chore(devDependencies): Update all dev dependencies to latest versions

Fixed

  • Fixed failing build due to Webpack issue (thanks @jssuttles!)
  • fix(loadImage) Fix for custom loaders with WebWorkers (#213) (thanks @jgabrito!)
  • fix(pixelSpacing) Fix Pixel spacing is mistakenly being set to 1.0 / 1.0 (#215) (thanks @galelis!)
  • fix(tests): Fix test timeout for Lossy transfer syntax tests (thanks @maltempi)

[2.1.4] - 2018-07-11

Fixed

  • Bad NPM Publish was providing 2.1.2 under the 2.1.3 tag. This commit is only to note that problem.

[2.1.3] - 2018-07-11

Added

  • Allow specification of alternative loading schemes via options.loader (#166, thanks @adreyfus)

Changed

  • Removed 'render' property from the returned Image. This was done so that Cornerstone could decide which rendering function to use. Note You may have issues with this if you are using a new version of Cornerstone WADO Image Loader with an old version of Cornerstone.

  • Added dicomParser to 'external'. If you are using WADO Image Loader with a packaging system that uses modules, you may need to add:

    cornerstoneWADOImageLoader.external.dicomParser = dicomParser;

    If you are using WADO Image Loader and dicomParser with script tags, you shouldn't have any issues.

Fixed

  • Fixed an unguarded for-in loop which was causing issues with WADO-RS requests.

[2.1.2] - 2018-06-05

Fixed

  • Bugfix: Update calculateMinMax strict mode behavior, PR200 Fix #198 and #199.
  • Bugfix: Fix decoder jpeg lossy bug #203
  • Fix an issue in rawgit examples by adding a fallback to convolveTask.js that points directly to rawgit with absolute url. PR192

[2.1.1] - 2018-04-18

Fixed

  • Bugfix: Webworkers getting 'window undefined' but related to Webpack update

[2.1.0] - 2018-04-11

Changed

  • Updated Webpack to version 4
  • DIST folder is now removed from the repository
  • Set W/L by default for color images

Added

  • Added useWebWorkers flag to decodeConfig
  • Added JSDoc to the transfer-syntax extraction
  • Handle signed data (thanks @jdnarvaez)
  • Added a decache function in image load object (thanks @adreyfus)

Fixed

  • Bugfix: remove the promise regardless of success or failure

[2.0.0] - 2017-12-08

Changed

  • Breaking Change!!! Switches image loader return values to support the breaking change in Cornerstone Master (https://github.com/cornerstonejs/cornerstone/commit/9448755397da10a6de6f694d83123274cbd4b38e) which requires image loaders to return an object of the form { promise, cancelFn }.
  • Breaking Change!!! Removed jQuery events from triggerEvent, lower-cased all the event names.
  • Breaking Change!!! Switched all Deferred usage to use Promises
  • Breaking Change!!! Updated to depend on Cornerstone 2.0.0 or higher

[1.0.5] - 2017-12-08

Added

  • beforeSend option now passes imageId as its second parameter. This is useful for writing beforeSend functions which have different actions depending on the image type.

Changed

  • Moved the repository from Chris Hafey's (@chafey) personal page to a new Organization (@cornerstonejs). Renamed all the relevant links. Join us at @cornerstonejs to start contributing!

[1.0.4] - 2017-11-26

Added

  • Added support for DICOM Parametric Maps

Float pixel data is rescaled to Uint16 for display and new rescale slope and intercept values are calculated. The original float pixel data is available in the image object as image.floatPixelData.

  • Added eslint-plugin-import to force paths to resolve

Changed

  • Improvements for special cases with Palette Color images (#42):

  • Check that the number of entries for the palette color LUT descriptors matches the actual data length in the LUT data. If it doesn't, then the bits allocated for the LUT must be 16, regardless of whether or not the descriptor specifies it as 8.

  • If the descriptor is wrong, update it so we can use the proper shift value.

  • Preprocess the R/G/B LUT arrays, rather than shifting each pixel individually.

[1.0.3] - 2017-11-21

Changed

  • Fix bug introduced in 1.0.2 in which WADO-URI rows/columns are undefined in the metaDataProvider (thanks @hardmaster92)

[1.0.2] - 2017-11-21

Added

  • WADO URI and WADO RS metaData providers have been updated to provide all necessary information for drawing reference lines with Cornerstone Tools (thanks @dannyrb)
  • Some basic decodeImageFrame tests have been written, though they are incomplete (feel free to send a PR!)

Changed

Version 1.0.1

  • Fix decodeLittleEndian to properly return pixelData for bitsAllocated = 1. This affected DICOM Segmentation files.
  • Fix #98: incorrect number of LUT entries issue for Palette Color images.

Version 1.0.0

  • Updated to 1.0.0 because 0.15.0 introduced a breaking change with Cornerstone injection. This doesn't break usage if you are using HTML script tags, but if you are using a module system, Cornerstone WADO Image Loader may not properly find its dependencies.

The solution for this is to inject your Cornerstone instance into Cornerstone Tools as follows:

cornerstoneWADOImageLoader.external.cornerstone = cornerstone;

An example commit doing this in the OHIF Viewer Meteor application is here: https://github.com/OHIF/Viewers/commit/012bba44806d0fb9bb60af329c4875e7f6b751e0#diff-d9ccd906dfc48b4589d720766fe14715R25

We apologize for any headaches that the breaking change in 0.15.0 may have caused for those using module systems.

  • Note: the dependencies have been updated to require Cornerstone Core 1.0.0 or above

Version 0.15.1 (deprecated due to breaking change)

  • Added native CustomEvents that are triggered parallel to the jQuery events. This is part of a transition to drop the jQuery dependency entirely.
  • Note: This version requires Cornerstone Core 0.13.2 or above, where cornerstone.events has the EventTarget interface!

e.g. CornerstoneImageLoadStart has a native CustomEvent name 'cornerstoneimageloadstart'

Version 0.15.0 (deprecated due to breaking change)

  • Further fixes for browser native ES6 module loading
  • Fix Web Worker tasks being inserted incorrectly based on priority
  • Migrate createImage, decodeJPEGBaseline8BitColor, loadFileRequest, getPixelData, and dataSetCacheManager from Deferred to Promises
  • Add dependency injection for cornerstone

Version 0.14.7

  • Bumped up cornerstone version to 0.12.2
  • Removed library Loadash and added Lodash as a DevDependency

Version 0.14.5

  • Rename loadDataSetFromPromise to loadImageFromPromise (#94)
  • Set web worker status ready after task is read (#95)
  • Fixes for dependencies after migration to Webpack (@lscoder)

Version 0.14.4

  • Migrate to new build process with Webpack and Babel. Remove grunt from WebWorker and Codec file construction. (@lscoder)
  • Fixes for examples after inital migration steps (@kofifus, @lscoder)
  • Typo in package.json (@JMiha)
  • Bug fix for the inital draw of color images with WW/WC 255/128
  • Bug fixes for JPEG Baseline 8 Bit decoding (#46)