Skip to content

Releases: talk2MeGooseman/react-twitch-embed-video

Release 3.1.0 - Use Vite to build application

13 Mar 03:38
Compare
Choose a tag to compare

What's Changed

  • Switch to using Vite for building source, upgrade ESlint, and add tests by @talk2MeGooseman in #419

Full Changelog: 3.0.3...3.1.0

Release 3.0.3 - Fix double render issue Latest Latest

04 Mar 03:27
08f02ee
Compare
Choose a tag to compare

What's Changed

Full Changelog: 3.0.2...3.0.3

Release 3.0.2 - Add missing Typescript Declarations

28 Jan 23:12
Compare
Choose a tag to compare

What's Changed

Full Changelog: 3.0.1...3.0.2

Release 3.0.1

22 Aug 02:51
Compare
Choose a tag to compare

Update ReactJS peer dependency to be less restrictive for patch versions.

Update dev dependencies.

Release 3.0.0 TypeScript Migration

09 Feb 05:52
Compare
Choose a tag to compare

Version v3.0.0 is fully backward compatible with v2. All internals of the project has been updated to be written and TypeScript and new functionality were added.

  • chore: Use new eslint config and update code #257
  • feat: TypesScript Migration!!!!! #254
  • Upgrade to the latest storybook and with examples ec8a495
  • chore: Fix lint issue with readme and push dep updates f1cea54
  • Add size-limit 82a1b66

2.0.4 - Fix always re-rendering when parent component's state changes

19 Jul 18:59
Compare
Choose a tag to compare

Changes:

  • Fixed #151 by using React.memo on incoming proper to avoid unnecessary re-renders

Release 2.0.3 - Prop documentation and onPlayerReady update

17 May 19:03
Compare
Choose a tag to compare
  • Added documentation for new parent attribute for the play
  • Merged in PR that passed the player object to the callback when onReady is called

Small version bump for package release to NPM

10 Mar 04:27
Compare
Choose a tag to compare
2.0.2

Bump to versoin 2.0.2 for npm publish

Version 2 - React Hooks Refactor

10 Mar 04:16
Compare
Choose a tag to compare

Version 2 Notes

Updates/Changes

  • Refactor all code to use React Hooks instead of a class based component.
  • Lowest version of React supported is now 16.8 (version React Hooks was introduced in)
  • Removed onUserLogin, it appears Twitch stopped supporting this all together based off the docs
  • Added targetId property for defining mutiple video players
  • onPlayerReady renamed to onReady
  • onVideoPlay renamed to onPlay

Breaking Changes

In version one I was mistakenly using targetClass prop for populating the id attribute for the Twitch Player. So I created a new prop called targetId to use to define more then one Twitch Player on your page. targetClass now properly sets the class for the player for proper styling.
If you were one of the users the was creating more then on Twitch player on your page, just switch from using targetClass to targetId and things should still work properly.
If you're using onPlayerReady or onVideoPlay, make sure to rename them to the new prop names.

Fix 1.1.3 - Because build changes didnt work as expected

16 Jan 05:54
Compare
Choose a tag to compare
1.1.4

I broke 1.1.3 so now were on 1.1.4