Skip to content

Commit

Permalink
Prep for release.
Browse files Browse the repository at this point in the history
  • Loading branch information
mpetroff committed Jul 13, 2019
1 parent 5d6d91d commit 9673783
Show file tree
Hide file tree
Showing 7 changed files with 52 additions and 6 deletions.
2 changes: 1 addition & 1 deletion COPYING
@@ -1,4 +1,4 @@
Copyright (c) 2011-2018 Matthew Petroff
Copyright (c) 2011-2019 Matthew Petroff

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
Expand Down
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
2.4.1
2.5.0
46 changes: 46 additions & 0 deletions changelog.md
Expand Up @@ -2,6 +2,52 @@ Changelog
=========


Changes in Pannellum 2.5.0 (2019-07-13)
---------------------------------------

New Features:
- The background color can be set for partial panoramas
(`backgroundColor` parameter)
- Partial panoramas are now supported for the multiresolution format
- An author URL can now be added (`authorURL` parameter)

New API functions:
- Added `fullscreenchange`, `zoomchange`, and `animatefinished` events
- Added `stopMovement` function for stopping all viewer movement

Improvements:
- Equirectangular images are now automatically split into two separate
textures if they're too big (images up to 8192px wide should now be
widely supported)
- Improved render quality for equirectangular images on mobile (using `highp`
for fragment shader)
- Keyboard events for keys not used by the viewer are no longer captured, and
the list of captured keys is configurable (`capturedKeyNumbers` parameter)
- Multiresolution tiles can now be generated from cylindrical panoramas
- Hot spots can now be removed from scenes that aren't currently loaded
- Hot spot cursor is now set via CSS class (so it can be overridden)
- Hot spot link attributes can now be set (`attributes` parameter)
- The "friction" that slows down the viewer motion can now be configured
(`friction` parameter)
- Dynamic scenes are now properly supported for tours

Bugfixes:
- Fixed regression in fallback renderer
- Fixed bug with URL encoding
- Fixed regression in Video.js plugin
- Fixed auto-rotate bug that was manifested when using API to set view
- Fixed full screen bug in Chrome
- Fixed bug with removing event listeners
- Fixed issue with mouse dragging causing jump around yaw limits
- Fixed bug with deleting hot spots
- Fixed bug with fading between scenes

Other:
- Added limited test suite / continuous integration
- Removed `requestAnimationFrame` shim, dropping support for some
older browsers


Changes in Pannellum 2.4.1 (2018-03-03)
---------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name": "pannellum",
"description": "Pannellum is a lightweight, free, and open source panorama viewer for the web.",
"version": "2.4.1",
"version": "2.5.0",
"bugs": {
"url": "https://github.com/mpetroff/pannellum/issues"
},
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Expand Up @@ -4,7 +4,7 @@

## About

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.
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.

## How to use
1. Upload `build/pannellum.htm` and a full equirectangular panorama to a web server.
Expand Down
2 changes: 1 addition & 1 deletion src/js/libpannellum.js
@@ -1,6 +1,6 @@
/*
* libpannellum - A WebGL and CSS 3D transform based Panorama Renderer
* Copyright (c) 2012-2018 Matthew Petroff
* Copyright (c) 2012-2019 Matthew Petroff
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/js/pannellum.js
@@ -1,6 +1,6 @@
/*
* Pannellum - An HTML5 based Panorama Viewer
* Copyright (c) 2011-2018 Matthew Petroff
* Copyright (c) 2011-2019 Matthew Petroff
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down

0 comments on commit 9673783

Please sign in to comment.