Skip to content

Commit

Permalink
Merge changelog entry with 4.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jakejackson1 committed Nov 7, 2024
1 parent fc2462a commit bb27bf0
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
QueryPath Changelog
===========================

# 4.0.2
# 4.0.1

- Only define global functions qp(), htmlqp(), and html5qp() if they haven't been defined already.
- Fix for :nth-child(n+B) to select B-th and all following elements
- Fix for :nth-child(-n+B) to select first B elements
- Update PHPUnit Test Suite to use @dataProvider in testPseudoClassNthChild() to reduce code repetition

# 4.0.1

- Only define global functions qp(), htmlqp(), and html5qp() if they haven't been defined already.

# 4.0.0

- Reverse logic in DomQuery::html5() so that DomQuery::html5() returns the content of the current match, and DomQuery::html5('') replaces the content of the current matches. This matches the existing logic used in DomQuery::html().
Expand Down

0 comments on commit bb27bf0

Please sign in to comment.