You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

changelog.md 15 KiB

10 years ago
12 years ago
5 years ago
5 years ago
10 years ago
10 years ago
12 years ago
12 years ago
12 years ago
12 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467
  1. Changelog
  2. =========
  3. Changes in Pannellum 2.5.6 (2019-11-26)
  4. ---------------------------------------
  5. Security fixes:
  6. - Extended partial fix in v2.5.5 for XSS vulnerability that allowed script
  7. execution when hot spots were clicked (CVE-2019-16763)
  8. Changes in Pannellum 2.5.5 (2019-11-21)
  9. ---------------------------------------
  10. Bugfixes:
  11. - Fixed device orientation permission request such that it works with iOS 13
  12. - Extend yaw bounds range to allow restricted range that crosses +/-180 deg
  13. Security fixes:
  14. - Fixed XSS vulnerability that allowed script execution when hot spots
  15. were clicked (CVE-2019-16763)
  16. Changes in Pannellum 2.5.4 (2019-09-10)
  17. ---------------------------------------
  18. Bugfixes:
  19. - Fixed issue with loading large equirectangular panoramas on iOS
  20. - Fixed issue with touch-based scrolling with `draggable` set to `false`
  21. Improvements:
  22. - Started requesting device orientation permission (untested)
  23. Changes in Pannellum 2.5.3 (2019-08-21)
  24. ---------------------------------------
  25. Bugfixes:
  26. - Fixed loading scenes after previous load failure
  27. - Fixed regression that caused auto-rotation to stop after one revolution
  28. - Fixed behavior of `multiResMinHfov` to match documentation;
  29. default multi-resolution `minHfov` behavior now matches pre-v2.5
  30. Improvements:
  31. - Added optional `scale` parameter to scale hot spots while zooming
  32. - Improved recovery from failed scene loading
  33. API improvements:
  34. - Added optional pitch argument to `startAutoRotate`
  35. Other:
  36. - Added Journal of Open Source Software (JOSS) manuscript
  37. - Numerous documentation improvements per JOSS review (thanks @vsoch and @Fil)
  38. - Improved continuous integration and automated testing support
  39. - Clarified `generate.py` error messages
  40. - Added Dockerfile for `generate.py`
  41. Changes in Pannellum 2.5.2 (2019-07-13)
  42. ---------------------------------------
  43. Bugfixes:
  44. - Fixed regression in Video.js plugin
  45. Changes in Pannellum 2.5.1 (2019-07-13)
  46. ---------------------------------------
  47. Other:
  48. - Fixed issue with tagging 2.5.0 release
  49. Changes in Pannellum 2.5.0 (2019-07-13)
  50. ---------------------------------------
  51. New Features:
  52. - The background color can be set for partial panoramas
  53. (`backgroundColor` parameter)
  54. - Partial panoramas are now supported for the multiresolution format
  55. - An author URL can now be added (`authorURL` parameter)
  56. New API functions:
  57. - Added `fullscreenchange`, `zoomchange`, and `animatefinished` events
  58. - Added `stopMovement` function for stopping all viewer movement
  59. Improvements:
  60. - Equirectangular images are now automatically split into two separate
  61. textures if they're too big (images up to 8192px wide should now be
  62. widely supported)
  63. - Improved render quality for equirectangular images on mobile (using `highp`
  64. for fragment shader)
  65. - Keyboard events for keys not used by the viewer are no longer captured, and
  66. the list of captured keys is configurable (`capturedKeyNumbers` parameter)
  67. - Multiresolution tiles can now be generated from cylindrical panoramas
  68. - Hot spots can now be removed from scenes that aren't currently loaded
  69. - Hot spot cursor is now set via CSS class (so it can be overridden)
  70. - Hot spot link attributes can now be set (`attributes` parameter)
  71. - The "friction" that slows down the viewer motion can now be configured
  72. (`friction` parameter)
  73. - Dynamic scenes are now properly supported for tours
  74. Bugfixes:
  75. - Fixed regression in fallback renderer
  76. - Fixed bug with URL encoding
  77. - Fixed regression in Video.js plugin
  78. - Fixed auto-rotate bug that was manifested when using API to set view
  79. - Fixed full screen bug in Chrome
  80. - Fixed bug with removing event listeners
  81. - Fixed issue with mouse dragging causing jump around yaw limits
  82. - Fixed bug with deleting hot spots
  83. - Fixed bug with fading between scenes
  84. Other:
  85. - Added limited test suite / continuous integration
  86. - Removed `requestAnimationFrame` shim, dropping support for some
  87. older browsers
  88. Changes in Pannellum 2.4.1 (2018-03-03)
  89. ---------------------------------------
  90. Bugfixes:
  91. - Fix touch input issue in Chrome
  92. - The API's `loadScene` method now works when no scenes have been loaded yet
  93. Changes in Pannellum 2.4.0 (2018-01-30)
  94. ---------------------------------------
  95. New Features:
  96. - Translation support
  97. - Event for when scene change fade completes (`scenechangefadedone`)
  98. - Events for touch starts and ends (`touchstart` and `touchend`)
  99. - Added ability to set custom animation timing
  100. function (`animationTimingFunction` parameter)
  101. - Added option for only enable mouse wheel zoom while in
  102. fullscreen (`mouseZoom` parameter)
  103. - Added option to set title and author displayed while the load button
  104. is displayed (`previewTitle` and `previewAuthor` parameters)
  105. - Mouse and touch dragging can now be disabled (`draggable` parameter)
  106. - Added option to disable keyboard controls (`disableKeyboardCtrl` parameter)
  107. - CORS setting can now be configured
  108. New API functions:
  109. - Check if image is loaded (`isLoaded`)
  110. - Method to update viewer after it is resized (`resize`)
  111. - Set horizon pitch and roll (`setPose`)
  112. - Turn device orientation control on and off, check if it is supported, and
  113. check if it is activated (`startOrientation`, `stopOrientation`,
  114. `isOrientationSupported`, and `isOrientationActive`)
  115. - Method to retrieve viewer's container element (`getContainer`)
  116. Improvements:
  117. - Double-clicking now causes the viewer to zoom in (and back out when
  118. double-clicking while zoomed in)
  119. - New lines are now allowed in hot spot text
  120. - Support for HTML in configuration strings can be enabled when using
  121. the API (`escapeHTML` parameter)
  122. - Fallback cursor is provided for browsers that don't support SVG data URIs
  123. - Image type configuration parameter is now validated
  124. - Optional callbacks added to `lookAt`, `setPitch`, `setYaw`, and `setHfov`
  125. API functions
  126. - Scroll events are now only captured when they're being used
  127. - Viewer object is now assigned to a variable in the standalone viewer
  128. - Hot spots can now be added with API before panorama is loaded
  129. - Viewer UI is now created in a container element
  130. Bugfixes:
  131. - Fixed race condition when scene change hot spot is double-clicked
  132. - Fixed bug with preview image absolute URLs
  133. - Removed redundant constraints on yaw in API
  134. - Tabbing now works, and only events for keys that are used are captured
  135. - Fixed bug in HTML escaping
  136. - Fixed bug that sometimes occurred when `orientationOnByDefault` was `true`
  137. - Yaw no longer changes when device orientation mode is activated
  138. - Fixed iOS 10 canvas size too big issue
  139. - Fixed iOS 10 NPOT cube map issue
  140. - Hot spots added via API are now permanent between scene changes
  141. - Fixed multiple bugs with removing event listeners
  142. - Fixed bug with multiresolution tile loading
  143. - Fixed `sameAzimuth` target yaw not working when `northOffset` wasn't set
  144. - Fixed bug yaw out of bounds in `mouseEventToCoords`
  145. - Fixed bug with `animateMove` function
  146. - Fixed bug with scene change fade
  147. - Yaw animation is now always in the shortest direction
  148. - Fixed bug related to removing hot spots
  149. Changes in Pannellum 2.3.2 (2016-11-20)
  150. ---------------------------------------
  151. Bugfixes:
  152. - Fix Chrome fullscreen regression introduced in 2.3.1
  153. Changes in Pannellum 2.3.1 (2016-11-19)
  154. ---------------------------------------
  155. Bugfixes:
  156. - Removed use of poorly supported ES6 `Math.sign` function
  157. - Fixed fullscreen bug in Internet Explorer
  158. - Fixed framerate issue with device orientation control enabled
  159. Improvements:
  160. - Better handling of view limits when both limits are in view
  161. Changes in Pannellum 2.3.0 (2016-10-30)
  162. ---------------------------------------
  163. New Features:
  164. - Device orientation support for mobile devices
  165. - Event framework for API
  166. - Partial panorama background color can now be set using
  167. `backgroundColor` parameter
  168. - Custom hot spots are now supported as are hot spot click handlers
  169. - Hot spots can now specify target HFOV (`targetHfov` parameter)
  170. - Parameter to hide all controls (`showControls`)
  171. - Parameter to disable mouse zooming (`mouseZoom`)
  172. New API functions:
  173. - Destructor (`destroy`)
  174. - Look at position (`lookAt`)
  175. - Get current scene ID (`getScene`)
  176. - Load scene (`loadScene`)
  177. - Add and remove scenes (`addScene` and `removeScene`)
  178. - Add and remove hot spots (`addHotSpot` and `removeHotSpot`)
  179. - Auto rotate start / stop (`startAutoRotate` and `stopAutoRotate`)
  180. - Retrieve current configuration (`getConfig`)
  181. - Toggle fullscreen (`toggleFullscreen`)
  182. - Get and set north offset (`getNorthOffset` and `setNorthOffset`)
  183. Improvements:
  184. - Pitch and yaw limits are now applied to edge of viewer instead of center
  185. - Panorama extents can now be set using URL parameters
  186. - Individual XMP metadata parameters can now be overridden
  187. - Horizon pitch and roll can now be manually set (was previously only
  188. supported via XMP metadata)
  189. - When auto rotate restarts, the pitch and HFOV now return to their
  190. original values
  191. - API movements can now be animated
  192. - Standalone viewer is more mobile friendly
  193. - Improved touch panning interaction
  194. - Fragments identifiers can now be used for standalone viewer configuration
  195. - Blob URLs are now supported
  196. - Added hot spot debug indicator
  197. - Video.js plugin now accepts a Pannellum configuration
  198. Bugfixes:
  199. - Fixed numerous auto rotate bugs
  200. - Auto rotate speed is now actually in degrees per second
  201. - Long error URLs are now properly wrapped
  202. - Fixed mobile device orientation change bug
  203. - Fixed Safari fullscreen bug
  204. - Fullscreen now works in IE
  205. - Fixed Chrome bug where hot spots appeared above controls
  206. - Scene fades with multires now work properly
  207. - Hot spot target pointing now works when set to zero
  208. - Hot spots without text are now properly handled
  209. - Fixed memory leaks
  210. - Fixed multires tile loading error
  211. - Fixed a few URL handling bugs
  212. - Fixed multires zoom jumping when viewer was resized
  213. - Title and author are now reset when changing scenes
  214. - Mouse handlers now work with Hi-DPI displays
  215. - Minimum and maximum HFOV can now both be set to the same value
  216. Backwards-Incompatible Configuration Parameter Changes:
  217. - The deprecated `tour` parameter was removed; tour JSON configuration files
  218. can be used with the `config` parameter
  219. Changes in Pannellum 2.2.1 (2016-03-11)
  220. ---------------------------------------
  221. New Features:
  222. - NPM support
  223. Improvements:
  224. - Set `Accept` header to request images
  225. - Ensure `hfov` is a number
  226. - Better restriction on yaw range
  227. Changes in Pannellum 2.2.0 (2016-01-27)
  228. ---------------------------------------
  229. New Features:
  230. - An API has been added instead of just a standalone viewer; the API should be
  231. considered experimental at this point and may be subject to change
  232. - The `PosePitchDegrees` and `PoseRollDegrees` XMP tags are now supported
  233. (used by the Ricoh Theta S)
  234. - Optional fade animation for transitioning between scenes using the
  235. `sceneFadeDuration` parameter
  236. - New `autoRotateStopDelay` parameter that allows the panorama to be rotate
  237. for a specific period of time before stopping
  238. - Hot spot debug parameter to assist with positioning hot spots
  239. (`hotSpotDebug`)
  240. - Parameter to disable keyboard zooming (`keyboardZoom`)
  241. Improvements:
  242. - Much better equirectangular video support using Video.js
  243. - High-DPI support
  244. - Unified configuration files; tour configuration files can now be used
  245. directly with the `config` parameter
  246. - Page title is now set to the panorama title in the standalone viewer
  247. - Aspect ratio of preview image is now maintained
  248. - Fullscreen button is now only shown if fullscreen is allowed
  249. - Pointer Events are now supported for touch controls in IE / Edge
  250. - Performance improvements
  251. - CSS 3D renderer now works with cubemaps
  252. - CSS 3D renderer now works in IE 10/11
  253. - Configuration files are now loaded asynchronously (synchronous request are
  254. deprecated by most browsers)
  255. - Improved keyboard zooming speed
  256. - Added checks to avoid browser NPOT cubemap bugs
  257. - Better path handling
  258. - Informative error is shown when Pannellum is opend from local filesystem
  259. instead of a web server
  260. Bugfixes:
  261. - Fixed zoom out jerkiness in Chrome
  262. - Fixed inertia-related jumping
  263. - Fixed CSS 3D renderer edge flickering issue
  264. - Fixed CSS 3D renderer hot spot display bug
  265. - Fixed a number of Safari-related bugs
  266. - Fixed bug with autoloaded tours
  267. - Fixed bug where hot spot tooltips were sometimes obscured
  268. - Fixed CSS 3D renderer fullscreen bug
  269. - Fixed `vOffset` bug
  270. - Fixed image hot spots bug
  271. - Fixed zoom bug related to small multires panoramas
  272. Backwards-Incompatible Configuration Parameter Changes:
  273. - The sign of hot spot yaw positions has been flipped to match the rest of
  274. Pannellum's yaw values
  275. - The `tour` parameter is deprecated and will be removed in the next major
  276. release; tour JSON configuration files can be used with the `config`
  277. parameter
  278. - Undocumented URL configuration parameters can no longer be used
  279. - The `header` parameter can no longer be used; use the API instead
  280. Other:
  281. - Extra row of pixels no longer needed in multires fallback images
  282. - Added JSDoc documentation
  283. Changes in Pannellum 2.1.1 (2015-01-19)
  284. ---------------------------------------
  285. Bugfixes:
  286. - Force subpixel rendering for hot spots
  287. Changes in Pannellum 2.1.0 (2015-01-14)
  288. ---------------------------------------
  289. New Features:
  290. - Ability to limit pitch, yaw, and hfov extents
  291. - Can set starting pitch and yaw in scene linked to by hotspot
  292. - Pinch to zoom
  293. - Zoom and fullscreen controls can be hidden
  294. - "Inertia"
  295. - Option to begin auto rotating after a period of user inactivity
  296. - Use Photo Sphere XMP metadata for configuration
  297. - Preliminary equirectangular video support (no controls)
  298. Improvements:
  299. - Loading progress bar is displayed for equirectangular panoramas
  300. - Error message for image being to large for a device is now much more
  301. descriptive
  302. - Zoom level choosing for multiresolution panoramas is improved
  303. - Documentation of configuration parameters was added
  304. - Python 2.7 support for multiresolution tile generator script
  305. Bugfixes:
  306. - Fix bug where preview images wasn't always loaded for cubic panoramas
  307. - Hot spots are now displayed behind controls
  308. - Fix bug with multiresolution panoramas when `basePath` isn't defined
  309. - Error message displayed for IE 9
  310. Backwards-Incompatible Configuration Parameter Changes:
  311. - `voffset` changed to `vOffset`
  312. - `autorotate` changed to `autoRotate`
  313. - `autoload` changed to `autoLoad`
  314. - `autoLoad` value changed from `'yes'` to `true`
  315. Other:
  316. - Popout mode, for browsers that do not support the fullscreen API, has been
  317. removed
  318. Changes in Pannellum 2.0.1 (2014-08-24)
  319. ---------------------------------------
  320. Bugfixes:
  321. - Fix keyboard controls in Safari
  322. Changes in Pannellum 2.0 (2014-08-22)
  323. -------------------------------------
  324. New Features:
  325. - New rendering backend
  326. - Multiresolution panoramas
  327. - Partial panoramas
  328. - Cubic panoramas
  329. - CSS 3D fallback renderer for multiresolution panoramas
  330. - JSON configuration files
  331. - Hot spots and tours
  332. - Compass headings
  333. Improvements:
  334. - More configuration options
  335. - New theme
  336. - Performance improvements
  337. - CORS support
  338. Bugfixes:
  339. - Numerous
  340. Changes in Pannellum 1.2 (2012-08-28)
  341. -------------------------------------
  342. New Features:
  343. - Added keyboard panning controls
  344. - Added support for a fallback URL if WebGL is not supported
  345. Improvements:
  346. - Clarified load button text
  347. - Switched from raster to vector icons
  348. Bugfixes:
  349. - Added workaround for WebKit fullscreen regression