Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

changelog.md 11 KiB

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