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

Drop support for older DAP protocol versions #1179

Merged
merged 1 commit into from
Jul 18, 2024

Conversation

divergentdave
Copy link
Collaborator

@divergentdave divergentdave commented Jul 17, 2024

This removes support for DAP draft-04 and draft-07 protocol versions, and eliminates some protocol-version-dependent logic.

@divergentdave divergentdave requested a review from a team as a code owner July 17, 2024 18:06
Copy link
Contributor

@tgeoghegan tgeoghegan left a comment

Choose a reason for hiding this comment

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

Doesn't cli get to drop some code? And can we also simplify feature handling in this change?

@divergentdave
Copy link
Collaborator Author

The cli crate mostly drafts off of the changes in the client crate. The only protocol version-aware logic is in the dap-client subcommand, and that doesn't change because it only supports draft-09.

I thought about cleaning up feature logic, but reconsidered because that may make integration with third-party (non-Janus) aggregators harder in the medium- to long-term. At any rate, we can still simplify it in a follow-up PR.

@divergentdave divergentdave force-pushed the david/drop-old-dap-versions branch from d210d70 to bb0ae12 Compare July 18, 2024 15:40
@divergentdave divergentdave changed the base branch from david/dp-strategy to main July 18, 2024 15:41
@divergentdave divergentdave force-pushed the david/drop-old-dap-versions branch from bb0ae12 to b5f174f Compare July 18, 2024 15:44
@divergentdave divergentdave merged commit f38b5e6 into main Jul 18, 2024
8 checks passed
@divergentdave divergentdave deleted the david/drop-old-dap-versions branch July 18, 2024 16:03
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.

3 participants