question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Remove code deprecated in 2.6.0

See original GitHub issue

This is a handle turning exercise - no coding skill is needed, you just need to be thorough 😃

  1. Find out what needs to be removed: grep -R deprec zap/src/main/java | grep "2.6.0" - there should be 41 matches
  2. Remove the classes / methods / fields found above
  3. Add a ZAP header to any paros code changed (see examples below)
  4. Add the affected classes / methods / fields to zap/zap.gradle.kts (see below)
  5. Run spotlessApply
  6. Run ./gradlew japicmp - it should pass, if not check the report it generates
  7. Update the corresponding help file (see below)

Example PRs:

2.2.0 + 2.3.0: code: https://github.com/zaproxy/zaproxy/pull/7067 help: https://github.com/zaproxy/zap-core-help/pull/414 2.4.x: code: https://github.com/zaproxy/zaproxy/pull/7068 help: https://github.com/zaproxy/zap-core-help/pull/415 2.5.0: code: https://github.com/zaproxy/zaproxy/pull/7102 help: https://github.com/zaproxy/zap-core-help/pull/420

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
thc202commented, Feb 28, 2022

That’s steps 4 and 6 of the issue description.

1reaction
jini0xcommented, Feb 28, 2022

Finally, thank you very much image

Read more comments on GitHub >

github_iconTop Results From Across the Web

Deprecations · spring-projects/spring-boot Wiki - GitHub
As much as possible, deprecated code should not be removed until two minors after the latest minor in which the API exists. In...
Read more >
Python 3.12.0 is to remove long-deprecated items
Literally every time I try to use someone else's Python code from GitHub I run into this crap. I wanted my project to...
Read more >
How to replace ErrorController deprecated function on Spring ...
Starting version 2.3.x, Spring boot has deprecated this method. Just return null as it is anyway going to be ignored.
Read more >
How to Fix WebSecurityConfigurerAdapter Deprecated
How to update Spring Security configuration class to remove the warning The type WebSecurityConfigurerAdapter is deprecated.
Read more >
Zephyr 2.6.0 (Working Draft)
Removed support for the old zephyr integer typedefs (u8_t, u16_t, etc…). ... During the deprecation period user code invoking ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found