Skip to content

Commit 9673783

Browse files
committed
Prep for release.
1 parent 5d6d91d commit 9673783

7 files changed

+52
-6
lines changed

COPYING

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2011-2018 Matthew Petroff
1+
Copyright (c) 2011-2019 Matthew Petroff
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy of
44
this software and associated documentation files (the "Software"), to deal in

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.4.1
1+
2.5.0

changelog.md

+46
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,52 @@ Changelog
22
=========
33

44

5+
Changes in Pannellum 2.5.0 (2019-07-13)
6+
---------------------------------------
7+
8+
New Features:
9+
- The background color can be set for partial panoramas
10+
(`backgroundColor` parameter)
11+
- Partial panoramas are now supported for the multiresolution format
12+
- An author URL can now be added (`authorURL` parameter)
13+
14+
New API functions:
15+
- Added `fullscreenchange`, `zoomchange`, and `animatefinished` events
16+
- Added `stopMovement` function for stopping all viewer movement
17+
18+
Improvements:
19+
- Equirectangular images are now automatically split into two separate
20+
textures if they're too big (images up to 8192px wide should now be
21+
widely supported)
22+
- Improved render quality for equirectangular images on mobile (using `highp`
23+
for fragment shader)
24+
- Keyboard events for keys not used by the viewer are no longer captured, and
25+
the list of captured keys is configurable (`capturedKeyNumbers` parameter)
26+
- Multiresolution tiles can now be generated from cylindrical panoramas
27+
- Hot spots can now be removed from scenes that aren't currently loaded
28+
- Hot spot cursor is now set via CSS class (so it can be overridden)
29+
- Hot spot link attributes can now be set (`attributes` parameter)
30+
- The "friction" that slows down the viewer motion can now be configured
31+
(`friction` parameter)
32+
- Dynamic scenes are now properly supported for tours
33+
34+
Bugfixes:
35+
- Fixed regression in fallback renderer
36+
- Fixed bug with URL encoding
37+
- Fixed regression in Video.js plugin
38+
- Fixed auto-rotate bug that was manifested when using API to set view
39+
- Fixed full screen bug in Chrome
40+
- Fixed bug with removing event listeners
41+
- Fixed issue with mouse dragging causing jump around yaw limits
42+
- Fixed bug with deleting hot spots
43+
- Fixed bug with fading between scenes
44+
45+
Other:
46+
- Added limited test suite / continuous integration
47+
- Removed `requestAnimationFrame` shim, dropping support for some
48+
older browsers
49+
50+
551
Changes in Pannellum 2.4.1 (2018-03-03)
652
---------------------------------------
753

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "pannellum",
33
"description": "Pannellum is a lightweight, free, and open source panorama viewer for the web.",
4-
"version": "2.4.1",
4+
"version": "2.5.0",
55
"bugs": {
66
"url": "https://github.com/mpetroff/pannellum/issues"
77
},

readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
## About
66

7-
Pannellum is a lightweight, free, and open source panorama viewer for the web. Built using HTML5, CSS3, JavaScript, and WebGL, it is plug-in free. It can be deployed easily as a single file, just 15kB gzipped, and then embedded into pages as an `<iframe>`. A configuration utility is included to generate the required code for embedding. An API is included for more advanced integrations.
7+
Pannellum is a lightweight, free, and open source panorama viewer for the web. Built using HTML5, CSS3, JavaScript, and WebGL, it is plug-in free. It can be deployed easily as a single file, just 21kB gzipped, and then embedded into pages as an `<iframe>`. A configuration utility is included to generate the required code for embedding. An API is included for more advanced integrations.
88

99
## How to use
1010
1. Upload `build/pannellum.htm` and a full equirectangular panorama to a web server.

src/js/libpannellum.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* libpannellum - A WebGL and CSS 3D transform based Panorama Renderer
3-
* Copyright (c) 2012-2018 Matthew Petroff
3+
* Copyright (c) 2012-2019 Matthew Petroff
44
*
55
* Permission is hereby granted, free of charge, to any person obtaining a copy
66
* of this software and associated documentation files (the "Software"), to deal

src/js/pannellum.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Pannellum - An HTML5 based Panorama Viewer
3-
* Copyright (c) 2011-2018 Matthew Petroff
3+
* Copyright (c) 2011-2019 Matthew Petroff
44
*
55
* Permission is hereby granted, free of charge, to any person obtaining a copy
66
* of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)