-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: bug with timestamp parsing * refactor: ensure all occurences of '\n' are replaced in the timestamp string
- Loading branch information
Showing
3 changed files
with
52 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [v2.1.1] - 2024-04-13 | ||
|
||
### Fixed | ||
|
||
- Fixed an issue with timestamp strings not being parsed correctly leading to an | ||
inaccurate total duration being calculated | ||
- It appears something may have changed recently with how timestamps are | ||
rendered since the timestamp DOM element now has a chance to contain | ||
duplicate timstamp strings, e.g. `04:20\n 04:20` | ||
- So when `convertTimestampToSeconds` gets such a timestamp and attempts to | ||
split it by `:`, the end result is 4 time components: `[4, 20, 4, 20]` | ||
- To fix this, `getTimestampFromVideo` will now use a regular expression to | ||
extract the timestamp from the DOM element | ||
|
||
## [v2.1.0] - 2024-04-07 | ||
|
||
### Added | ||
|
||
- Added ability to sort playlists by different criteria (index, duration, views, channel name, upload date) | ||
- Added i18n support & language translations: | ||
- English (en, en-GB, en-IN, en-US) | ||
- Spanish (es, es-419, es-us) | ||
- Portuguese (pt-PT, pt-BR) | ||
- Chinese (zh-Hans-CN, zh-Hant-TW) | ||
- Added & updated documentation (README, testing, adding translations) | ||
|
||
### Changed | ||
|
||
- Migrated package manager from npm to pnpm | ||
- Refactored several parts of codebase to reduce complexity | ||
|
||
### Fixed | ||
|
||
- Fixed several bugs | ||
- Bug with mutation observer not disconnecting when navigating between playlists | ||
- Bug where timestamps were not being summed properly | ||
- Addressed vulnerabilities reported by pnpm audit and dependabot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters