Releases: mistic100/Photo-Sphere-Viewer
5.12.1
5.12.0
Full changelog: 5.11.5...5.12.0
Breaking changes
- Migrate to SASS modules, please read the updated documentation if you build the stylesheet from source
- Removed a bunch of previously deprecated options
New features
- #1552 map & plan: add borderSize & borderColor hotspot options
- #1529 markers: polygonPixels compatible with cubemap
Types
5.11.5
Full changelog: 5.11.4...5.11.5
New features
- #1518 virtual-tour add "gotoLink" and "getLinkPosition" methods
Bug fixes
- #1524 performance on Firefox with strict security level
Other changes
- #1526 disable right click on viewer (not on UI elements)
5.11.4
Full changelog: 5.11.3...5.11.4
- Fix #1519 package.json exports order
5.11.3
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
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
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
Full changelog: 5.10.1...5.11.0
Breaking changes
- As announced in version 5.10.0 changelog,
Viewer.useNewAnglesOrder
is nowtrue
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 thelang
object for easier localization of the viewer without having to reload - #1450 virtual-tour: add
forceUpdate
option tosetCurrentNode()
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 providefullWidth
+croppedX
+croppedY
, other fields are optional - #1451 add original keyboard event to
KeypressEvent
and tokeyboardActions
callbacks
5.10.1
Full changelog: 5.10.0...5.10.1
Bug fixes
New features
- #1437 compass: add
resetPitch
option - resolution: add "panoData" option
5.10.0
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
totrue
. - with version 5.11.0 the new behaviour will be the default. You will be able to opt-out by setting
Viewer.useNewAnglesOrder
tofalse
. - 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
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)