Skip to content

Commit

Permalink
[Release] v2.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ptkdev committed Mar 4, 2021
1 parent 75d752c commit bd26871
Show file tree
Hide file tree
Showing 16 changed files with 25,941 additions and 3,102 deletions.
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm test
98 changes: 59 additions & 39 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,69 +1,89 @@
# v3.0.0-nightly (TBD)
* Feature: Fetch with instagram token/facebook open graph
* Refactor: move to typescript

[![](https://img.shields.io/badge/donate-paypal-005EA6.svg?logo=paypal)](https://www.paypal.me/ptkdev) [![](https://img.shields.io/badge/donate-patreon-F87668.svg?logo=patreon)](https://www.patreon.com/ptkdev) [![](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?logo=github)](https://github.com/sponsors/ptkdev/) [![](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?logo=ko-fi)](https://ko-fi.com/ptkdev)
- Feature: Fetch with instagram token/facebook open graph
- Refactor: move to typescript

[![](https://img.shields.io/badge/donate-paypal-005EA6.svg?logo=paypal)](https://www.paypal.me/ptkdev) [![](https://img.shields.io/badge/donate-patreon-F87668.svg?logo=patreon)](https://www.patreon.com/ptkdev) [![](https://img.shields.io/badge/donate-sponsors-ea4aaa.svg?logo=github)](https://github.com/sponsors/ptkdev/) [![](https://img.shields.io/badge/donate-ko--fi-29abe0.svg?logo=ko-fi)](https://ko-fi.com/ptkdev)

# v2.9.0 (March 04, 2021)

- API RATE LIMIT: Instagram added CORS to a public api `https://www.instagram.com/${this.options["username"]}/?__a=1` with `?__a` get parameter and this widget stopped work. Current workaround: we use google images proxy
- Security: Update

# v2.8.0 (February 09, 2021)
* Fix: Can't change default username [#6](https://github.com/ptkdev-components/webcomponent-instagram-widget/issues/6)
* Fix: localstorage with username as key (cache all usernames)

- Fix: Can't change default username [#6](https://github.com/ptkdev-components/webcomponent-instagram-widget/issues/6)
- Fix: localstorage with username as key (cache all usernames)

# v2.7.1 (January 17, 2021)
* Feature: fetch from backup if get limit api request (from localStorage)
* Feature: loading spinner
* Feature: error fetch message

- Feature: fetch from backup if get limit api request (from localStorage)
- Feature: loading spinner
- Feature: error fetch message

# v2.6.1 (May 19, 2020)
* New: Wordpress Plugin available on [store](https://wordpress.org/plugins/last-9-photos-webcomponent/).

- New: Wordpress Plugin available on [store](https://wordpress.org/plugins/last-9-photos-webcomponent/).

# v2.6.0 (May 18, 2020)
* Feature: Overwrite CSS Style with selector `::part`
* New attribute: mouse-hover
* New attribute: show-title
* New attribute: shadows
* Fix: Wordpress Plugin

- Feature: Overwrite CSS Style with selector `::part`
- New attribute: mouse-hover
- New attribute: show-title
- New attribute: shadows
- Fix: Wordpress Plugin

# v2.5.0 (May 04, 2020)
* Fix: now you can use multiple webcomponents in the same html page (#3)
* NOTE: better to use the full close tag `<instagram-widget></instagram-widget>` than short `/>`

- Fix: now you can use multiple webcomponents in the same html page (#3)
- NOTE: better to use the full close tag `<instagram-widget></instagram-widget>` than short `/>`

# v2.4.0 (May 02, 2020)
* New attribute: `force-square`
* Feature: wordpress-plugin

- New attribute: `force-square`
- Feature: wordpress-plugin

# v2.3.0 (May 01, 2020)
* Fix: `border-corners` and `border-spacing` now work without `grid` attribute.
* Fix: NPM Module give errors with require/import
* Update: examples

- Fix: `border-corners` and `border-spacing` now work without `grid` attribute.
- Fix: NPM Module give errors with require/import
- Update: examples

# v2.2.0 (April 30, 2020)
* Fix: `grid` now is more responsive (now use `calc()` function: `100%` - `spacing/padding/margin`)
* Fix: default values now work (hello object reference my old dark friend)

- Fix: `grid` now is more responsive (now use `calc()` function: `100%` - `spacing/padding/margin`)
- Fix: default values now work (hello object reference my old dark friend)

# v2.1.1 (April 28, 2020)
* New attribute: cache
* New attribute: border-corners
* New attribute: border-spacing
* Performance: now component send api request only if you change `username`
* Fix: refresh attributes random don't work

- New attribute: cache
- New attribute: border-corners
- New attribute: border-spacing
- Performance: now component send api request only if you change `username`
- Fix: refresh attributes random don't work

# v2.0.0 (April 28, 2020)
* Removed "ptkdev-" prefix
* Module for Browserify/Webpack (run: `npm install @ptkdev/webcomponent-instagram-widget`)
* Fix: Grid bug
* Installation guidelines: Browserify / Webpack / ReactJS / Angular / Wordpress

- Removed "ptkdev-" prefix
- Module for Browserify/Webpack (run: `npm install @ptkdev/webcomponent-instagram-widget`)
- Fix: Grid bug
- Installation guidelines: Browserify / Webpack / ReactJS / Angular / Wordpress

# v1.1.1 (April 27, 2020)
* Update CDN (New url!)
* Update build/dist

- Update CDN (New url!)
- Update build/dist

# v1.1.0 (April 27, 2020)
* New attribute: items-limit
* New attribute: grid
* New attribute: image-width / image-height

- New attribute: items-limit
- New attribute: grid
- New attribute: image-width / image-height

# v1.0.1 (April 26, 2020)
* Update CDN

- Update CDN

# v1.0.0 (April 26, 2020)
* First Release.

- First Release.
Loading

0 comments on commit bd26871

Please sign in to comment.