Skip to content

Releases: mpetroff/pannellum

Pannellum 2.5.6

26 Nov 17:55
Compare
Choose a tag to compare

Security fixes:

  • Extended partial fix in v2.5.5 for XSS vulnerability that allowed script execution when hot spots were clicked (CVE-2019-16763)

Pannellum 2.5.5

22 Nov 01:40
Compare
Choose a tag to compare

Bugfixes:

  • Fixed device orientation permission request such that it works with iOS 13
  • Extend yaw bounds range to allow restricted range that crosses +/-180 deg

Security fixes:

  • Fixed XSS vulnerability that allowed script execution when hot spots were clicked

Pannellum 2.5.4

10 Sep 15:07
Compare
Choose a tag to compare

Bugfixes:

  • Fixed issue with loading large equirectangular panoramas on iOS
  • Fixed issue with touch-based scrolling with draggable set to false

Improvements:

  • Started requesting device orientation permission (untested)

Pannellum 2.5.3

21 Aug 13:33
Compare
Choose a tag to compare

Bugfixes:

  • Fixed loading scenes after previous load failure
  • Fixed regression that caused auto-rotation to stop after one revolution
  • Fixed behavior of multiResMinHfov to match documentation;
    default multi-resolution minHfov behavior now matches pre-v2.5

Improvements:

  • Added optional scale parameter to scale hot spots while zooming
  • Improved recovery from failed scene loading

API improvements:

  • Added optional pitch argument to startAutoRotate

Other:

  • Added Journal of Open Source Software (JOSS) manuscript
  • Numerous documentation improvements per JOSS review (thanks @vsoch and @Fil)
  • Improved continuous integration and automated testing support
  • Clarified generate.py error messages
  • Added Dockerfile for generate.py

Pannellum 2.5.2

14 Jul 01:43
Compare
Choose a tag to compare

Bugfixes:

  • Fixed regression in Video.js plugin

Pannellum 2.5.1

13 Jul 23:53
Compare
Choose a tag to compare

Other:

  • Fixed issue with tagging 2.5.0 release

Pannellum 2.5.0

13 Jul 23:41
Compare
Choose a tag to compare

New Features:

  • The background color can be set for partial panoramas
    (backgroundColor parameter)
  • Partial panoramas are now supported for the multiresolution format
  • An author URL can now be added (authorURL parameter)

New API functions:

  • Added fullscreenchange, zoomchange, and animatefinished events
  • Added stopMovement function for stopping all viewer movement

Improvements:

  • Equirectangular images are now automatically split into two separate
    textures if they're too big (images up to 8192px wide should now be
    widely supported)
  • Improved render quality for equirectangular images on mobile (using highp
    for fragment shader)
  • Keyboard events for keys not used by the viewer are no longer captured, and
    the list of captured keys is configurable (capturedKeyNumbers parameter)
  • Multiresolution tiles can now be generated from cylindrical panoramas
  • Hot spots can now be removed from scenes that aren't currently loaded
  • Hot spot cursor is now set via CSS class (so it can be overridden)
  • Hot spot link attributes can now be set (attributes parameter)
  • The "friction" that slows down the viewer motion can now be configured
    (friction parameter)
  • Dynamic scenes are now properly supported for tours

Bugfixes:

  • Fixed regression in fallback renderer
  • Fixed bug with URL encoding
  • Fixed regression in Video.js plugin
  • Fixed auto-rotate bug that was manifested when using API to set view
  • Fixed full screen bug in Chrome
  • Fixed bug with removing event listeners
  • Fixed issue with mouse dragging causing jump around yaw limits
  • Fixed bug with deleting hot spots
  • Fixed bug with fading between scenes

Other:

  • Added limited test suite / continuous integration
  • Removed requestAnimationFrame shim, dropping support for some
    older browsers

Pannellum 2.4.1

04 Mar 01:27
Compare
Choose a tag to compare

Bugfixes:

  • Fix touch input issue in Chrome
  • The API's loadScene method now works when no scenes have been loaded yet

Pannellum 2.4.0

31 Jan 04:26
Compare
Choose a tag to compare

New Features:

  • Translation support
  • Event for when scene change fade completes (scenechangefadedone)
  • Events for touch starts and ends (touchstart and touchend)
  • Added ability to set custom animation timing
    function (animationTimingFunction parameter)
  • Added option for only enable mouse wheel zoom while in
    fullscreen (mouseZoom parameter)
  • Added option to set title and author displayed while the load button
    is displayed (previewTitle and previewAuthor parameters)
  • Mouse and touch dragging can now be disabled (draggable parameter)
  • Added option to disable keyboard controls (disableKeyboardCtrl parameter)
  • CORS setting can now be configured

New API functions:

  • Check if image is loaded (isLoaded)
  • Method to update viewer after it is resized (resize)
  • Set horizon pitch and roll (setPose)
  • Turn device orientation control on and off, check if it is supported, and
    check if it is activated (startOrientation, stopOrientation,
    isOrientationSupported, and isOrientationActive)
  • Method to retrieve viewer's container element (getContainer)

Improvements:

  • Double-clicking now causes the viewer to zoom in (and back out when
    double-clicking while zoomed in)
  • New lines are now allowed in hot spot text
  • Support for HTML in configuration strings can be enabled when using
    the API (escapeHTML parameter)
  • Fallback cursor is provided for browsers that don't support SVG data URIs
  • Image type configuration parameter is now validated
  • Optional callbacks added to lookAt, setPitch, setYaw, and setHfov
    API functions
  • Scroll events are now only captured when they're being used
  • Viewer object is now assigned to a variable in the standalone viewer
  • Hot spots can now be added with API before panorama is loaded
  • Viewer UI is now created in a container element

Bugfixes:

  • Fixed race condition when scene change hot spot is double-clicked
  • Fixed bug with preview image absolute URLs
  • Removed redundant constraints on yaw in API
  • Tabbing now works, and only events for keys that are used are captured
  • Fixed bug in HTML escaping
  • Fixed bug that sometimes occurred when orientationOnByDefault was true
  • Yaw no longer changes when device orientation mode is activated
  • Fixed iOS 10 canvas size too big issue
  • Fixed iOS 10 NPOT cube map issue
  • Hot spots added via API are now permanent between scene changes
  • Fixed multiple bugs with removing event listeners
  • Fixed bug with multiresolution tile loading
  • Fixed sameAzimuth target yaw not working when northOffset wasn't set
  • Fixed bug yaw out of bounds in mouseEventToCoords
  • Fixed bug with animateMove function
  • Fixed bug with scene change fade
  • Yaw animation is now always in the shortest direction
  • Fixed bug related to removing hot spots

Pannellum 2.3.2

21 Nov 01:15
Compare
Choose a tag to compare

Bugfixes:

  • Fix Chrome fullscreen regression introduced in 2.3.1