Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to the Java 8 Date/Time API. #4556

Merged

Conversation

Isira-Seneviratne
Copy link
Member

@Isira-Seneviratne Isira-Seneviratne commented Oct 18, 2020

What is it?

  • Bugfix (user facing)
  • Feature (user facing)
  • Codebase improvement (dev facing)
  • Meta improvement to the project (dev facing)

Description of the changes in your PR

  • Use the Java 8 Date/Time API in both NewPipe and the NewPipe extractor.

Relies on the following changes

APK testing

debug.zip

Due diligence

@wb9688
Copy link
Contributor

wb9688 commented Oct 18, 2020

Could you please make a separate PR for the multidex changes? I'm hoping it'll fix an issue with ACRA not finding classes in another dex.

Edit: you also forgot to change NPE to your fork causing this PR to fail on CI

@Isira-Seneviratne
Copy link
Member Author

Isira-Seneviratne commented Oct 18, 2020

Could you please make a separate PR for the multidex changes? I'm hoping it'll fix an issue with ACRA not finding classes in another dex.

Sure (although those changes were made because API desugaring requires multidex for all build types).

Edit: you also forgot to change NPE to your fork causing this PR to fail on CI

Thanks!

@Isira-Seneviratne
Copy link
Member Author

@wb9688 I created a PR: #4557

@Isira-Seneviratne Isira-Seneviratne force-pushed the Switch_to_Java_8_Date_Time_API branch 2 times, most recently from c219aee to a88b564 Compare October 18, 2020 10:54
@Isira-Seneviratne Isira-Seneviratne mentioned this pull request Oct 19, 2020
5 tasks
@Isira-Seneviratne Isira-Seneviratne force-pushed the Switch_to_Java_8_Date_Time_API branch 6 times, most recently from 5bb9e4f to aa87082 Compare October 25, 2020 23:38
@Isira-Seneviratne
Copy link
Member Author

Closing and reopening to trigger a rebuild.

@Stypox Stypox self-assigned this Oct 30, 2020
@Isira-Seneviratne Isira-Seneviratne force-pushed the Switch_to_Java_8_Date_Time_API branch 3 times, most recently from b3ab770 to 414e421 Compare November 2, 2020 03:51
Copy link
Member

@Stypox Stypox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for improving the codebase! I tested thoroughly the APK you provided, trying multiple actions with dates, amd everything worked fine.

@Stypox Stypox merged commit 6f132f3 into TeamNewPipe:dev Nov 5, 2020
This was referenced Nov 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants