Featherlight – Changelog
===================================

Master
-----------------------------------


0.4.9 - 2014-06-12
-----------------------------------
### Maintenance & Fixes
- Bug fix with loading ajax [#63]

0.4.8 - 2014-06-11
-----------------------------------
### Maintenance & Fixes
- Bug fix with gallery navigation (bis) [#62]

0.4.7 - 2014-06-10
-----------------------------------
### Maintenance & Fixes
- Bug fix with gallery navigation [#62]

0.4.6 - 2014-06-05
-----------------------------------
### Maintenance & Fixes
- Fix bower manifest

0.4.5 - 2014-06-04
-----------------------------------
### Maintenance & Fixes
- Bugfix for IE 8.

0.4.4 - 2014-05-31
-----------------------------------
### Maintenance & Fixes
- Call `afterClose` callback after the end of the fadeout

0.4.2 - 2014-05-29
-----------------------------------
### Maintenance & Fixes
- Avoid using global events since they are undocumented and apparently deprecated.

0.4.1 - 2014-04-17
-----------------------------------
### Maintenance & Fixes
- Fix dialog disappearing for large fixed width content
- Fig gallery navigation on IE

0.4.0 - 2014-04-07
-----------------------------------
### Features
- New option closeOnClick to support closing by clicking anywhere
– Any element inside the lightbox with the class "featherlight-close" will now trigger the closing event
- Support for nested lightboxes
- Gallery uses swipes on touch devices (if a supported library present)
- Gallery support and uses events to navigate through the images
- New functions: `$.featherlight.close()` and `current()`
- All configuration options have their equivalent html attribute.
- Improved and extensible content filters.

### Breaking changes
- `closeOnBg` no longer supported, use `closeOnClick`
- Gallery: class `.featherlight-prev` renamed to `.featherlight-previous`

The following changes could require changes to your custom CSS:

– Improves the way tall images are handled using a bottom border to maintain space (cut of instead of shrunken unproportionally)
– Improves the way the with of the lightbox is handled
– Changed paddings from % to pixels
– Changed closing icon class to featherlight-close-icon

### Maintenance & Fixes
- Improvements for mobile devices
- Many small bugs fixed
- Tests added
- $.fn.featherlight is now chainable



0.3.1 - 2014-03-01
-----------------------------------
### Maintenance & Fixes
- This.$content in after functions as well as open and close method now references actual elements inside the lightbox
- If open function has no content to open, afterOpen is prevented


0.3.0 - 2014-03-01
-----------------------------------
### Features
- Hooks! Added  before and after functions:
	´beforeClose´ ´beforeOpen´ ´afterOpen´ ´afterClose´
- Manually initialize all config.selector elements after config.autostart = false;


	$.featherlight();


### Maintenance & Fixes
- Take care, open and clouse defaults have been rewritten for Hooks!
- Preventing text selection
- Fixed issue #8
- Fixed issue #9


0.2.2 - 2014-02-10
-----------------------------------
### Features
- Added closeIcon option
- Added Gallery Configuration Options:


	gallery: {
		previous: '&#9664;',   /* Code that is used as previous icon */
		next: '&#9654;',       /* Code that is used as next icon */
		fadeIn: 100,           /* fadeIn speed when image is loaded */
		fadeOut: 300           /* fadeOut speed before image is loaded */
	}


0.2.1 - 2014-02-10
-----------------------------------
### Maintenance & Fixes
- Added image scale based on viewport height vh



0.2.0 - 2014-02-10
-----------------------------------
### Features
- Added Gallery Extension. Check out the [example page](http://noelboss.github.io/featherlight/gallery.html).


0.1.13 - 2014-02-09
-----------------------------------
### Maintenance & Fixes
- Fixed issue #7 where links inside featherlight don't work


0.1.12 - 2014-02-03
-----------------------------------
### Features
- Added configuration option 'openSpeed' and 'closeSpeed' to set animation duration

### Maintenance & Fixes
- Featherlight checks for jQuery and throws an error if not loaded
- Some jslint improvements
– Moved minified files to release/ folder
- Using grunt


0.1.11 - 2013-12-11
-----------------------------------
### Maintenance & Fixes
- Fixed iFrame detection
- Fixed close icon CSS


0.1.10 - 2013-12-10
-----------------------------------
### Features
- Added configuration object 'type' with two keys: type.image: false, type.ajax: false, to manually set type of lightbox

### Maintenance & Fixes
- Fixed behavior with missing data in targetAttr and handling of non found content


0.1.9 - 2013-12-05
-----------------------------------
### Features
- Added support for ESC key to close lightbox

### Maintenance & Fixes
- Renamed option clickBgClose to closeOnBg for consistency


0.1.8 - 2013-11-11
-----------------------------------
### Maintenance & Fixes
- Improved code readability
- Fixed typos


0.1.7 - 2013-11-06
-----------------------------------
### Maintenance & Fixes
- Fixed IE8 Issue


0.1.6 - 2013-11-05
-----------------------------------
### Features
- Added support for ajax using data-featherlight="ajax" and a href attribute
- Added support for ajax using data-featherlight="url.html .jQuery-selector"
- Modified the way how images are handeled to match ajax method using data-featherlight="image"
- Added $.featherlight.methods so all methods are accessible

### Maintenance & Fixes
- Improved JS code
- Moved defaults to $.featherlight.defaults


0.1.5 - 2013-11-05
-----------------------------------
### Features
- Added support for images
- Added option to reset css – { resetCss: true }

### Maintenance & Fixes
- Improved CSS to use flexible height and vertical alignment
- Improved JS code


0.1.3 & 0.1.4 - 2013-11-05
-----------------------------------
### Maintenance & Fixes
- Added support for jQuery plugin site: http://plugins.jquery.com/featherlight/


0.1.2 - 2013-11-04
-----------------------------------
### Maintenance & Fixes
- Fixed close behavior
- Added changelog
- Fixed version numbers and dates


0.1.1 - 2013-10-24
-----------------------------------
### Features
- Added support for variant CSS class


0.1.0 - 2013-10-24
-----------------------------------

- Initial Commit
