2013-03-25 09:51:58 -07:00
OPENSEADRAGON CHANGELOG
=======================
2024-08-14 09:37:49 -07:00
5.0.1: (in progress...)
2024-09-24 09:50:10 -07:00
* Improved overlay handling so it plays better with other libraries (#2582 @BeebBenjamin)
2024-11-15 09:32:07 -08:00
* WebGLDrawer now supports the imageSmoothingEnabled option (#2615 @pearcetm)
2024-08-16 09:39:04 -07:00
* Fixed: If you switched from WebGL drawer to canvas drawer, it didn't clean up properly (#2570 @pearcetm)
2024-10-08 09:26:56 -07:00
* Fixed: TiledImage.setClip would sometimes leave tiles unloaded (#2590 @pearcetm)
2024-10-28 09:17:59 -07:00
* Fixed: The WebGL drawer didn't support viewportMargins (#2600, #2606 @pearcetm)
2024-08-16 09:39:04 -07:00
2024-08-14 09:31:15 -07:00
5.0.0:
2023-05-25 13:58:21 -07:00
2024-06-23 16:35:22 -07:00
* BREAKING CHANGE: Dropped support for IE11 (#2300, #2361, #2553 @AndrewADev, @msalsbery)
2023-06-21 14:19:06 -07:00
* DEPRECATION: The OpenSeadragon.createCallback function is no longer recommended (#2367 @akansjain)
2024-07-17 09:19:32 -07:00
* The viewer now uses WebGL when available (#2310, #2462, #2466, #2468, #2469, #2472, #2478, #2488, #2492, #2521, #2537, #2557, #2558 @pearcetm, @Aiosa, @thec0keman)
2024-01-25 11:26:33 -08:00
* Added webp to supported image formats (#2455 @BeebBenjamin)
2024-06-14 14:51:31 -07:00
* Added avif to supported image formats (#2544 @msalsbery)
2023-08-08 09:39:45 -07:00
* Introduced maxTilesPerFrame option to allow loading more tiles simultaneously (#2387 @jetic83)
2023-08-22 10:21:35 -07:00
* Now when creating a viewer or navigator, we leave its position style alone if possible (#2393 @VIRAT9358)
2024-04-05 09:20:02 -07:00
* Added getter & setter for Viewport.maxZoomPixelRatio (#2506 @eug-L)
2024-07-16 09:36:24 -07:00
* Overlays are now positioned properly when the viewport is flipped (#2546 @BeebBenjamin)
* Added overlayPreserveContentDirection option to keep overlays readable when viewport is flipped (#2546 @BeebBenjamin)
2023-07-17 14:03:59 -07:00
* Test improvements (#2382 @AndrewADev)
2023-07-31 13:16:36 -07:00
* MouseTracker options documentation fixes (#2389 @msalsbery)
2024-04-03 09:28:56 -07:00
* Improved documentation and error message for Viewport.imageToViewportZoom (#2505 @eug-L)
2024-04-08 09:36:39 -07:00
* Fixed documentation typos (#2507 @frameflare)
2024-08-05 09:28:19 -07:00
* Additional documentation fixes (#2563 @msalsbery)
2023-08-08 09:39:45 -07:00
* Fixed: Sometimes if the viewport was flipped and the user zoomed in far enough, it would flip back (#2364 @SebDelile)
2023-11-13 09:57:19 -08:00
* Fixed: Two-finger tap on a Mac trackpad would zoom you out (#2431 @cavenel)
2024-02-01 09:43:51 -08:00
* Fixed: dragToPan gesture could not be disabled when flickEnabled was activated (#2464 @jonasengelmann)
2024-02-12 09:32:37 -08:00
* Fixed: placeholderFillStyle didn't work properly when the image was rotated (#2469 @pearcetm)
* Fixed: Sometimes exponential springs wouldn't ever settle (#2469 @pearcetm)
2024-03-07 09:24:47 -08:00
* Fixed: The navigator wouldn't update its tracking rectangle when the navigator was resized (#2491 @pearcetm)
2024-04-12 09:24:16 -07:00
* Fixed: The drawer would improperly crop when the viewport was flipped and a tiled image was rotated (#2511 @pearcetm, @eug-L)
2024-04-29 10:41:38 -07:00
* Fixed: Flipped viewport caused image to be flipped again when going fullscreen or resizing (#2518 @pearcetm)
2024-06-10 09:27:44 -07:00
* Fixed: Viewer ajax options (loadTilesWithAjax, ajaxHeaders, and ajaxWithCredentials) weren't being propogated to the navigator. (#2539 @eug-L)
2023-05-25 14:37:50 -07:00
2024-04-01 10:12:04 -07:00
4.1.1:
* Fixed: Strange behavior if IIIF sizes were not in ascending order (#2416 @lutzhelm)
2023-05-25 13:53:17 -07:00
4.1.0:
2022-12-16 14:22:50 -08:00
2023-05-24 14:03:14 -07:00
* NEW BEHAVIOR: When `navigatorRotate` is false, while the navigator image doesn't rotate, the red outline now does (#2356 @lcl45)
2023-03-16 13:26:59 -07:00
* The viewer no longer emits `canvas-key` events for both keydown and keypress events; canvas-key is now just for keydown, and the new `canvas-key-press` is for keypress (#2270 @hrghauri)
2023-01-24 14:58:13 -08:00
* You can now specify a priority when calling addHandler, to control when your event handler gets called relative to others (#2273 @Aiosa)
2023-04-10 14:23:31 -07:00
* Added tileRetryMax and tileRetryDelay options, so the viewer can retry loading failed tiles (#2238 @Ughuuu @paaddyy, #2334 @Ughuuu @Titan21)
2023-02-16 14:16:56 -08:00
* All of the viewers keyboard handling is now in response to keydown events (it used to be split between keydown and keypress) (#2291 @MohitBansal321)
2023-03-16 13:26:59 -07:00
* Added `canvas-focus` and `canvas-blur` events to Viewer (#2301 @MohitBansal321)
2023-03-06 14:25:38 -08:00
* You can now more easily add custom buttons to the viewer (#2306 @MohitBansal321)
2023-03-10 13:52:32 -08:00
* The fitBounds function now takes zoom constraints into account (#2293 @pearcetm)
2023-03-16 13:26:59 -07:00
* The viewer now has an `after-resize` event what happens after the viewport bounds have been updated, to complement the `resize` event which happens before (#2317 @pearcetm)
2023-04-27 14:27:09 -07:00
* IIIFTileSource now uses resolution level dimensions provided in the info.json "sizes" field for more accurate tile requests (#2337 @ruven)
2023-05-19 15:04:46 -07:00
* Added setAjaxHeaders method to Viewer and TiledImage (#2346 @uschmidt83)
2023-02-17 14:01:56 -08:00
* Improved documentation (#2297 @KevinBritten)
2023-03-16 13:26:59 -07:00
* Fixed: The `tile-loaded` event's completionCallback could be called more than once in some circumstances (#2282 @Aiosa, @pearcetm)
* Fixed: Navigator display rectangle was off if the page had `box-sizing: border-box` (#2276 @ambujsahu81)
2023-01-24 14:58:13 -08:00
* Fixed: Code that required identifying functions would fail for async functions (#2273 @Aiosa)
2023-01-26 14:13:52 -08:00
* Fixed: Reference strip click detection was not accurate for long reference strips (#2280 @damonsson)
2023-03-14 14:02:07 -07:00
* Fixed: Translation problems in some circumstances with cropping polygons enabled (#2316 @pearcetm)
2023-03-31 15:30:19 -07:00
* Fixed: The navigator area rectangle would grow larger when you zoom in very far (#2318 @donotloveshampo)
2023-04-04 14:51:05 -07:00
* Fixed: JSON with embedded XML was being incorrectly identified as XML (#2328 @craigberry)
2023-04-06 14:26:15 -07:00
* Fixed: Touch/pinch rotate was not working properly on some platforms (#2324 @rsimon, @pearcetm)
2023-04-07 13:49:12 -07:00
* Fixed: Navigator rotation didn't honor `immediately` parameter (#2333 @robertjcolley)
2023-05-04 13:45:06 -07:00
* Fixed: The navigator didn't update for its new size in certain circumstances (#2347 @pearcetm)
2022-12-16 14:22:50 -08:00
2022-12-16 14:17:28 -08:00
4.0.0:
2022-06-07 14:06:11 -07:00
2023-04-06 14:12:30 -07:00
* NEW BEHAVIOR: Setting the viewport rotation now animates by default (pass true for the new `immediately` parameter to disable) (#2136 @jonasengelmann)
2022-12-16 13:57:02 -08:00
* NEW BEHAVIOR: The auto resize now takes both width and height into account when scaling the contents proportionally to the viewer (#2256 @pearcetm)
2022-08-23 14:17:39 -07:00
* DEPRECATION: Don't access the viewport's degrees property directly anymore; instead use setRotation and getRotation (#2136 @jonasengelmann)
2022-11-16 14:26:18 -08:00
* New gesture: Double-click and drag to zoom (on by default for touch) (#2225 @HamzaTatheer)
2022-12-06 13:54:38 -08:00
* You can now provide a pivot point when rotating the viewport (#2233 #2253 @pearcetm)
2022-11-30 14:14:21 -08:00
* Improved the constraints that keep the image in the viewer, specifically when zoomed out a lot (#2160 @joedf, #2246 @pearcetm)
2022-06-14 14:29:14 -07:00
* You can now provide an element for the navigator (as an alternative to an ID) (#1303 @cameronbaney, #2166 #2175 @joedf)
2022-06-20 13:59:58 -07:00
* Now supporting IIIF "id" and "identifier" in addition to "@id" (#2173 @ahankinson)
2022-06-28 14:15:35 -07:00
* We now delegate tile fetching and caching to the TileSource, to allow for custom tile formats (#2148 @Aiosa)
2022-12-02 14:18:22 -08:00
* Added support for dynamic URLs from tile sources (#2247 @JohnReagan)
2022-11-29 13:53:35 -08:00
* The viewer now emits before-destroy and destroy events (#2239 @pearcetm)
2022-12-16 13:57:02 -08:00
* Auto resize detection is now more efficient (#2256 @pearcetm)
2022-10-20 14:23:27 -07:00
* Improved documentation (#2211 @shyamkumaryadav)
2022-07-26 14:58:07 -07:00
* Fixed: Cropping tiled images with polygons was broken (#2183 @altert)
2022-12-15 14:03:46 -08:00
* Fixed: Boundary constraints were wrong when the viewport was rotated (#2249 @pearcetm)
2022-12-07 14:27:43 -08:00
* Fixed: IIIF tile sizes would be calculated wrong on rare occasions (#2206 @filak)
2022-08-01 14:19:22 -07:00
* Fixed: Disabling buttons only changed their appearance, but they were still clickable (#2187 @pearcetm)
2022-08-23 14:03:59 -07:00
* Fixed: ImageTileSource produced an error having to do with getTileHashKey (#2190 @Aiosa)
2022-10-24 14:17:51 -07:00
* Fixed: On startup you would get an unnecessary "Viewer.buttons is deprecated" warning (#2201 @joedf, #2219 @jssullivan, #2212 @joedf)
2022-06-09 15:44:03 -07:00
2022-06-07 14:00:35 -07:00
3.1.0:
2021-12-15 11:38:29 -08:00
2021-12-23 11:47:41 -08:00
* Added subPixelRoundingForTransparency Viewer option to address seams that can appear in semi-transparent images (#2075 @TanukiSharp)
* Added Viewer.isAnimating() (#2075 @TanukiSharp)
2021-12-17 14:56:50 -08:00
* Added isFullScreen method to Viewer (#2067 @JachiOnuoha)
2022-06-07 14:00:35 -07:00
* Added option to include POST data when loading files via Ajax (#2072 @Aiosa)
* Exposed TiledImage's private functions for better maintainability (#2134 @Aiosa)
* Tile cache keys are now generated by the tile source, so it's easier to override them as needed (#2138 @Aiosa)
* Pinch to zoom now zooms around the center of the pinch, rather than the center of the viewer (#2158 @cavenel)
* Added fallback and deprecation warning for Viewer.buttons (which got changed to buttonGroup in 3.0.0) (#2153 @devbyjonah)
2021-12-17 14:56:50 -08:00
* Fixed an issue where turning off panVertical or panHorizontal would not affect the panning keyboard combos (#2069 @JachiOnuoha)
* Cleaned up console.logs so that errors and warnings use console.error and console.warn as appropriate (#2073 @Abhishek-90)
2022-05-10 13:51:58 -07:00
* Improved documentation (#2067 @JachiOnuoha, #2112 @shyamkumaryadav, #2152 @joedf, #2155 @samwilson)
2022-03-01 14:07:01 -08:00
* Fixed: Setting useCanvas to false would break the viewer (#2116 @rvv-bouvet)
2022-03-04 14:17:02 -08:00
* Allow silencing multi-image warnings on viewport coordinate conversion functions (#2120 @claycoleman)
2022-03-15 14:54:08 -07:00
* Fixed: Swiping fast multiple times made contact points in MouseTracker out of sync for touch events (#2121 @ronnymikalsen)
2022-04-19 13:46:08 -07:00
* Made MouseTracker more robust in certain scenarios (#2134, #2147 @Aiosa)
2022-04-13 13:49:06 -07:00
* Fixed an issue where full page mode wouldn't grow properly if you resized the window (#2100 @TanukiSharp)
2022-04-15 14:16:06 -07:00
* Now if you pass an error handler into makeAjaxRequest, it doesn't report errors into the console (#2142 @Aiosa)
2022-05-02 14:35:30 -07:00
* Fixed error caused by attaching MouseTracker to the page's document element (#2145 @tdiprima)
2022-05-18 15:39:02 -07:00
* Fixed an issue that would sometimes cause problems with freeing up ImageTileSource memory (#2162 @pearcetm)
2021-12-17 14:56:50 -08:00
2021-12-15 11:38:29 -08:00
3.0.0:
2020-03-05 10:20:37 -08:00
2021-03-12 11:37:36 -08:00
* BREAKING CHANGE: Dropped support for older browsers (IE < 11) (#1872 #1949 #1951 @msalsbery, #1950 @rmontroy)
2021-03-08 16:10:15 -08:00
* BREAKING CHANGE: Removed deprecated OpenSeadragon.getEvent function (#1949 @msalsbery)
2020-08-14 21:37:26 -07:00
* DEPRECATION: MouseTracker exitHandler deprecated for name change to leaveHandler for consistency with DOM event names (#1872 @msalsbery)
2020-04-30 10:10:38 -07:00
* Now when "simple image" tile sources are removed from the viewer, they free the memory used by the pyramid they create (#1789 @TakumaKira)
2021-06-23 11:54:13 -07:00
* Improvements to docs (#1814 @kenanchristian, #1872 @msalsbery, #1996 @tdiprima)
2020-06-10 10:07:41 -07:00
* Better cleanup on destruction, to avoid memory leaks (#1832 @JoFrMueller)
2021-03-08 08:18:40 -05:00
* Better handle destruction when navigator in custom location (#1884 @woodchuck)
2020-06-30 10:52:38 -07:00
* Miscellaneous code cleanup (#1840 @msalsbery)
2020-08-14 10:25:14 -07:00
* You can now specify tileSize for the Zoomify Tile Source (#1868 @abrlam)
2020-08-24 17:39:45 -07:00
* Better use of IIIF "max" and "full" URL parameters (#1871 @MImranAsghar)
2020-11-20 15:22:52 -08:00
* You can now specify the file format of the tiles in the Zoomify tile source (#1889 @abrlam)
2020-08-14 20:50:37 -07:00
* Improved browser sniffing - detect EDGE and CHROMEEDGE browsers (#1872 @msalsbery)
* Improved DOM event model feature detection (#1872 @msalsbery)
* Added support for options parameter on addEvent()/removeEvent (to support passive option) (#1872 @msalsbery)
* Added OpenSeadragon.eventIsCanceled() function for defaultPrevented detection on DOM events (#1872 @msalsbery)
* MouseTracker: better PointerEvent model detection - removed use of deprecated window.navigator.pointerEnabled (#1872 @msalsbery)
* MouseTracker: added overHandler/outHandler options for handling corresponding pointerover/pointerout events (#1872 @msalsbery)
* MouseTracker: changed enterHandler/leaveHandler to use DOM pointerenter/pointerleave events instead of simulating using pointerover/pointerout (#1872 @msalsbery)
* All internal uses of MouseTracker use pointerenter/pointerleave events instead of pointerover/pointerout events for more consistent pointer tracking (#1872 @msalsbery)
* Fixed bug in Button class where two MouseTracker event handlers used an invalid "this" causing issues in some browsers (#1872 @msalsbery)
* Added pointerType property to Viewer container-enter, container-exit, canvas-drag, canvas-drag-end, canvas-pinch events (#1872 @msalsbery)
* MouseTracker: Fire dragEndHandler event even if release point same as initial contact point (#1872 @msalsbery)
* MouseTracker: Pointer capture implemented with capture APIs where available. Only fallback to emulated capture on extremely old browsers (#1872 @msalsbery)
* MouseTracker: Added preProcessEventHandler option to allow MouseTracker instances to control bubbling and default behavior of events on their associated element (#1872 @msalsbery)
* MouseTracker: Improved handling of canceled events (#1872 @msalsbery)
* MouseTracker: Improved releasing of tracked pointers on destroy()/stopTracking() (#1872 @msalsbery)
* Updated Viewer, Button, Drawer, Navigator, ReferenceStrip DOM for proper DOM event handling (#1872 @msalsbery)
* Added OpenSeadragon.setElementPointerEventsNone() for setting pointer-events:'none' on DOM elements (#1872 @msalsbery)
2020-08-25 11:46:35 -07:00
* MouseTracker: added contextMenuHandler option for handling contextmenu events (#1872 @msalsbery)
* Viewer: added a canvas-contextmenu event (#1872 @msalsbery)
2021-03-08 15:42:12 -08:00
* Fixed simulated drag events in navigator tests (#1949 @msalsbery)
2021-03-10 16:05:22 -08:00
* Added preventDefault option to MouseTracker.contextMenuHandler and Viewer 'canvas-contextmenu' event args (#1951 @msalsbery)
* MouseTracker: Added preProcessEventHandler for keydown, keyup, keypress, focus, blur Events (#1951 @msalsbery)
2021-03-11 20:34:24 -08:00
* Fixed preventDefaultAction functionality in viewer events (#1953 @msalsbery)
2021-03-16 11:53:13 -07:00
* Added setImageFormatsSupported function (#1954 @pandaxtc)
2021-03-16 10:42:54 -07:00
* Added dragToPan to the GestureSettings class, implemented in Viewer (#1956 @msalsbery)
2021-03-16 19:48:08 -07:00
* Added preventDefault option to MouseTracker handlers: scrollHandler, keyDownHandler, keyUpHandler, keyHandler (#1957 @msalsbery)
2021-03-17 15:24:18 -07:00
* Fixed test "Events: Viewer: preventDefaultAction in dblClickHandler". Fixes #1372 (#1960 @msalsbery)
2021-03-17 13:06:41 -07:00
* ReferenceStrip: Fixed issue where its element was being removed from its parent element twice on destroy, causing an exception (#1958 @msalsbery)
* ReferenceStrip: Made its element focusable for keyboard navigation (#1958 @msalsbery)
2021-03-26 13:43:29 -07:00
* You can now flip individual images (not just the whole viewport) (#1903 @ali1234)
2021-03-26 13:47:06 -07:00
* Accessibility: we now take the browser's zoom into account when choosing what detail level to draw (#1937 @ronnymikalsen)
2021-04-08 11:34:14 -07:00
* Fixed a bug causing overlays to disappear in Sequence Mode (#1865 @gunmiosb)
2021-04-19 11:30:13 -07:00
* Fixed a bug where the ajaxHeaders provided per-image were not being used for image requests (#1968 @maxshuty)
2021-05-03 13:48:33 -07:00
* MouseTracker: Added workaround for WebKit Pointer Event Implicit Capture Bug (#1972 @msalsbery)
2021-05-03 13:57:14 -07:00
* Removed test for move-leave (fly-over, no enter event)...not a valid, handleable event state, no longer supported (#1972 @msalsbery)
2021-05-05 12:43:53 -07:00
* Added OpenSeadragon.setElementPointerEvents() for setting pointer-events to other values besides 'none' on DOM elements (#1972 @msalsbery)
2021-06-21 11:44:01 -07:00
* Now ensuring the page body is display:block when in fullscreen (#1995 @thewilkybarkid)
2021-07-05 11:48:04 -07:00
* Added a static method in OpenSeadragon to get an existing viewer (#2000 @HerCerM)
2021-07-08 11:11:58 -07:00
* Now ensuring that the new item is already in the navigator when the "add-item" event fires (#2005 @RammasEchor)
2021-07-13 11:16:35 -07:00
* Added keys to change image in sequence mode (j: previous, k: next) (#2007 @RammasEchor)
2021-09-24 16:23:19 -07:00
* Fixed a bug where the navigator wouldn't pick up opacity/composite changes made while it is loading (#2018 @crydell)
2021-09-27 11:38:31 -07:00
* Explicitly set passive:false for wheel event handlers to suppress console warnings. Fixes #1669 (#2043 @msalsbery)
2021-09-27 11:34:15 -07:00
* Viewer's canvas-click events now include an originalTarget property so you can know which element received the click (#2037 @iangilman)
2021-11-17 15:10:23 -08:00
* Added method for getting the size of an image in window coordinates (#2049 @superbland)
2021-12-01 11:31:49 -08:00
* Added a setMaxLevel function to TileSource so you can change its maxLevel if needed (#2059, #2066 @kim-sanghoon)
2020-03-05 10:20:37 -08:00
2020-03-05 10:15:28 -08:00
2.4.2:
2019-07-03 15:01:49 -07:00
2020-03-05 10:15:28 -08:00
* Add support for IIIF Image API 3.0 beta (#1764)
* You can now crop an image with arbitrary polygons (#1772)
2019-07-22 15:24:20 -07:00
* Improved support for using the Reference Strip in an OpenSeadragon Viewer inside a Web Component (#1676)
2019-08-07 10:47:05 -07:00
* Added setWidth and setHeight methods to Navigator (#1686)
2019-10-09 13:37:26 -07:00
* Improvements to docs (#1696, #1698, #1716, #1719)
2019-08-23 10:07:07 -07:00
* Now passing Viewer AJAX configs down to ReferenceStrip thumbnails (#1701)
2019-11-20 14:18:40 -08:00
* The ReferenceStrip now honors the useCanvas option from the Viewer (#1742)
2020-03-05 10:15:28 -08:00
* Fixed: Navigator was still resizing after you explicitly set its width and height with navigatorWidth and navigatorHeight (#1686)
2019-12-19 09:53:16 -08:00
* Fixed issues with touches on iOS 13 and iPad (#1754, #1756)
2019-12-30 10:07:07 -08:00
* No longer throwing an exception on pages that have malformed URL parameters (#1758)
2020-02-24 15:09:33 -08:00
* Fixed an issue with flipping the viewport on high pixel density screens (#1779)
2020-03-05 10:15:28 -08:00
* Removed use of deprecated imageSmoothingEnabled prefixes (#1740)
2019-07-03 15:01:49 -07:00
2019-07-03 14:56:51 -07:00
2.4.1:
2018-07-20 09:47:45 -07:00
2019-04-19 10:11:47 -07:00
* You can now turn off the default canvas image smoothing, if you want sharp pixels when zoomed in past 100% (#1507, #1593, #1595, #1647, #1648)
2018-08-10 09:51:15 -07:00
* Fixed problem with navigator highlight rectangle when returning from full screen with a custom navigator location (#1515)
2018-08-22 09:26:12 -07:00
* Added option to set rotation increment for nav buttons and keyboard (#1524)
2018-10-22 11:20:15 -07:00
* Fixed issue with flipping and opacity with multi-image (#1549)
2018-10-31 09:47:42 -07:00
* Removed vestigial button group label element that was causing issues for accessibility tools (#1560)
2018-11-01 09:13:15 -07:00
* Fixed a bug causing Viewer.areControlsEnabled to throw an exception (#1562)
2019-03-19 10:49:52 -07:00
* Added tileFormat option to IIIFTileSource so you can specify the tile format (#1625)
2019-03-21 09:45:02 -07:00
* Now using canonical URIs more consistently in IIIF to make caching and processing time easier on the server side (#1625)
2019-06-24 09:55:27 -07:00
* Added support for IIIF's new preferredFormats property (#1656)
2018-08-10 09:40:07 -07:00
2018-07-20 09:43:13 -07:00
2.4.0:
2017-09-19 09:58:14 -07:00
2017-09-19 10:13:21 -07:00
* BREAKING CHANGE: Viewer's canvas-double-click event is now fired before it initiates the zoom (#1288)
2018-06-07 09:50:52 -07:00
* You can now flip the viewport to get a mirror image of the original (#1441)
2017-09-19 10:13:21 -07:00
* You can now prevent canvas-double-click events from zooming on a per-event basis (#1288)
2017-10-06 10:04:15 -07:00
* Fixed: Opacity 0 images were causing unnecessary redraws (#1319)
2017-10-30 09:22:59 -07:00
* The "page" event is now fired after the page index has been updated (#1330)
2017-12-15 10:08:34 -08:00
* Added option pixelsPerArrowPress that sets the speed of arrow keys (#1364)
2018-02-26 13:37:08 -08:00
* Improved IIIF options.maxLevel calculation (#1401)
2018-03-07 09:28:20 -08:00
* Added canvas-key events, along with the ability to cancel key actions (#1414)
2018-03-19 10:21:19 -07:00
* Added optional zoom in the middle of the image instead of pointer position (#1423)
2018-03-23 09:22:45 -07:00
* Now supporting square edge tiles that are padded rather than cropped (#1426)
2018-04-16 09:47:15 -07:00
* Fixed an issue causing the simple image tileSource to sometimes show duplicate copies (#1370)
2018-06-06 11:51:18 -07:00
* Fixed an issue causing seams to appear in semi-transparent PNG tiled images (#1470)
2018-06-15 13:17:35 -07:00
* Added visual customization options for the navigator (#1480)
2018-06-29 10:29:08 -07:00
* You can now prevent canvas-drag events on the navigator (#1484)
2018-06-29 10:37:27 -07:00
* You can now prevent canvas-click events on the navigator (#1416)
* The navigator can now be restricted to just horizontal or just vertical panning (#1416)
2018-07-06 13:17:46 -07:00
* Fixed DziTileSource so it doesn't load levels above maxLevel or below minLevel, if set (#1492)
2020-07-24 20:05:39 -07:00
2017-09-19 09:54:38 -07:00
2.3.1:
2017-07-14 16:48:16 -07:00
2017-08-01 13:11:09 -07:00
* Debug mode now uses different colors for different tiled images (customizable via debugGridColor) (#1271)
2017-08-03 10:49:52 -07:00
* Fixed a problem with preventDefaultAction for the canvas-drag event (#1278)
2017-08-07 10:54:02 -07:00
* Fixed an issue causing double images with certain aspect ratios (#1280)
2017-08-10 10:39:02 -07:00
* Fixed: placeholderFillStyle had no effect (#1286)
2017-09-19 09:52:09 -07:00
* Fixed seams that appear in wrap mode on Safari and Firefox (#1305)
2017-08-01 13:11:09 -07:00
2017-07-14 16:04:23 -07:00
2.3.0:
2016-06-21 10:09:19 -07:00
2016-10-10 15:37:47 -07:00
* BREAKING CHANGE: Tile.distance has been removed (#1027)
2017-03-15 09:34:44 -07:00
* BREAKING CHANGE: Viewer's canvas-click event is now fired before it initiates the zoom (#1148)
2017-04-21 09:55:23 -07:00
* BREAKING CHANGE: Viewer's canvas-drag event is now fired before it pans (#1149)
2017-07-14 16:04:23 -07:00
* Added Zoomify tile source (#863)
2016-10-26 09:59:20 -07:00
* You can now set the rotation of individual tiled images (#1006)
2017-07-14 16:04:23 -07:00
* Added getFullyLoaded method and "fully-loaded-change" event to TiledImage to know when tiles are fully loaded (#837, #1073)
* You can now preload images without drawing them to the screen (#1071)
2016-07-27 09:56:41 -07:00
* Added support for commonjs (#984)
2016-07-28 10:16:46 -07:00
* Added an option to addTiledImage to change the crossOriginPolicy (#981)
2017-07-14 16:04:23 -07:00
* You can now load tiles via AJAX and custom AJAX request headers (#1055)
* Added ability to provide thumbnail URLs for reference strip (#1241)
* Improved panning constraints for constrainDuringPan (#1133 and #1245)
* You can now prevent canvas-click events from zooming on a per-event basis (#1148)
* You can now prevent canvas-drag events from panning on a per-event basis (#1149)
2016-08-15 14:37:06 -07:00
* The navigationControlAnchor option now works for custom toolbar as well (#1004)
2017-07-14 16:04:23 -07:00
* LegacyTileSource now allows any image URLs regardless of type (#1056)
* Enabled configuration of ImageLoader timeout (#1192)
* Viewer.open() now supports an initialPage argument for sequenceMode (#1196)
* New events for opacity and compositeOperation changes (#1203)
* Added support for setting debug mode after the Viewer object has been constructed (#1224)
* Added functions for dynamically adding and removing the reference strip in sequence mode (#1213)
* Better calculation for TileCache release cutoff (#1214)
* The navigator now picks up opacity and compositeOperation changes (#1203)
* Improved calculation for determining which level to load first (#1198)
* Added fix for supporting weird filenames that look like JSONs (#1189)
* Improved DziTileSource guessing of tilesUrl (#1074)
* The Viewer's tileSources option is now smarter about detecting JSON vs XML vs URL (#999)
* Better compression for our UI images (#1134)
* Optimization: Use the squared distance when comparing tiles (#1027)
* Now clamping pixel ratio density to a minimum of 1, fixing display issues on low density devices (#1200)
* More forgiving check for DZI schema (#1249)
* ImageTileSource now works in IE8 (#1041)
* Fixed CORS bug in IE 10 (#967)
* Fixed issue with tiles not appearing with wrapHorizontal/wrapVertical if you pan too far away from the origin (#987, #1066)
2016-08-26 10:00:35 -07:00
* Fixed: Initial tile load wasn't happening in parallel (#1014)
2016-09-01 10:02:42 -07:00
* Fixed problem with "sparse image" DZI files (#995)
2016-10-10 17:09:12 -07:00
* Fix IndexSizeError on IE and Edge that occurred under certain circumstances (e.g. multi-image with transparency) (#1035)
2016-10-31 09:57:44 -07:00
* Fixed error in IE8 when zooming in (due to edge smoothing) (#1064)
2017-01-16 11:21:34 -08:00
* Fixed issue with OpenSeadragon.version in the minified JavaScript (#1099)
* Fixed smoothTileEdgesMinZoom performance degradation on single-tile images (#1101)
* Fixed issue with tiles not appearing after rotation (#1102)
2017-01-16 11:48:05 -08:00
* Fixed: The navigator wasn't respecting the constrainDuringPan setting (#1104)
2017-02-02 14:24:42 -08:00
* Fixed an issue causing overlays to be mis-positioned in some circumstances (#1119)
2017-02-08 10:07:29 -08:00
* Fixed: ImageTileSource would sometimes produce a double image (#1123)
2017-02-13 09:58:33 -08:00
* Fixed: console.debug caused exceptions on IE10 (#1129)
2017-04-26 09:40:15 -07:00
* Fixed: the reference strip would leak memory when opening new sets of images (#1175)
2017-05-11 10:19:43 -07:00
* Fixed: zoomTo/zoomBy ignore refPoint if immediately is true (#1184)
2017-05-19 09:56:55 -07:00
* Fixed: IIPImageServer didn't work with the latest OSD release (#1199)
2017-05-23 10:02:19 -07:00
* Fixed: setItemIndex method not working with navigator inside "open" event (#1201)
2017-06-05 16:37:02 -07:00
* Fixed: The reference strip didn't show the initial page if it wasn't the first page (#1208)
2017-06-22 13:50:59 -07:00
* Fixed: Sometimes the image would stick to the mouse when right-clicking and left-clicking simultaneously (#1223)
2017-06-23 10:42:11 -07:00
* Fixed issue with transparent images sometimes disappearing on Safari (#1222)
2017-06-30 11:14:30 -07:00
* Fixed: One image failing to load could cause the others to never load (#1229)
2017-07-11 13:11:15 -07:00
* Fixed: Mouse up outside map will cause "canvas-drag" event to stick (#1133)
2017-07-14 16:04:23 -07:00
* Fixed more issues with tracking multiple pointers (#1244)
2016-06-27 16:24:15 -07:00
2016-06-21 10:06:25 -07:00
2.2.1:
2016-05-26 15:19:14 -07:00
2016-06-15 09:50:17 -07:00
* Fixed problems with zoom/pan constraints with certain extreme settings (#965)
2016-06-20 09:18:27 -07:00
* Fixed an issue causing the browser to crash on iOS (#966)
2016-06-15 09:50:17 -07:00
2016-05-26 15:14:19 -07:00
2.2.0:
2015-11-12 14:00:00 -08:00
2016-02-17 18:31:31 -05:00
* BREAKING CHANGE: Viewport.homeBounds, Viewport.contentSize, Viewport.contentAspectX and
2016-02-25 09:43:14 -08:00
Viewport.contentAspectY have been removed. (#846)
2016-04-05 13:05:32 -04:00
* BREAKING CHANGE: The Overlay.getBounds method now takes the viewport as parameter. (#896)
* DEPRECATION: Overlay.scales, Overlay.bounds and Overlay.position have been deprecated. (#896)
* Overlay.width !== null should be used to test whether the overlay scales horizontally
* Overlay.height !== null should be used to test whether the overlay scales vertically
* The Overlay.getBounds method should be used to get the bounds of the overlay in viewport coordinates
2016-04-04 13:59:51 -04:00
* Overlay.location replaces Overlay.position
2016-02-25 09:43:14 -08:00
* DEPRECATION: Viewport.setHomeBounds has been deprecated (#846)
* DEPRECATION: the Viewport constructor is now ignoring the contentSize option (#846)
2015-11-23 09:49:16 -08:00
* Tile edge smoothing at high zoom (#764)
2015-11-25 11:53:02 -08:00
* Fixed issue with reference strip popping up virtual keyboard on mobile devices (#779)
2015-12-09 09:11:54 -08:00
* Now supporting rotation in the Rect class (#782)
2015-12-15 10:04:24 -08:00
* Drag outside of iframe now works better, as long as both pages are on the same domain (#790)
2015-12-23 09:22:11 -08:00
* Coordinate conversion now takes rotation into account (#796)
2016-01-11 11:05:28 -08:00
* Support tile-less IIIF as per LegacyTileSource (#816)
2016-01-14 09:42:41 -08:00
* You can now give an empty string to the tabIndex option (#805)
2016-01-18 09:12:45 -08:00
* Fixed issue with rotation and clicking in the navigator (#807)
* Broadened the check for mime type in LegacyTileSource URLs to allow query strings (#819)
2016-01-21 09:09:39 -08:00
* Added globalCompositeOperation option for tiledImage, to allow for different transfer modes (#814)
2016-01-28 11:52:06 -08:00
* Added Viewer.addSimpleImage method for easily adding non-tiled images (#827)
2016-02-04 09:05:13 -08:00
* DziTileSource now works properly with DZI files that have no extension (#835)
2016-02-17 18:31:31 -05:00
* Fixed content clipping with rotation (#463, #567 and #833)
2016-02-10 09:49:53 -08:00
* Fixed navigator not being rotated when viewport rotation is set in constructor (#840)
2016-02-16 09:28:24 -08:00
* Fixed: Viewer.setMouseNavEnabled wasn't affecting all of the viewer's trackers (#845)
2016-02-23 09:10:50 -08:00
* Fixed: with scrollToZoom disabled, the viewer caused page scrolling to slow down (#858)
2016-02-23 09:22:53 -08:00
* Added Viewer.getOverlayById and Overlay.getBounds functions (#853)
2016-02-23 10:28:16 -08:00
* Tiled images with 0 opacity no longer load their tiles or do drawing calculations (#859)
2016-02-24 09:27:19 -08:00
* Fixed issue with edge smoothing with PNG tiles at high zoom (#860)
2016-02-25 09:43:14 -08:00
* Fixed: Images with transparency were clearing images layered below them (#861)
2016-03-07 09:46:20 -08:00
* Fixed issue causing HTML pages to jump unwantedly to the reference strip upon loading (#872)
2016-03-24 09:50:17 -07:00
* Added addOnceHandler method to EventSource (#887)
* Added TiledImage.fitBounds method (#888)
2016-04-04 13:59:51 -04:00
* Overlays can now be scaled in a single dimension by providing a point location and either width or height (#896)
2016-03-31 15:45:44 -04:00
* Added full rotation support to overlays (#729, #193)
2016-04-22 11:09:27 -07:00
* Viewport.goHome() now takes clipping into account (#910)
* Improved zoom to point (#923)
2016-04-29 10:11:15 -07:00
* Optimized sketch canvas clearing and blending for images with opacity or transfer modes (#927)
2016-05-13 11:24:15 -07:00
* Now taking rotation into account in viewport getBounds and fitBounds methods (#934)
2016-05-16 09:42:06 -07:00
* Added option to disable navigator auto-fade (#935)
2016-05-17 09:54:03 -07:00
* Fixed issue with maintaining viewport position with full screen (#940)
2016-05-17 10:46:11 -07:00
* Fixed an issue with simultaneous touch events (#930)
2016-05-19 09:50:10 -07:00
* Avoid loading clipped out tiles (#939)
* Improved precision for subtle moves with fitBounds (#939)
2016-05-26 11:54:50 -07:00
* Fixed an issue in viewer.addTiledImage with replace:true when viewer has navigator (#948)
2015-11-23 09:49:16 -08:00
2015-11-12 13:44:05 -08:00
2.1.0:
2015-06-03 14:40:20 -04:00
* BREAKING CHANGE: the tile does not hold a reference to its image anymore. Only the tile cache keep a reference to images.
2015-10-09 13:33:04 -07:00
* BREAKING CHANGE: TileSource.tileSize no longer exists; use TileSource.getTileWidth() and TileSource.getTileHeight() instead.
2015-06-19 13:15:51 -07:00
* DEPRECATION: let ImageRecord.getRenderedContext create the rendered context instead of using ImageRecord.setRenderedContext
2015-10-09 13:33:04 -07:00
* DEPRECATION: TileSource.getTileSize() is deprecated. Use TileSource.getTileWidth() and TileSource.getTileHeight() instead.
2015-11-12 13:42:05 -08:00
* Changed resize behaviour to prevent "snapping" to world bounds when constraints allow more space (#711)
* Added support for non-square tiles (#673)
* TileSource.Options objects can now optionally provide tileWidth/tileHeight instead of tileSize for non-square tile support.
* IIIFTileSources will now respect non-square tiles if available.
* Added new tile source for simple images: ImageTileSource (#760)
* Optimized adding large numbers of items to the world with collectionMode (#735)
* Registers as an AMD module where possible (#719)
2015-06-19 13:15:51 -07:00
* Added "tile-loaded" event on the viewer allowing to modify a tile before it is marked ready to be drawn (#659)
* Added "tile-unloaded" event on the viewer allowing to free up memory one has allocated on a tile (#659)
2015-11-12 13:42:05 -08:00
* Added 'tile-load-failed' event (#725)
2015-06-19 13:15:51 -07:00
* Added additional coordinates conversion methods to TiledImage (#662)
2015-06-29 14:16:11 -07:00
* Added `preserveImageSizeOnResize` option (#666)
2015-07-08 08:58:46 -07:00
* Added collectionColumns as a configuration parameter (#680)
2015-11-12 13:42:05 -08:00
* Added option in addTiledImage to replace tiledImage at index (#706)
* Added autoRefigureSizes flag to World for optimizing mass rearrangements (#715)
* You can now change viewport margins after the viewer is created (#721)
* Added a patch to help slow down the scroll devices that fire too fast (#754)
* Fixed flickering tiles with useCanvas=false when no cache is used (#661)
* 'display: none' no longer gets reset on overlays during draw (#668)
* Better error reporting for tile load failures (#679)
2015-07-30 10:05:49 -07:00
* Added XDomainRequest as fallback method for ajax requests if XMLHttpRequest fails (for IE < 10) (#693)
2015-07-31 10:22:03 -07:00
* Now avoiding using eval when JSON.parse is available (#696)
2015-08-20 09:38:30 -07:00
* Rotation now works properly on retina display (#708)
2015-09-16 09:29:30 -07:00
* Fixed issue with tiledImages loading tiles at every level instead of just the best level (#728)
2015-09-16 09:35:59 -07:00
* Fixed placeholderFillStyle flicker (#727)
2015-09-18 15:15:53 -07:00
* Fix for Chrome (v45) issue that key is sometimes undefined outside of the for-in loop (#730)
2015-09-24 09:14:22 -07:00
* World.removeAll now cancels any in-flight image loads; same for Viewer.open and Viewer.close (#734)
2015-10-12 09:15:16 -07:00
* Fixed overlays position (use rounding instead of flooring and ceiling) (#741)
2015-10-26 10:42:00 -07:00
* Fixed issue with including overlays in your tileSources array when creating/opening in the viewer (#745)
2015-10-27 09:02:10 -07:00
* Fixed issue in iOS devices that would cause all touch events to fail after a Multitasking Gesture was triggered (#744)
2015-10-29 13:42:45 -07:00
* Fixed an issue with TiledImage setPosition/setWidth/setHeight not reliably triggering a redraw (#720)
2015-11-04 09:50:48 -08:00
* Fixed zooming in with plus key on a Swedish keyboard (#763)
2015-07-14 16:17:11 -04:00
2015-05-26 16:26:07 -07:00
2.0.0:
2014-08-18 16:04:49 -07:00
2014-08-21 10:44:32 -07:00
* True multi-image mode (#450)
2014-11-17 11:50:20 -08:00
* BREAKING CHANGE: Passing an array for the tileSources option is no longer enough to trigger sequence mode; you have to set the sequenceMode option to true as well
2014-11-04 09:38:16 -08:00
* BREAKING CHANGE: Navigator no longer sends an open event when its viewer opens
2014-11-04 11:53:39 -08:00
* BREAKING CHANGE: Viewer.drawers and Viewer.drawersContainer no longer exist
2014-11-14 15:54:41 -08:00
* BREAKING CHANGE: A Viewer's Drawer and Viewport are now made once per Viewer and reused for every image that Viewer opens (rather than being recreated for every open); this means if you change Viewer options between opens, the behavior is different now.
2014-08-21 10:44:32 -07:00
* DEPRECATION: use Viewer.addTiledImage instead of Viewer.addLayer
* addTiledImage supports positioning config properties
* DEPRECATION: use World.getItemAt instead of Viewer.getLayerAtLevel
* DEPRECATION: use World.getIndexOfItem instead of Viewer.getLevelOfLayer
* DEPRECATION: use World.getItemCount instead of Viewer.getLayersCount
* DEPRECATION: use World.setItemIndex instead of Viewer.setLayerLevel
* DEPRECATION: use World.removeItem instead of Viewer.removeLayer
2014-12-02 11:44:02 -08:00
* DEPRECATION: use World.needsDraw instead of Drawer.needsUpdate
2014-08-21 10:44:32 -07:00
* DEPRECATION: use TileCache.numTilesLoaded instead of Drawer.numTilesLoaded
* DEPRECATION: use World.resetItems instead of Drawer.reset
2014-12-02 11:44:02 -08:00
* DEPRECATION: use Drawer.clear and World.draw instead of Drawer.update
2014-08-21 10:44:32 -07:00
* DEPRECATION: the layersAspectRatioEpsilon option is no longer necessary
* DEPRECATION: Viewer's add-layer event is now World's add-item event
2014-11-12 16:31:46 -08:00
* DEPRECATION: Viewer's layer-level-changed event is now World's item-index-change event
2014-08-21 10:44:32 -07:00
* DEPRECATION: Viewer's remove-layer event is now World's remove-item event
* DEPRECATION: Viewer's add-layer-failed event is now add-item-failed
2014-11-12 16:31:46 -08:00
* DEPRECATION: TileSourceCollection has been retired in favor of World
* DEPRECATION: collectionMode no longer draws outlines or reflections for items
2014-08-21 10:44:32 -07:00
* Drawer has been split into three classes:
* TiledImage, tile management and positioning for a single tiled image
* TileCache, tile caching for all images
* Drawer, tile drawing for all images
* New class: World, keeps track of multiple images in the scene
* Viewer now has world and tileCache properties
* Rect and Point now have clone functions
* New Viewport method for managing homeBounds as well as constraints: setHomeBounds
* Viewport.open supports positioning config properties
2015-02-10 11:30:36 -08:00
* For multi-image open, drawing isn't started until all tileSources have been opened
2015-03-19 16:38:52 -07:00
* You can specify a clip area for each image (only works on browsers that support the HTML5 canvas) (#594)
2015-04-17 10:22:53 -07:00
* Added placeholderFillStyle so image rectangles can be drawn even before their tiles load (#635)
2015-04-29 10:02:01 -07:00
* Ability to set opacity on individual TiledImages (#644)
2014-11-04 11:53:39 -08:00
* Margins option to push the home region in from the edges of the Viewer (#505)
2014-11-17 16:24:40 -08:00
* Rect and Point toString() functions are now consistent: rounding values to nearest hundredth
2014-11-20 15:33:13 -08:00
* Overlays appear in the DOM immediately on open or addOverlay (#507)
2015-01-02 14:24:05 -08:00
* imageLoaderLimit now works (#544)
2015-01-09 11:45:53 -08:00
* Turning off scrollToZoom in gestureSettings now allows scroll events to propagate
2015-01-13 15:31:52 -08:00
* You can now set a minZoomLevel that's greater than the home zoom level
* Added union() to OpenSeadragon.Rect
2015-01-14 17:06:18 -08:00
* Fixed an error in fitBounds if the new and old bounds were extremely close in size
2015-01-02 16:07:11 -08:00
* Added ajaxWithCredentials option (#543)
2015-01-20 11:23:34 -08:00
* Added viewport-change event for after the viewport changes but before it's drawn
* A spring's current value is now updated immediately on reset (#524)
2015-01-20 17:19:13 -08:00
* Fixed an error in fitBounds that occurred sometimes with immediately = true
2015-02-04 09:33:25 -08:00
* Added support for HDPI (retina) displays (#583)
2015-02-05 09:12:27 -08:00
* Corrected IIIF tile source to use canonical syntax (#586)
2015-02-10 10:42:32 -08:00
* Fixed x/y typo that caused horizontal reference strip to be rendered only relative to height (#595)
2015-02-10 18:28:05 -05:00
* Fixed Firefox 35 not able to open local files (#588)
2015-02-24 09:44:34 -08:00
* Fixed an issue with zero size viewers in IE8 (#609)
2015-03-02 09:36:49 -08:00
* Fixed: Cross Origin policy not working (#613)
2015-03-06 09:11:05 -08:00
* Optimized tile loading by clearing the queue on a re-draw when imageLoaderLimit is set (#616)
2015-03-30 14:54:25 -07:00
* Now animating zoom spring exponentially (#631)
2015-04-13 09:18:12 -07:00
* Added http://editorconfig.org/ config file (#637)
2015-05-05 17:20:20 -07:00
* Keyboard pan speed is now the same regardless of zoom level (#645)
2015-02-05 09:12:27 -08:00
2015-01-29 13:10:59 -08:00
1.2.1:
2015-01-05 13:21:19 -08:00
2015-01-12 13:40:33 -08:00
* Added preserveOverlays option (#561)
2015-01-13 09:27:39 -08:00
* Fixed: DZI tilesource was broken on IE8/IE9 (#563)
2015-01-10 14:49:02 -08:00
* Exposed secondary pointer button (middle, right, etc.) events from MouseTracker and through viewer (#479)
2015-01-10 14:51:56 -08:00
* MouseTracker - Improved IE 8 compatibility (#562)
2015-01-14 08:46:06 -08:00
* MouseTracker - Improved IE 9+ compatibility (#564)
2015-01-15 12:18:35 -08:00
* MouseTracker - Simulated touchenter/touchleave events now bubble to parent element MouseTrackers (#566)
* MouseTracker - Improved multitouch support in enter/exit event handlers (#566)
* MouseTracker - orphaned tracked touch pointers removed (fix for #539)
* MouseTracker - removed touchenter/touchleave event support since the events don't exist on any known platform and have been removed from the W3C specification (#566)
* Removed Viewer onContainerPress/onContainerRelease handlers (and the associated 'container-release' event ) that were never fired due to the canvas (child) element capturing the DOM events (#566)
* Added 'canvas-enter', 'canvas-exit', and 'canvas-press' events to Viewer (#566)
* ButtonGroup - removed obsolete MouseTracker event handlers (#566)
2015-01-16 16:31:23 -08:00
* MouseTracker - added keydown and keyup handlers (#568)
* Modifier keys ignored in keyboard navigation handlers (#503)
2015-01-19 10:31:30 -08:00
* Requesting keyboard focus when viewer is clicked (#537)
2015-01-16 16:31:23 -08:00
* Arrow key navigation fixed across platforms (#565)
2015-01-17 11:21:16 -08:00
* Removed textarea element from viewer DOM. Viewer.canvas now handles keyboard navigation (#569)
2015-01-20 09:52:18 -08:00
* Removed 'position' property from MouseTracker keyDownHandler/keyUpHandler/keyHandler functions (#573)
2015-01-20 13:28:30 -08:00
* Fixed pointer event model detection for IE 10 and IE 11 (#571)
2015-01-20 17:45:13 -08:00
* Added setMouseNavEnabled() support to Navigator (#572)
2015-01-20 18:35:58 -08:00
* MouseTracker now defaults to tracking on (#558)
2015-01-21 11:51:56 -08:00
* Removed Viewer focusHandler/onCanvasFocus (#577)
2015-01-21 12:49:45 -08:00
* Added tabIndex option to viewer (#577)
2015-01-12 13:40:33 -08:00
2015-01-05 13:17:05 -08:00
1.2.0:
2014-05-08 09:33:52 -07:00
2014-07-30 09:25:40 -07:00
* New combined IIIF TileSource for 1.0 through 2.0 (#441)
* BREAKING CHANGE: Removed IIIF1_1TileSource (now that IIIFTileSource supports all versions)
* Allowed TileSources to have dynamic tileSize via source.getTileSize(level) (#441)
* DEPRECATION: Use .getTileSize(level) instead of .tileSize
2014-06-02 09:10:17 -07:00
* Fix for IIPServer-style urls when using DZI (#413)
2014-06-19 09:14:16 -07:00
* Fix memory leak while destroying the viewer (#421)
2014-07-24 09:31:17 -07:00
* Added fitBoundsWithConstraints() to the viewport (#423)
2014-08-06 11:38:43 -07:00
* Fixed MouseTracker cross-browser issues with tracking pointers over and out of the tracked element (pull request #448, fix for #152, #404, #420, and #427)
2014-08-07 10:05:01 -07:00
* Fixed incorrect flick direction after image is rotated (#452)
2014-08-08 11:31:48 -07:00
* Debug mode now works with rotate images (#453)
2014-08-15 09:30:43 -07:00
* Now supporting dzi xml with namespaces (#462)
2014-08-15 10:00:57 -07:00
* You can now rotate the navigator along with the main viewer (#455)
2014-08-26 10:49:10 -07:00
* Viewport.setRotation now allows all rotation angles (#466)
* Pinch rotate is now available (defaults to off) (#468)
2014-09-15 13:30:07 -07:00
* Added option for home button to fill viewer (#474)
2014-11-07 16:11:10 -08:00
* Better handling of mid-update image loaded callbacks (#409)
2014-12-31 11:08:06 -08:00
* Tracked pointers are now cleaned up when Viewer.setMouseNavEnabled(false) is called (#518)
2014-12-31 14:41:27 -08:00
* Added explicit pointer capture for touch event model touchstart events (#552)
2014-06-02 09:10:17 -07:00
2014-05-08 09:30:03 -07:00
1.1.1:
2014-04-30 10:39:44 -07:00
2014-05-05 10:06:10 -07:00
* Fixed issue with dragging the navigator highlight on Webkit browsers (#395)
2014-05-08 09:30:03 -07:00
* Improved Viewer Options Support in Gesture Handling (#399)
2014-05-05 10:06:10 -07:00
2014-04-30 10:34:25 -07:00
1.1.0:
2013-12-03 09:51:24 -08:00
2014-03-21 09:15:04 -07:00
* BREAKING CHANGE: the openseadragon-canvas element now has two child divs. This means: (#298)
* The drawer element is no longer accessible via viewer.canvas.firstChild but via viewer.drawersContainer.firstChild or viewer.drawer.canvas.
* The overlays elements are no longer accessible via viewer.canvas.childNodes but via viewer.overlaysContainer.childNodes or viewer.currentOverlays[i].element.
2014-03-25 11:34:46 -04:00
* BREAKING CHANGE: Pseudo full screen mode on IE<11 using activex has been dropped. OpenSeadragon will run in full page if full screen mode is requested.
2014-04-14 18:17:18 -07:00
* BREAKING CHANGE: MouseTracker touch pinch gestures are no longer converted to scroll events. MouseTracker.pinchHandler should be used instead. (#369)
2014-03-19 09:17:32 -07:00
* DEPRECATION: overlay functions have been moved from Drawer to Viewer (#331)
2014-03-25 11:34:46 -04:00
* DEPRECATION: OpenSeadragon.cancelFullScreen has been renamed OpenSeadragon.exitFullScreen (#358)
2014-04-14 18:17:18 -07:00
* DEPRECATION: The 'isTouchEvent' property passed in MouseTracker events is deprecated and has been replaced with 'pointerType', which is a String value "mouse", "touch", "pen", etc. to support multiple simultaneous pointing devices (#369)
* DEPRECATION: The 'buttonDownAny' property passed in MouseTracker enter and exit events (enterHandler/exitHandler) is deprecated and has been replaced with 'buttons', which indicates the button(s) currently pressed (#369)
* DEPRECATION: The 'buttonDownAny' property passed in Viewer's 'container-enter' and 'container-exit' events is deprecated and has been replaced with 'buttons', which indicates the button(s) currently pressed (#369)
2014-03-21 09:15:04 -07:00
* Added layers support. Multiple images can now been displayed on top of each other with transparency via the Viewer.addLayer method (#298)
2014-03-19 09:17:32 -07:00
* Improved overlay functions (#331)
2013-12-09 09:43:24 -08:00
* Fixed: Nav button highlight states aren't quite aligned on Firefox (#303)
2013-12-10 09:48:34 -08:00
* Added ControlAnchor options for default controls (#304)
2013-12-12 10:03:55 -08:00
* Enabled basic cross-domain tile loading without tainting canvas (works in Chrome and Firefox) (#308)
2014-03-21 09:19:40 -07:00
* Added crossOriginPolicy drawer configuration to enable or disable CORS image requests (#364)
2014-04-08 14:29:49 -07:00
* Disabled CORS by default (#377)
2013-12-13 09:44:21 -08:00
* Added a ControlAnchor.ABSOLUTE enumeration. Enables absolute positioning of control elements in the viewer (#310)
2014-04-03 08:50:25 -07:00
* Added a 'navigator-scroll' event to Navigator. Fired when mousewheel events occur in the navigator (#310)
2013-12-13 09:44:21 -08:00
* Added a navigatorMaintainSizeRatio option. If set to true, the navigator minimap resizes when the viewer element is resized (#310)
* Added 'ABSOLUTE' as a navigatorPosition option, along with corresponding navigatorTop, navigatorLeft options. Allows the navigator minimap to be placed anywhere in the viewer (#310)
* Enhanced the navigatorTop, navigatorLeft, navigatorHeight, and navigatorWidth options to allow a number for pixel units or a string for other element units (%, em, etc.) (#310)
2014-01-08 13:22:47 -08:00
* Additional enhancements for IIIF support (#315)
2014-02-17 09:40:30 -08:00
* Fixed: Setting degrees in Viewer constructor has no effect (#336)
2014-03-06 09:34:23 -08:00
* Added pre-draw event for tiles to allow applications to alter the image (#348)
2014-03-07 10:08:47 -08:00
* Added optional Rotate Left/Right buttons to standard controls (#341)
2014-03-24 09:17:03 -07:00
* Added optimization for large numbers of overlays: `checkResize = false` option for OpenSeadragon.Overlay (#365)
2014-03-25 11:34:46 -04:00
* Updated full screen API, adding support for Opera and IE11 and allowing keyboard input in Chrome (#358)
2014-04-08 14:27:49 -07:00
* Various fixes to bring OpenSeadragon into W3C compliance (#375)
2014-04-09 09:06:46 -07:00
* Added separate flags for turning off each of the nav buttons (#376)
2014-04-14 09:12:56 -07:00
* Added support for query parameters in DZI tileSource URL (#378)
2014-04-03 08:50:25 -07:00
* Enhanced MouseTracker for multi-touch (#369)
2014-04-14 18:17:18 -07:00
* Added support for tracking multiple touch-points on multiple/simultaneous pointing devices
2014-04-03 08:50:25 -07:00
* Added support for the W3C Pointer Events event model. Enables touch/multi-touch on IE10+
* Added a dragEndHandler event callback, called when a drag gesture ends
* Added a pinchHandler event callback, called as a pinch gesture (2 touch points) is occurring
* Added real-time velocity (speed and direction) tracking to drag operations. 'speed' and 'direction' values are passed in the dragHandler and dragEndHandler event data
2014-04-03 10:06:12 -07:00
* Enhanced Viewer for multi-touch (#369)
2014-04-15 19:19:47 -07:00
* Added pinch zoom with the new MouseTracker pinchHandler. The 'pan' and 'zoom' Viewer events can be used to detect changes resulting in pinch gestures
2014-04-03 10:06:12 -07:00
* Added a "canvas-pinch" event fired by the pinch event handler
* Added flick gesture with the new MouseTracker dragEndHandler
* Added a "canvas-drag-end" event fired by the drag-end event handler
2014-04-15 19:19:47 -07:00
* Added a GestureSettings class for per-device gesture options. Currently has settings to enable/disable zoom-on-scroll, zoom-on-pinch, zoom-on-click, and flick gesture settings.
2014-04-03 10:06:12 -07:00
* Added GestureSettings objects for mouse, touch, and pen devices to the Viewer options giving users the ability to customize gesture handling in the viewer
* Added velocity (speed and direction) properties to the "canvas-drag" event
2014-04-22 09:41:29 -07:00
* Added double-click gesture detection to MouseTracker with corresponding dblClickHandler event callback (#392)
* Added zoom on double-click feature to Viewer, with corresponding dblClickToZoom option added to the GestureSettings class (#392)
2014-04-24 10:06:03 -07:00
* Made it possible to run OpenSeadragon from local filesystem on some browsers (#379)
2013-12-09 09:43:24 -08:00
2013-12-03 09:43:34 -08:00
1.0.0:
NOTE: This version has a number of breaking changes to the API, mostly in event handling. See below.
2013-09-23 10:03:53 -07:00
2013-10-10 17:00:15 -07:00
* BREAKING CHANGE: All EventSource and MouseTracker event handler method signatures changed to 'handlerMethod(event)' where event == { eventSource, userData, ... } (#251) (Also fixes #23, #224, #239)
2013-10-22 10:46:15 -07:00
* The new eventSource property in the event object replaces the old eventSource parameter that was passed to handler methods.
2013-10-23 12:58:36 -07:00
* Where the event object duplicated the eventSource value, those properties have been removed. This affects the following events:
2013-10-22 10:46:15 -07:00
* All Button events - 'button' property removed
* All Viewer (Viewer, Drawer, Viewport) events - 'viewer' property removed
2013-09-26 10:13:06 -07:00
* BREAKING CHANGE: Renamed EventHandler to EventSource (#225)
2013-10-01 15:19:22 -07:00
* BREAKING CHANGE: Event names changed for consistency: changed to lower case, compound names hyphenated, and "on" prefixes removed (#226):
2013-10-22 10:46:15 -07:00
* Viewer "animationstart" changed to "animation-start"
* Viewer "animationfinish" changed to "animation-finish"
* Button "onPress" changed to "press"
* Button "onRelease" changed to "release"
* Button "onClick" changed to "click"
* Button "onEnter" changed to "enter"
* Button "onExit" changed to "exit"
* Button "onFocus" changed to "focus"
* Button "onBlur" changed to "blur"
2013-11-12 10:43:12 -08:00
* BREAKING CHANGE: Numerous improvements to fullPage/fullScreen (#256):
2013-11-11 10:17:39 -08:00
* Retains zoom/pan position better when switching into and out of fullPage.
* Retains scroll position when switching back out.
* More resilient to styling variations on the page.
2013-11-12 10:43:12 -08:00
* setFullPage no longer automatically engages fullScreen; there's now a separate setFullScreen.
* 'fullpage' event is now 'full-page'.
* The `fullpage` property of the 'full-page' event is now `fullPage`.
* There is now a 'full-screen' event with a `fullScreen` property (true if it has gone to full screen).
* There are now 'pre-full-page' and 'pre-full-screen' events that include a `preventDefaultAction` property you can set in your handler to cancel. They also have `fullPage` and `fullScreen` properties respectively, to indicate if they are going into or out of the mode.
2013-11-19 12:13:38 -08:00
* BREAKING CHANGE: Removed the 'onPageChange' callback from the viewer options. Viewer.goToPage() now raises the 'page' event only (#285)
2013-11-26 09:53:15 -08:00
* Major documentation improvements (#281)
2013-09-20 10:05:01 -07:00
* MouseTracker now passes the original event objects to its handler methods (#23)
2013-09-20 10:23:22 -07:00
* MouseTracker now supports an optional 'moveHandler' method for tracking mousemove events (#215)
2013-11-01 11:18:35 -07:00
* Added stopHandler to MouseTracker. (#262)
2013-09-20 10:23:22 -07:00
* Fixed: Element-relative mouse coordinates now correct if the element and/or page is scrolled (using new OpenSeadragon.getElementOffset() method) (#131)
2013-10-03 15:49:15 -07:00
* Fixed: Pinch zoom event issue, regressive issue from previous event system changes (#244)
2013-10-04 11:07:23 -07:00
* Added IIIF Image API 1.1 Tile Source (#230)
2013-10-08 10:40:57 -07:00
* IIIF 1.0 now uses pixel based syntax (#249)
2013-10-03 15:51:44 -07:00
* Fixed: Touch event issue where no canvas-click events were being raised (#240)
2013-10-08 10:19:35 -07:00
* Check that zoom reference point is valid before using it in zoomTo and zoomBy (#247)
2013-10-10 10:40:01 -07:00
* Added a number of easier coordinate conversion methods to viewport (#243)
2013-10-11 10:01:53 -07:00
* Added the ability to create a viewer and start at a specified page (#252)
2013-10-14 10:45:00 -07:00
* Fixed image resolve issue with collection mode (#255)
2013-11-08 10:09:09 -08:00
* DOM events are now passed through as 'event.originalEvent' in viewer and button events where appropriate. (#257) Affects the following events:
2013-10-22 10:46:15 -07:00
* Viewer: 'canvas-release', 'canvas-click', 'canvas-drag', 'canvas-scroll', 'container-enter', 'container-exit', 'container-release'
* Button: 'enter', 'exit', 'press', 'release', 'focus', 'blur', 'click'
2013-10-22 10:45:54 -07:00
* Fixed: IE 10 not reading DZI file correctly in certain circumstances (#218)
2013-10-23 12:58:36 -07:00
* Added support for the 'wheel' DOM mousewheel event (#261)
2013-10-31 10:17:08 -07:00
* Fix for non-canvas tile rendering at large size (#264)
2013-11-01 10:33:17 -07:00
* Drawer now uses an HTML5 canvas element whenever it's available. Can be overridden with the Viewer.useCanvas option (#191)
2013-11-08 10:09:09 -08:00
* Added a boolean preventDefaultAction property (default false) to the event object passed to MouseTracker handler methods. (#270) Implemented in the following MouseTracker subscribers:
2013-11-04 12:41:45 -08:00
* Viewer.keyboardCommandArea.innerTracker.focusHandler: preventDefaultAction == true prevents scrolling viewer into view
* Viewer.keyboardCommandArea.innerTracker.keyHandler: preventDefaultAction == true prevents viewer keyboard navigation
* Viewer.innerTracker.clickHandler: preventDefaultAction == true prevents viewer zoom on click
* Viewer.innerTracker.dragHandler: preventDefaultAction == true prevents viewer panning with mouse/touch
* Viewer.innerTracker.scrollHandler: preventDefaultAction == true prevents viewer zooming on mousewheel/pinch
2013-11-18 10:02:13 -08:00
* Fixed: IE8 error with custom buttons - "Object doesn't support this action" (#279)
2013-11-19 11:02:33 -08:00
* Support IIIF servers that don't report tile dimensions (#286)
2013-11-26 10:21:59 -08:00
* Added an autoResize option. Default is true. When set to false, the viewer takes no action when its container element is resized. (#291)
* Added a static 'version' property to OpenSeadragon. Useful for plugins that require specific OpenSeadragon versions. (#292)
2013-09-20 09:38:01 -07:00
2013-09-23 10:00:09 -07:00
0.9.131:
2013-08-26 14:02:03 -07:00
2013-08-28 09:58:13 -07:00
* Fixed: canvas-click event shouldn't fire as you drag (#198)
* Fixed: LegacyTileSource doesn't fail gracefully when no supported file formats are found (#202)
* Added an optional userData argument to EventHandler.addHandler() which is passed unchanged to the handler method (#203)
2013-08-30 09:53:04 -07:00
* Fixed AJAX error reporting on IE8 (#208)
2013-09-05 16:24:53 -07:00
* Added viewportToImageRectangle method, and updated imageToViewportRectangle, imageToViewportCoordinates, and viewportToImageCoordinates to be more flexible with params (#212)
2013-09-16 15:12:10 -07:00
* Fixed: Viewer is not responsive (css) after returning from full screen (#222)
2013-08-28 09:58:13 -07:00
2013-08-26 13:58:16 -07:00
0.9.130:
2013-07-09 09:16:37 -07:00
2013-08-26 13:58:16 -07:00
* Added partial support for rotation (just 90 degree increments for now). (#185)
* Hiding and restoring broke the viewer; fixed (#177)
* You can now provide an onDraw function for overlays to do custom overlay manipulation (#160)
* Added a destroy function on the viewer to clean up and remove elements (#179)
2013-08-09 06:47:25 -04:00
* Fixed: navigatorPosition option corrected. (#163)
2013-07-10 09:38:41 -07:00
* OpenSeadragon.now() returned undefined the first time; fixed
2013-07-12 09:03:34 -07:00
* onTouchEnd did not call the correct mouse up handler; fixed (#159)
2013-07-31 10:28:21 -07:00
* Touch events no longer capture mouse (was causing issues on devices that support both) (#168)
2013-08-16 10:13:52 -07:00
* Clicking on a button control no longer refreshes page (#184)
2013-08-19 09:56:22 -07:00
* Drawer now works when the page is rtl (#187)
2013-08-19 10:04:25 -07:00
* Fixed a situation that could throw errors in touch handling (#188)
2013-07-10 09:38:41 -07:00
2013-07-09 09:14:47 -07:00
0.9.129:
2013-06-17 10:05:10 -07:00
2013-07-09 09:14:47 -07:00
* Fixed: navigator image not updating when base zoom image is changed (#147)
* Fixed tile rendering issue at lower zoom levels with the IIIF TileSource (#55)
* On IE, ajax errors would cause an exception to be thrown; fixed (#144)
* Faster and more consistent millisecond getter (#138)
2013-06-19 10:14:49 -07:00
* Fixed an error when using navPrevNextWrap on single images (#135)
2013-06-19 10:16:59 -07:00
* Various fixes to our timer handling (#133)
2013-06-20 10:34:33 -07:00
* Now generating source map for openseadragon.min.js (#51)
2013-06-26 09:15:48 -07:00
* Fix for calculating overlay width / height (#142)
2013-06-26 09:38:07 -07:00
* JSHint tidying (#136)
2013-07-01 09:22:58 -07:00
* Improved Ajax method (#149)
2013-07-03 09:56:29 -07:00
* Overhauled AJAX error reporting (#151)
2013-06-19 10:14:49 -07:00
2013-06-17 10:03:06 -07:00
0.9.128:
2013-05-14 09:55:19 -07:00
2013-06-13 10:01:17 -07:00
* The navigator is now off by default (#102)
* Reverted minPixelRatio to 0.5 for better quality (#116)
* Sometimes tiles wouldn't resolve if you used the blendTime option; fixed. (#95)
* You can now choose to have previous and next buttons wrap using the config.navPrevNextWrap. (#114)
2013-05-20 09:56:23 -07:00
* You can now specify an ID for a div to hold the navigator (#46)
* You can now click in the navigator to go to a new location (#46)
* Keyboard handling is now done in the viewer rather than navigator (#46)
* Additional navigator fixes (#46)
2013-06-13 10:01:17 -07:00
* Drawer events now fire properly (#94)
2013-05-20 13:16:12 -07:00
* Fixed an error in EventHandler.removeHandler() (#48)
2013-05-30 10:03:37 -07:00
* Better requestAnimationFrame detection on older Firefox (#103)
* More efficient navigator loading (#115)
2013-06-14 11:17:57 -07:00
* Simplified element opacity setting implementation (#123)
2013-05-20 09:40:08 -07:00
2013-05-14 09:53:34 -07:00
0.9.127:
2013-05-09 11:07:17 -07:00
2013-05-10 12:04:09 -07:00
* Fixed a problem with getString when the string property is a sub-property. (#64)
2013-05-13 10:20:57 -07:00
* Fixed: Tooltips for Navigation Controls not displaying (#63)
2013-05-10 12:04:09 -07:00
* Cleaned up some diagnostic code that was broken.
2013-05-14 09:38:04 -07:00
* Added fullpage class to viewer element when in fullpage mode (#61)
* Reverted to original New BSD license; cleaned up license declarations (#89)
2013-05-10 12:04:09 -07:00
2013-05-09 11:04:31 -07:00
0.9.126:
* DZI JSONp was broken; fixed.
2013-05-09 09:36:26 -07:00
2013-05-09 09:34:11 -07:00
0.9.125:
2013-03-26 09:14:11 -04:00
2013-06-20 10:34:33 -07:00
* Fully deprecated OpenSeadragon.createFromDZI, safely deprecated Viewer.openTileSource and
2013-03-26 09:14:11 -04:00
Viewer.openDZI to use Viewer.open internally. (#53 & #54).
* Full page bug fix for when viewer is child of document body (#43).
2013-06-20 10:34:33 -07:00
* Overlays for DZI bug fix (#45).
2013-05-07 09:27:37 -07:00
* DziTileSource: avoid changing relative paths (#56).
* Fix typo in preserveViewport handling (#77).
* Fix updateMulti timer leak after multiple Viewer.open() calls (#76).
* Minor documentation fixes.
2013-03-25 09:51:58 -07:00
0.9.124:
* Performance enhancements.
0.9.123:
* Real fullscreen support.
0.9.122:
* Performance enhancements.
0.9.121:
* Touch pan now works on Android.
* Pinch zoom is better on all devices.