Releases: talk2MeGooseman/react-twitch-embed-video
Release 3.1.0 - Use Vite to build application
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
What's Changed
- Fix bug with double include of tag and dependency updates by @talk2MeGooseman in #405
Full Changelog: 3.0.2...3.0.3
Release 3.0.2 - Add missing Typescript Declarations
Release 3.0.1
Update ReactJS peer dependency to be less restrictive for patch versions.
Update dev dependencies.
Release 3.0.0 TypeScript Migration
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.
2.0.4 - Fix always re-rendering when parent component's state changes
Changes:
- Fixed #151 by using React.memo on incoming proper to avoid unnecessary re-renders
Release 2.0.3 - Prop documentation and onPlayerReady update
- 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
2.0.2 Bump to versoin 2.0.2 for npm publish
Version 2 - React Hooks Refactor
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 toonReady
onVideoPlay
renamed toonPlay
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
1.1.4 I broke 1.1.3 so now were on 1.1.4