Skip to content

Latest commit

 

History

History
79 lines (52 loc) · 3.19 KB

CHANGELOG.md

File metadata and controls

79 lines (52 loc) · 3.19 KB

Changelog

2.0.0

Official v2 release 🎉

If you are migrating from v1, see the v2 migration guide.

2.0.0-rc3

  • Fixes assignment to undeclared variable match bug.
  • Adds ES module support by building a separate distributable instafeed.es.min.js.
  • Re-adds pagination support via hasNext and next methods.
  • Adds apiLimit option to override how many images are requested from the Instagram API. This option supersedes the limit option.
  • Adds pooling support when apiLimit is higher than limit.

2.0.0-rc2

  • Adds before callback option that was missing from 2.0.0-rc1.
  • Fixes Invalid State Error bug in Internet Explorer. Thanks @awoodford.
  • Hashtags are now parsed from the image caption, and made available as a tags array on the image data.
  • Changed default timeout options apiTimeout and accessTokenTimeout from 5000 (5 seconds) to 10000 (10 seconds)

2.0.0-rc1

First release candidate based on the Basic Display API.

1.4.1

  • Fixes an issue where some data used in templates would get incorrectly escaped.

1.4.0

  • accessToken is no longer required to fetch images from user accounts!
  • New template helpers for working with the new portrait and landscape images.
  • target can now accept a DOM node directly, instead of just a string ID, thanks @juhamust!
  • Squashed the last (hopefully!) of the IE8 bugs.
  • Fixed image loading errors when using Instafeed.js on a local file protocol (file://). Thanks @spoonben!
  • Added support from AMD and CommonJS.
  • Improved error messaging when Instafeed.js can't find it's target element on the page.
  • Instafeed.js no longer complains when trying to use strings for the userId, locationId, and limit options.

1.3.2

  • Fixed the useHttp option when no template is set. Thanks @bartekn!

1.3.1

  • Fixed an issue where sortBy: "most-recent" did not always correctly sort the images. Thanks Neil Campbell!
  • Changed the default sortBy option to be none.

1.3.0

  • Image URLs are now protocol-relative by default. Use the new useHttp option to disable.
  • Added the ability to filter out images using the filter option.
  • Added pagination support using .next() and .hasNext() methods.
  • Removed the default limit of 15 images. The option is still supported, but by default no limit is sent to the API.

1.2.1

  • Fixed IE8 error "Object doesn't support this action".

1.2.0

  • Added the ability to sort images! Use the sortBy option.
  • Added {{likes}}, {{comments}}, {{id}}, {{caption}}, {{location}}, and {{model}}, tags to the template option.

1.1.0

  • Added option to use a custom html template with the template option.
  • Added ability to fetch several feeds at the same time (create separate instances).
  • Added before, success, after, and error callback options.
  • Added mock option to only fetch data. Use with success option for custom DOM manipulation.

1.0.0

  • Initial release