Iframemanager Versions Save

🍪 GDPR friendly iframe manager written in vanilla js

v1.2.5

1 year ago

Bug Fixes

  • Fix issue with visibility in v1.2.4 where buttons/links remain clickable despite notice being hidden 1d7fa0f468718b77b42ad583ec1bd0e552db90cd

Misc

  • Add rollup and eslint bd1a623f0982c94879a7bf585d590c59e3dce93f 2060ba6f4746e68479afe0583976df424d7637d1

Full Changelog: https://github.com/orestbida/iframemanager/compare/v1.2.4...v1.2.5

v1.2.4

1 year ago

Bug Fixes

  • Fix compatibility issues with Safari 10-13 8603d3f4399d2e082714f9680ca40a0b46ae209c 4523d394f3fb0038e09fa1b40bc8c2da108f3c43

Tweaks

  • Use em/rem units instead of px 62cb9453cd9955d3827a7af059c65867a625854b (ref. #38)

Misc

  • Update all dependencies 8c629faae9870d778cdbc3fbd549113a1a1a1b46

Full Changelog: https://github.com/orestbida/iframemanager/compare/v1.2.3...v1.2.4

v1.2.3

1 year ago

Bug Fixes

  • Fix iframes outside viewport are not reset via rejectService('<specific_service>') 22f47d70aa37b567e3bdc486f16648723d8c9245 (ref. #40)

Misc

  • Update pnpm lockfile: use version 6 64a8a99fa522c1940f31e5009346a20992654575

Full Changelog: https://github.com/orestbida/iframemanager/compare/v1.2.2...v1.2.3

v1.2.2

1 year ago

Bug Fixes

  • Fix uncaught exception when service div is no longer present 2bfb5ff5468e5f06e37613e1f605b00a0cfa35ed (ref. #34)

Misc

  • Update dev. dependencies 0eddef73fa2a67983b6fd8f4995f6125bede8a78
  • Code refactoring & cleanup 384e390d5aa15f6f014048cdee1bedfada231442 a3f099a31ac9751dd47ffe7be7cc0f4885fd468e
  • Fix custom widget demo examples 422a145d831a14b5c8cc9c5eca6b046b576c4b29

Full Changelog: https://github.com/orestbida/iframemanager/compare/v1.2.1...v1.2.2

v1.2.1

1 year ago

Bug Fixes

  • Fix invalid iframe src when iframe.params is empty string 2e11b288877dbf913e8f05f62c62612e2b44edd3 (ref. #35)
  • Fix loading circle does not hide properly on some custom widgets d9c033cb6c3573f98c902b7af29e092ac082c9b8

Other

  • Update dev. dependencies 472679bc8305ed0b112f86ab35c88871c7b04cc1

Full Changelog: https://github.com/orestbida/iframemanager/compare/1.2.0...v1.2.1

1.2.0

1 year ago

New Features

  • Add .getState() to retrieve the current state such as accepted/rejected services 93de56b0910e456eef96e64b4c8735a907d1e4bc
  • Add .getConfig() to retrieve any config. value/prop. 93de56b0910e456eef96e64b4c8735a907d1e4bc
  • Add onChange callback, executed whenever a service's state is changed fe085cada490416b651abd55a848db5c5a5ab99f
  • Add support for custom widgets generated by external API (twitter, facebook, instagram ...) 3c7b6be1283a49e40be443dc6376aaf55f50774b
  • Add css variables for easier customization

Tweaks

  • Improve support for custom placeholders when javascript is not enabled (ref. #12)
  • Make buttons optional (you can now have 0, 1 or 2 buttons) abe9e6896175eb159ac0a80cd670e477c54bf729
  • Use service name as default cookie name if no explicit cookie.name is provided: 'im_<service>' 1c244b1c015287e04d787da08a279727bd8d1e14

Bug Fixes

  • Fix potential flash of unstyled content when css is lazy-loaded eefc6ca2bf07c5f0ba715f481bf3f4de31b4e475
  • Fix ugly bold font, use font-weight: 600 instead of bold 29d867d9e3496159ebe55776499d60df8334b317

Other

  • Code refactoring
  • Update all dev. dependencies
  • Update demo example

Full Changelog: https://github.com/orestbida/iframemanager/compare/v1.1.0...1.2.0

v1.1.0

1 year ago

Features

  • Add support for custom aspect ratios via data-ratio="x:y" 86808519067fd8234ccd3c11bea24ae0bbc68e70 (ref. #4)
  • Allow any attribute on the iframe element via data-iframe-<attribute> ebb8b5307cea361c726767acac2535a19b5ee71d (ref. #2)
  • Allow any attribute on the iframe element via the internal iframe object ebb8b5307cea361c726767acac2535a19b5ee71d

Bugfixes

  • Fix bug that caused some iframes to load multiple times 2cf4aa64918e50efa3e77a839e699c281096c4ea (ref. #3)

Other

  • Add basic build tools (terser + postcss) 7e1f0a3db8d4c94bfeaa732032e17446bebe6498
  • Update demo: add Google Maps embed example
  • Code refactoring

Full Changelog: https://github.com/orestbida/iframemanager/compare/v1.0...v1.1.0

v1.0

2 years ago

First release