Skip to content

Releases: mistic100/Photo-Sphere-Viewer

5.11.4

18 Dec 22:37
Compare
Choose a tag to compare

Full changelog: 5.11.3...5.11.4

  • Fix #1519 package.json exports order

5.11.3

18 Dec 20:42
Compare
Choose a tag to compare

Full changelog: 5.11.2...5.11.3

Bug fixes

  • #1517 Invalid packaging
    • missing CSS, SCSS and DTS in "exports"
    • invalid versions for "peerDependencies"
  • Fix download button color

5.11.2

14 Dec 16:35
Compare
Choose a tag to compare

Full changelog: 5.11.1...5.11.2

New features

  • Add new transition effects "black" and "white" for setPanorama() method (demo)
  • New global option defaultTransition
  • virtual-tour: new options to reflect above changes

DEPRECATION NOTICE: the speed option and the "fade-only" value of the transition option for the setPanorama() method are deprecated. Instead, set transition as a on object with speed, rotation and effect properties.

Exemple (default values) :

viewer.setPanorama(..., {
  transition: { speed: 1500, rotation: true, effect: 'fade' }
});

Bug fixes

  • #1471 virtual-tour: fix updateNode in GPS mode

Other changes

Cypress automated tests reports are publicly available: https://psv-cypress-reports.netlify.app

5.11.1

26 Oct 11:53
Compare
Choose a tag to compare

Full changelog: 5.11.0...5.11.1

New features

  • #1460 virtual-tour: new "updateNode" method

Bug fixes

  • black screen with large textures on Firefox

5.11.0

17 Oct 20:27
Compare
Choose a tag to compare

Full changelog: 5.10.1...5.11.0

Breaking changes

  • As announced in version 5.10.0 changelog, Viewer.useNewAnglesOrder is now true by default. If you changed it recently you should now remove your override as the flag will be removed in version 5.12.0
  • The interpolateBackground option of the Equirectangular adapter (default) is not supported anymore
  • overlays: remove video and positionned overlays

New features

  • #1458 the title field of custom buttons can reference a key in the lang object for easier localization of the viewer without having to reload
  • #1450 virtual-tour: add forceUpdate option to setCurrentNode() method
  • #1443 video: add existing HTMLVideoElement support

Bug fixes

  • #1458 improve translation support
  • #1451 ignore keyboard actions if a modifier (alt, shift, etc.) is pressed
  • #1449 virtual-tour: compatibility with autorotate

Other changes

  • #1278 greatly improved to loading performance of cropped panoramas
  • The movement inertia has been reworked from the ground up, it is now more fluid
  • Make panoData more flexible, you might only provide fullWidth + croppedX + croppedY, other fields are optional
  • #1451 add original keyboard event to KeypressEvent and to keyboardActions callbacks

5.10.1

23 Sep 19:01
543de60
Compare
Choose a tag to compare

Full changelog: 5.10.0...5.10.1

Bug fixes

  • #1438 call WebGLRenderer.dispose on viewer destroy
  • #1440 autorotate: stuck when using keyboard zoom

New features

  • #1437 compass: add resetPitch option
  • resolution: add "panoData" option

5.10.0

07 Sep 17:18
Compare
Choose a tag to compare

Full changelog: 5.9.0...5.10.0

Incoming breaking change

After a discussion in #1406 it appeared that the pose angles defined in the XMP embedded data were incorrectly applied, resulting in an incorrect panorama orientation especially with big angles (like an upside down camera). In order to fix it and mitigate the breaking change, a migration path has been planned:

  • with version 5.10.0 the behaviour does not change but a warning is logged in the console if you use pose angles or sphere correction. You can opt-in to the new behaviour by defining the global property Viewer.useNewAnglesOrder to true.
  • with version 5.11.0 the new behaviour will be the default. You will be able to opt-out by setting Viewer.useNewAnglesOrder to false.
  • with version 5.12.0 the new behaviour will be forced and the global property will be removed.

Thanks @PanierAvide

Bug fixes

  • #1400 tooltip placement with scroll
  • #1419 compass: compatibility with markers
  • #1416 markers: updating tooltip while displayed

New features

  • #1411 map/plan: add minimizeOnHotspotClick option
  • !1407 video: support MediaStream source

Other changes

  • #1412 compatibility with Web Components: some rework has been done to be able to use Photo Sphere Viewer inside Web Components (note: it is not compatible with closed shadow DOM)

5.9.0

30 Jul 11:34
Compare
Choose a tag to compare

Full changelog: 5.8.3...5.9.0

Bug fixes

  • #1394 / #1395 performance issues during transitions
  • #1382 markers: disable text selection in container
  • #1379 virtual-tour: arrows position with gallery in 2d mode
  • fix "sphereCorrection" type & update doc about panoData

New features

  • map: new option "shape", round or square
  • compass: "navigation" option can be updated
  • autorotate: "autorotatePitch" can be null to keep current pitch

Other changes

  • Responsive UI elements use CSS Container Queries instead of Media Queries
  • stereo: automatically hide map, plan & gallery

map

5.8.3

17 Jul 17:21
ebc1fb1
Compare
Choose a tag to compare

Full changelog: 5.8.2...5.8.3

WARNING : removed the deprecated UMD files, the package only contains ESM and CJS files to align with ThreeJS builds. This was planned in 5.8.0 but was forgotten.

Bug fixes

  • #1375 map: cone size on high DPI screens
  • #1357 map: broken when used without config object

New features

  • #1369 map: add setZoom method and view-changed event

Other changes

  • #1372 compatibility between gallery, plan & map
  • #1374 compatibility between gallery & virtual-tour
  • gallery: force hideOnClick on small screens

5.8.2

04 Jul 11:03
5b483ef
Compare
Choose a tag to compare

Full changelog: 5.8.1...5.8.2

Bug fixes

  • #1344 Compatbility with three r166
  • #1349 markers: tooltip on polygons