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

feat!: remove deprecated camelCase option variants #7046

Merged
merged 6 commits into from
Feb 21, 2025

Conversation

serhalp
Copy link
Collaborator

@serhalp serhalp commented Feb 19, 2025

Summary

These commands option have been deprecated since 12.8.0 (25 months ago): https://github.com/netlify/cli/releases/tag/v12.8.0.

Removes:

  • --httpProxyCertificateFilename
  • --prodIfUnlocked
  • --functionsPort
  • --targetPort
  • --edgeInspect
  • --edgeInspectBrk
  • --replaceExisting
  • --gitRemoteName

The change in 12.8.0 also intended to rename --httpProxy to --http-proxy but there was a typo resulting in that never happening. While we're cutting a major, this his fixes that by actually renaming it. This was never actually a documented option, so this isn't truly a breaking change.

CPLA-2533

These commands option have been deprecated since 12.8.0 (25 months ago):
https://github.com/netlify/cli/releases/tag/v12.8.0.

Removes:
- `--httpProxyCertificateFilename`
- `--prodIfUnlocked`
- `--functionsPort`
- `--targetPort`
- `--edgeInspect`
- `--edgeInspectBrk`
- `--replaceExisting`
- `--gitRemoteName`

The change in 12.8.0 also intended to rename `--httpProxy` to `--http-proxy` but there was a typo resulting in that
never happening. To err on the safe side, this fixes that change without removing the camel case variant yet.
@serhalp serhalp force-pushed the feat/remove-deprecated-opts branch from 1cec941 to f04e7a2 Compare February 19, 2025 17:44
Copy link

github-actions bot commented Feb 19, 2025

📊 Benchmark results

Comparing with b693ba7

  • Dependency count: 1,194 (no change)
  • Package size: 306 MB (no change)
  • Number of ts-expect-error directives: 729 (no change)

@serhalp serhalp marked this pull request as ready for review February 19, 2025 22:42
@serhalp serhalp requested a review from a team as a code owner February 19, 2025 22:42
This was not a documented option, so this is arguably not breaking, but marking as
breaking to err on the side of caution.
@serhalp serhalp merged commit cbb0d0b into main Feb 21, 2025
49 checks passed
@serhalp serhalp deleted the feat/remove-deprecated-opts branch February 21, 2025 18:57
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