Releases: mistic100/Photo-Sphere-Viewer
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 (default) adapter 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 providefullWith
+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
Bug fixes
5.8.1
Full changelog: 5.8.0...5.8.1
Bug fixes
5.8.0
Full changelog: 5.7.4...5.8.0
Breaking changes
- virtual-tour: the
3d
render mode has been entirely rewritten and allows to change the arrows image - virtual-tour: the
markers
render mode has been replaced by2d
and no longer requires the markers plugin - markers: the
orientation
option has been replaced byrotation
which can set yaw+pitch+roll - the little planet adapter has been removed, the same effect can be achieved with extreme fisheye
New Features
- the base equirectangular adapter will now try to read and apply additional XMP data:
InitialViewHeadingDegrees
,InitialViewPitchDegrees
andInitialHorizontalFOVDegrees
- #1288 new dual fisheye adapter
- #1118 markers: new marker type
elementLayer
allowing the integrate complex elements like iframes
Bug fixes
- #1326 markers: update marker failed when not in view
- overlays: export TS types
5.7.4
Full changelog: 5.7.3...5.7.4
New features
- #1293 markers: support polygons with holes
- core: add fullscreen emulation for iPhone
Bug fixes
- #1298 gyroscope: invalid orientation in landscape