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

Issue #559 #627

Merged
merged 11 commits into from
Aug 17, 2024
Merged

Issue #559 #627

merged 11 commits into from
Aug 17, 2024

Conversation

dgr
Copy link
Contributor

@dgr dgr commented Aug 17, 2024

This PR implements the changes described in the discussion of Issue #559.

It specifically:

  • Adds query-from and query-all-from.
  • Deprecates both child and children.
  • Makes get-active-element a public API.
  • Deprecates the use of :active as a query parameter to query and updates doc strings and user guide to suggest the use of get-active-element instead.

Please complete and include the following checklist:

  • [x ] I have read CONTRIBUTING and the Etaoin Developer Guide.

  • [x ] This PR corresponds to an issue that the Etaoin maintainers have agreed to address.

  • [x ] This PR contains test(s) to protect against future regressions

  • [x ] I have updated CHANGELOG.adoc with a description of the addressed issue.

CHANGELOG.adoc Show resolved Hide resolved
doc/01-user-guide.adoc Outdated Show resolved Hide resolved
doc/01-user-guide.adoc Outdated Show resolved Hide resolved
src/etaoin/api.clj Show resolved Hide resolved
@lread
Copy link
Collaborator

lread commented Aug 17, 2024

Thanks @dgr! Lemme know what you think of my (minor) comments.

See rewrite-clj for example of clj-kondo config to ignore deprecated vars internally.

dgr added 2 commits August 17, 2024 10:47
Test suite still calls child/children to detect regressions in these
deprecated, but not yet removed, functions.
Copy link
Collaborator

@lread lread left a comment

Choose a reason for hiding this comment

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

Sorry @dgr forgot to submit my review comments!

@lread
Copy link
Collaborator

lread commented Aug 17, 2024

Looks great @dgr, thanks!

@lread lread merged commit 430d26e into clj-commons:master Aug 17, 2024
49 checks passed
@dgr dgr deleted the dgr-issue-559 branch August 20, 2024 02:27
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.

2 participants