Skip to content

Commit

Permalink
Version bump. Version follows sematic versioning, keeping parity with…
Browse files Browse the repository at this point in the history
… angular-elevate-zoom
  • Loading branch information
ceilino committed Aug 24, 2016
1 parent 214c255 commit 0d408d5
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 48 deletions.
65 changes: 37 additions & 28 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,64 +1,73 @@
<a name="1.2.0"></a>

# 1.2.0 (2016-24-August)

+ BOWER: Fixes dependency missing on grunt wiredep
+ DOC: Correcting version in js and link for CDN
+ DOC: Correction option name for lens border 'lensSizeBorder'
+ BUILD: use semantic version, keeping parity with angular-elevate-zoom

<a name="1.1.20"></a>

# 1.1.20 (2016-28-April)

- Fix for bug in the zoom calculation for images with greater width.
+ Fix for bug in the zoom calculation for images with greater width.

<a name="1.1.19"></a>

# 1.1.19 (2016-23-March)

- Fix for bug in the zoom calculation for images with greater width.
+ Fix for bug in the zoom calculation for images with greater width.

<a name="1.1.18"></a>

# 1.1.18 (2015-20-Dec)

- Set minZoomLevel to 1.01, that helps to zoom small images.
+ Set minZoomLevel to 1.01, that helps to zoom small images.

<a name="1.1.2"></a>

# 1.1.2 (2015-01-June)

- Corrected hundreds of JSHint errors/warnings
- Added JSCS code style validation.
- Corrected hundreds of JSCS warnings.
- Fixed unwanted global variables.
- Fixed closeAll method not working at all.
+ Corrected hundreds of JSHint errors/warnings
+ Added JSCS code style validation.
+ Corrected hundreds of JSCS warnings.
+ Fixed unwanted global variables.
+ Fixed closeAll method not working at all.

<a name="1.1.1"></a>

# 1.1.1 (2015-01-June)

- Feature: Adding support to multiple galleries. …
+ Feature: Adding support to multiple galleries. …
This change provides:
Flexibility to select the element with a another selector different of the id. Providing you support to multiples galleries.
Adding galleryItem option to choose another item type
All elements added to gallery, now inherit the onclick event
- Fix width scale error
- Feature: Added callback function 'onDestroy'. It is useful to destroy/hide 'zoomContainer' div when working with single page application (e.g; AngularJS application)
- Remove support for deprecated mousewheel event and replace with wheel event.
+ Fix width scale error
+ Feature: Added callback function 'onDestroy'. It is useful to destroy/hide 'zoomContainer' div when working with single page application (e.g; AngularJS application)
+ Remove support for deprecated mousewheel event and replace with wheel event.
See: https://developer.mozilla.org/en-US/docs/Web/Events/mousewheel
- Add z_index option to set z-index of container.
- Fix: round lens position to avoid border flickering.
- Fixed broken CSS
- Fix: remove -webkit-transform: translateZ(0); because it breaks z-index properties
- Improvement: Renamed "Postition" to "Position" for better consistency.
- Improvement: Change cursor default value to inherit
- Feature: Add mantainZoomAspectRatio as option. This change will allow to decide if you want to decrease zoom of one of the dimensions once the other reached it's top value, or keep the aspect ratio, default behaviour still being as always, allow to continue zooming out, so it keeps retrocompatibility.
- Improvement: Added callback for when zoomWindow is just about to be shown. The zoomWindow would often fall offscreen, so I added a callback just before it is shown so that repositioning it is possible.
- Improvement: Optimizes calls to css(), width() and height() for performance reasons.
+ Add z_index option to set z-index of container.
+ Fix: round lens position to avoid border flickering.
+ Fixed broken CSS
+ Fix: remove -webkit-transform: translateZ(0); because it breaks z-index properties
+ Improvement: Renamed "Postition" to "Position" for better consistency.
+ Improvement: Change cursor default value to inherit
+ Feature: Add mantainZoomAspectRatio as option. This change will allow to decide if you want to decrease zoom of one of the dimensions once the other reached it's top value, or keep the aspect ratio, default behaviour still being as always, allow to continue zooming out, so it keeps retrocompatibility.
+ Improvement: Added callback for when zoomWindow is just about to be shown. The zoomWindow would often fall offscreen, so I added a callback just before it is shown so that repositioning it is possible.
+ Improvement: Optimizes calls to css(), width() and height() for performance reasons.
Profiling has shown that calls of the jquery css() method consumed very much time when moving the lens. This resulted in lags when moving the lens fast in Firefox and IE. By optimizing the css() calls (and also width() / height() methods) and the their parameters, the lags are now almost gone.
- Fixed Duplicate self.options.zoomWindowWidth
- Move zoom container parent selector to options.
- Fix lens proportion calculation. The condition was incorrectly checking for the width of the zoom window instead of the height, causing the lens to be equal height with the non-zoomed image when the actual viewport was smaller
- add option to specify a click callback (for the large image) add API document
+ Fixed Duplicate self.options.zoomWindowWidth
+ Move zoom container parent selector to options.
+ Fix lens proportion calculation. The condition was incorrectly checking for the width of the zoom window instead of the height, causing the lens to be equal height with the non-zoomed image when the actual viewport was smaller
+ add option to specify a click callback (for the large image) add API document



<a name="1.0.0"></a>

# 1.0.0 (2015-28-May)
- build v1.0.1
- Initial commit, it includes bower repository settings.
- Refactor naming.
+ build v1.0.1
+ Initial commit, it includes bower repository settings.
+ Refactor naming.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ez-plus",
"title": "EZ Plus",
"version": "1.1.20",
"version": "1.2.0",
"description": "A jQuery image zoom plug-in, with tints, easing and gallery integration.",
"author": {
"name": "Igor Lino",
Expand Down
12 changes: 6 additions & 6 deletions demo/api.htm
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
href="https://cdn.rawgit.com/igorlino/fancybox-plus/1.3.6/css/jquery.fancybox-plus.css" media="screen"/>

<!--
<script type="text/javascript" src="https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.1.20/src/jquery.ez-plus.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.1.20/css/jquery.ez-plus.css" media="screen" />
<link rel="stylesheet" type="text/css" href="https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.1.20/demo/css/style.css" media="screen" />
<script type="text/javascript" src="https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.1.20/demo/js/web.js?m=20100203"></script>
<script type="text/javascript" src="https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.2.0/src/jquery.ez-plus.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.2.0/css/jquery.ez-plus.css" media="screen" />
<link rel="stylesheet" type="text/css" href="https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.2.0/demo/css/style.css" media="screen" />
<script type="text/javascript" src="https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.2.0/demo/js/web.js?m=20100203"></script>
-->

<script type="text/javascript" src="../src/jquery.ez-plus.js"></script>
Expand All @@ -41,8 +41,8 @@
Cufon.replace('h1', {color: '#ff6347'});
</script>

<link type="text/css" rel="stylesheet" href="https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.1.20/demo/css/prism.css"/>
<script type="text/javascript" src="https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.1.20/demo/js/prism.js"></script>
<link type="text/css" rel="stylesheet" href="https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.2.0/demo/css/prism.css"/>
<script type="text/javascript" src="https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.2.0/demo/js/prism.js"></script>
</head>
<body>
<div id="page">
Expand Down
14 changes: 7 additions & 7 deletions demo/examples.htm
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
href="https://cdn.rawgit.com/igorlino/fancybox-plus/1.3.6/css/jquery.fancybox-plus.css" media="screen"/>

<!--
<script type="text/javascript" src="https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.1.20/src/jquery.ez-plus.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.1.20/css/jquery.ez-plus.css" media="screen" />
<link rel="stylesheet" type="text/css" href="https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.1.20/demo/css/style.css" media="screen" />
<script type="text/javascript" src="https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.1.20/demo/js/web.js?m=20100203"></script>
<script type="text/javascript" src="https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.2.0/src/jquery.ez-plus.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.2.0/css/jquery.ez-plus.css" media="screen" />
<link rel="stylesheet" type="text/css" href="https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.2.0/demo/css/style.css" media="screen" />
<script type="text/javascript" src="https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.2.0/demo/js/web.js?m=20100203"></script>
-->

<script type="text/javascript" src="../src/jquery.ez-plus.js"></script>
Expand All @@ -44,9 +44,9 @@
<script type="text/javascript"
src="https://cdn.rawgit.com/igorlino/snippet-helper/1.0.1/src/snippet-helper.js"></script>
<link type="text/css" rel="stylesheet"
href="https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.1.20/demo/css/prism.css"/>
href="https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.2.0/demo/css/prism.css"/>
<script type="text/javascript"
src="https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.1.20/demo/js/prism.js"></script>
src="https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.2.0/demo/js/prism.js"></script>

</head>
<body>
Expand Down Expand Up @@ -391,7 +391,7 @@ <h3><a name="window-position">Window Position</a></h3>
offset
to adjust
<img
src="https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.1.20/demo/images/window-positions.png"/>
src="https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.2.0/demo/images/window-positions.png"/>
<br/>You can also position the window into a container
</p>
<a href="#" rel="view_script_04" class="view_source">SHOW THE CODE</a>
Expand Down
12 changes: 6 additions & 6 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
href="https://cdn.rawgit.com/igorlino/fancybox-plus/1.3.6/css/jquery.fancybox-plus.css" media="screen"/>

<!--
<script type="text/javascript" src="https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.1.20/src/jquery.ez-plus.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.1.20/css/jquery.ez-plus.css" media="screen" />
<link rel="stylesheet" type="text/css" href="https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.1.20/demo/css/style.css" media="screen" />
<script type="text/javascript" src="https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.1.20/demo/js/web.js?m=20100203"></script>
<script type="text/javascript" src="https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.2.0/src/jquery.ez-plus.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.2.0/css/jquery.ez-plus.css" media="screen" />
<link rel="stylesheet" type="text/css" href="https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.2.0/demo/css/style.css" media="screen" />
<script type="text/javascript" src="https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.2.0/demo/js/web.js?m=20100203"></script>
-->

<script type="text/javascript" src="../src/jquery.ez-plus.js"></script>
Expand All @@ -42,8 +42,8 @@
</script>

<script type="text/javascript" src="https://cdn.rawgit.com/igorlino/snippet-helper/1.0.1/src/snippet-helper.js"></script>
<link type="text/css" rel="stylesheet" href="https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.1.20/demo/css/prism.css"/>
<script type="text/javascript" src="https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.1.20/demo/js/prism.js"></script>
<link type="text/css" rel="stylesheet" href="https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.2.0/demo/css/prism.css"/>
<script type="text/javascript" src="https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.2.0/demo/js/prism.js"></script>
</head>
<body>
<div id="page" class="home">
Expand Down

1 comment on commit 0d408d5

@dvdvck
Copy link
Contributor

@dvdvck dvdvck commented on 0d408d5 Mar 5, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the record;
package.json file was not updated for the version number. This breaks the installation of his companion https://github.com/igorlino/angular-elevatezoom-plus package
at 1.2.0 version.

Please sign in to comment.