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

dep: update minimum supported version of libxml to 2.7.7 #3232

Merged
merged 8 commits into from
Jun 14, 2024

Conversation

flavorjones
Copy link
Member

What problem is this PR intended to solve?

We have some code that exists to workaround old versions of libxml, and I want to get rid of it. v2.7.7 is a convenient version that lets us get rid of most of the C workarounds and is also 14 years old so I hope to hell nobody is still running it.

We could probably choose a later version, but it wouldn't simplify the code much. I'm fine waiting for a compelling reason to do so.

I've also removed some tests/assertions that were conditional on now-unsupported versions of libxml2.

Have you included adequate test coverage?

N/A

Does this change affect the behavior of either the C or the Java implementations?

N/A

@flavorjones flavorjones merged commit 526b814 into main Jun 14, 2024
132 checks passed
@flavorjones flavorjones deleted the flavorjones-set-min-libxml-to-2.7.7 branch June 14, 2024 02:34
@flavorjones flavorjones added this to the v1.17.0 milestone Jun 14, 2024
flavorjones added a commit that referenced this pull request Jun 20, 2024
**What problem is this PR intended to solve?**

File contents were merged into a normal test file in 997ce55 / #3232
but I neglected to delete the file.
flavorjones added a commit that referenced this pull request Aug 7, 2024
I'm deciding to drop support for earlier versions because:

- 2.7.7 nanohttp.c doesn't compile on modern systems
- 2.8.0 doesn't have PARSE_BIG_LINES, GNOME/libxml2@968a03a2 introduced it in 2.9.0
- 2.9.0 and 2.9.1 have the xpath optimization bug that ruined our CSS
  queries in :first-child broken with libxml 2.9.0 #829,
  GNOME/libxml2@b4bcba23 fixed it in 2.9.2

Also, bump the min recommended version to v2.12.0 because Nick has
fixed a lot of long-standing issues upstream. ♥ ♥ ♥

Followup to #3232
Closes #3287
flavorjones added a commit that referenced this pull request Aug 7, 2024
**What problem is this PR intended to solve?**

I'm deciding to drop support for earlier versions because:

- 2.7.7 nanohttp.c doesn't compile on modern systems
- 2.8.0 doesn't have PARSE_BIG_LINES, GNOME/libxml2@968a03a2 introduced
it in 2.9.0
- 2.9.0 and 2.9.1 have the xpath optimization bug that ruined our CSS
queries in :first-child broken with libxml 2.9.0 #829,
GNOME/libxml2@b4bcba23 fixed it in 2.9.2

Also, bump the min recommended version to v2.12.0 because Nick has fixed
a lot of long-standing issues upstream. ♥ ♥ ♥

Followup to #3232
Closes #3287


**Have you included adequate test coverage?**

Existing coverage is sufficient.


**Does this change affect the behavior of either the C or the Java
implementations?**

No.
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.

1 participant