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

SJH 3.0: Replace BiPredicate by UnionPathFilter in UnionFS and hide SecureJar impl details #51

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Technici4n
Copy link
Contributor

@Technici4n Technici4n commented Nov 18, 2023

Two breaking changes:

  • UnionPathFilter was introduced in Refactor SecureJar implementation and add package exclusions #47 for JarContentsBuilder. This PR replaces the remaining uses of the BiPredicate<String, String>. (Except for the SecureJar.from overloads because they don't hurt to keep - and FML is still using them).
  • Stop exporting the cpw.mods.jarhandling.impl package - its impl details should not be exposed to the outside world.

This is a breaking change and needs to be merged manually to apply the 3.0 tag.

Tested on ATM9 and it still works - this is not actually a breaking change for our usage in NeoForge.

@Matyrobbrt Matyrobbrt added enhancement New feature or request for next mc release Indicates issues or pull requests which can only be merged or closed in the next MC release window. labels Nov 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request for next mc release Indicates issues or pull requests which can only be merged or closed in the next MC release window.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants