Releases: nrednav/youtube-playlist-duration-calculator
Releases · nrednav/youtube-playlist-duration-calculator
v2.2.0
What's Changed
Added
- Added try-catch error handling to
main()
- Created
getPlaylistMetadataElement
function- The playlist metadata element appears to have a different identifier
depending on if the user has YouTube premium or not - This function will take that into account and use the appropriate selector
to find the metadata element
- The playlist metadata element appears to have a different identifier
- Added
youtubePremium
variant to list ofplaylistMetadata
element selectors - Added translations for
fr
locale, thanks to @pifopi - Implemented sorting by view count & upload date for
fr
locale - Added tests for the
fr
locale parsers
Fixed
- Fixed extension not working for youtube premium layouts
Full Changelog: v2.1.4...v2.2.0
v2.1.4
v2.1.3
What's Changed
- Fixed (hopefully) a rare bug where after navigating between playlists the extension would not calculate the total duration despite the playlist being visible
- PR: #54
- Added several debug logs and the ability to display them by appending
?ytpdc-debug=true
or&ytpdc-debug=true
to the URL
Full Changelog: v2.1.2...v2.1.3
v2.1.2
What's Changed
- In #51
- Fixed bug with extension on non-playlist pages where it would spam error logs due to not finding a playlist element
- Fixed bug where playlists containing "Upcoming" videos would not calculate a total duration
- Fixed bug where the yt-navigate-finish event listener was not being removed before a new one could be added
- Added browser console logs to indicate when the extension loads & when it cannot find a playlist
Full Changelog: v2.1.1...v2.1.2
v2.1.1
v2.1.0
What's Changed
- Added ability to sort playlists by different criteria (index, duration, views, channel name, upload date)
- Fixed several bugs
- Bug with mutation observer not disconnecting when navigating between playlists
- Bug where timestamps were not being summed properly
- Migrated to pnpm from npm
- Addressed vulnerabilities reported by pnpm audit and dependabot
- Added i18n support
- Added translations for english, spanish (es, es-419, es-us), portuguese (pt-PT, pt-BR), chinese (zh-Hans-CN, zh-Hant-TW)
- Refactored several parts of codebase to reduce complexity
- Added & updated documentation (README, testing, adding translations)
Full Changelog: v2.0.5...v2.1.0
Screenshots
v2.1.0-beta.8
What's Changed
- feat: add es translations & es views parser #43
- refactor: change source of language locale code in #41
- refactor: update zh_CN translations in #42
- fix: horizontal overflow of sort dropdown for options with long text
Full Changelog: v2.1.0-beta.7...v2.1.0-beta.8
v2.1.0-beta.7
What's Changed
- ✨ feat: add i18n support by @nrednav in #37
- fix: inconsistencies when video is removed from playlist by @nrednav in #34
- refactor: disable sort by upload date for private playlists by @nrednav in #35
- refactor: reduce complexity of codebase by @nrednav in #36
Full Changelog: v2.1.0-beta.4...v2.1.0-beta.7
v2.1.0-beta.4
What's Changed
- ✨ feat: implement sorting playlists by various criteria by @nrednav in #33
- fix: bug with mutation observer when navigating between playlists
- build: migrate to pnpm by @nrednav in #30
- fix: bug with logic that sums all timestamps by @nrednav in #31
- fix: vulnerabilities reported by pnpm audit by @nrednav in #32 and @dependabot in #28
Note: The above is a summary of the notable changes. There were more minor changes which can be viewed by checking each pull-request linked above.
New Contributors
- @dependabot made their first contribution in #28
Full Changelog: v2.0.5...v2.1.0-beta.4
v2.0.5
What's Changed
- fix: ensure all timestamps are available before processing by @nrednav @Californ1a in #24
- add build process + minor tweaks to code structure by @nrednav @Californ1a in #25
Full Changelog: v2.0.3...v2.0.5