Skip to content

[TASK] Deconflate getAllValues() parameters #1241

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

Merged
merged 1 commit into from
Apr 11, 2025

Conversation

JakeQZ
Copy link
Collaborator

@JakeQZ JakeQZ commented Apr 11, 2025

The $element parameter was overloaded with a dual purpose.

A second separate parameter has been added for rule filtering, which is not actually mutually exclusive with CSS subtree selection.

Since getAllValues() is part of the public API, the method now supports being called with the old or new signatures, with the old signature being deprecated.

Once the deprecation has been included in the 8.x release branch, the messiness of supporting the previous API can be removed.

Part of #994. Also relates to #1230.

The `$element` parameter was overloaded with a dual purpose.

A second separate parameter has been added for rule filtering,
which is not actually mutually exclusive with CSS subtree selection.

Since `getAllValues()` is part of the public API,
the method now supports being called with the old or new signatures,
with the old signature being deprecated.

Once the deprecation has been included in the 8.x release branch,
the messiness of supporting the previous API can be removed.

Part of #994.  Also relates to #1230.
@coveralls
Copy link

Coverage Status

coverage: 56.201% (+0.08%) from 56.126%
when pulling 2477c9c on task/getallvalues-api-change
into d9137fd on main.

@oliverklee oliverklee merged commit 0119435 into main Apr 11, 2025
21 checks passed
@oliverklee oliverklee deleted the task/getallvalues-api-change branch April 11, 2025 20:05
JakeQZ added a commit that referenced this pull request Apr 11, 2025
JakeQZ added a commit that referenced this pull request Apr 11, 2025
JakeQZ added a commit that referenced this pull request Apr 12, 2025
JakeQZ added a commit that referenced this pull request Apr 12, 2025
oliverklee pushed a commit that referenced this pull request Apr 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants