Releases: mistic100/Photo-Sphere-Viewer
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)
5.9.0
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
5.8.3
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
New features
- #1369 map: add
setZoom
method andview-changed
event
Other changes
5.8.2
Full changelog: 5.8.1...5.8.2