您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

changelog.md 14 KiB

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