Skip to content

Commit

Permalink
Prep for release.
Browse files Browse the repository at this point in the history
  • Loading branch information
mpetroff committed Oct 30, 2016
1 parent f78683f commit 15903fc
Show file tree
Hide file tree
Showing 5 changed files with 74 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.2.1
2.3.0
70 changes: 70 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,76 @@ Changelog
=========


Changes in Pannellum 2.3.0
--------------------------

New Features:

- Device orientation support for mobile devices
- Event framework for API
- Partial panorama background color can now be set using
`backgroundColor` parameter
- Custom hot spots are now supported as are hot spot click handlers
- Hot spots can now specify target HFOV (`targetHfov` parameter)
- Parameter to hide all controls (`showControls`)
- Parameter to disable mouse zooming (`mouseZoom`)

New API functions:

- Destructor (`destroy`)
- Look at position (`lookAt`)
- Get current scene ID (`getScene`)
- Load scene (`loadScene`)
- Add and remove scenes (`addScene` and `removeScene`)
- Add and remove hot spots (`addHotSpot` and `removeHotSpot`)
- Auto rotate start / stop (`startAutoRotate` and `stopAutoRotate`)
- Retrieve current configuration (`getConfig`)
- Toggle fullscreen (`toggleFullscreen`)
- Get and set north offset (`getNorthOffset` and `setNorthOffset`)

Improvements:

- Pitch and yaw limits are now applied to edge of viewer instead of center
- Panorama extents can now be set using URL parameters
- Individual XMP metadata parameters can now be overridden
- Horizon pitch and roll can now be manually set (was previously only
supported via XMP metadata)
- When auto rotate restarts, the pitch and HFOV now return to their
original values
- API movements can now be animated
- Standalone viewer is more mobile friendly
- Improved touch panning interaction
- Fragments identifiers can now be used for standalone viewer configuration
- Blob URLs are now supported
- Added hot spot debug indicator
- Video.js plugin now accepts a Pannellum configuration

Bugfixes:

- Fixed numerous auto rotate bugs
- Auto rotate speed is now actually in degrees per second
- Long error URLs are now properly wrapped
- Fixed mobile device orientation change bug
- Fixed Safari fullscreen bug
- Fullscreen now works in IE
- Fixed Chrome bug where hot spots appeared above controls
- Scene fades with multires now work properly
- Hot spot target pointing now works when set to zero
- Hot spots without text are now properly handled
- Fixed memory leaks
- Fixed multires tile loading error
- Fixed a few URL handling bugs
- Fixed multires zoom jumping when viewer was resized
- Title and author are now reset when changing scenes
- Mouse handlers now work with Hi-DPI displays
- Minimum and maximum HFOV can now both be set to the same value

Backwards-Incompatible Configuration Parameter Changes:

- The deprecated `tour` parameter was removed; tour JSON configuration files
can be used with the `config` parameter


Changes in Pannellum 2.2.1
--------------------------

Expand Down
2 changes: 1 addition & 1 deletion doc/events.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Events
# API Events

## `load`

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "pannellum",
"description": "Pannellum is a lightweight, free, and open source panorama viewer for the web.",
"version": "2.2.1",
"version": "2.3.0",
"bugs": {
"url": "https://github.com/mpetroff/pannellum/issues"
},
Expand Down
1 change: 1 addition & 0 deletions src/js/pannellum.js
Original file line number Diff line number Diff line change
Expand Up @@ -1368,6 +1368,7 @@ function render() {

/**
* Creates a new quaternion.
* @private
* @constructor
* @param {Number} w - W value
* @param {Number} x - X value
Expand Down

0 comments on commit 15903fc

Please sign in to comment.