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

[BUG] Updating Project Dependencies for Performance, Security, and Compatibility #1690

Closed
2 tasks done
Ervishalpathak7 opened this issue Mar 4, 2025 · 2 comments · Fixed by #1704
Closed
2 tasks done
Assignees
Labels
bug Something isn't working

Comments

@Ervishalpathak7
Copy link
Contributor

Ervishalpathak7 commented Mar 4, 2025

Describe the bug.

The project dependencies need to be updated to ensure stability, security, and performance improvements. This issue aims to update all packages to their latest versions, test for compatibility, and resolve any issues that arise during the update process.

  • Outdated Packages: Certain dependencies might be lagging behind their latest versions, potentially missing critical optimizations and security patches.
  • Potential Vulnerabilities: Old versions of libraries may have unpatched security vulnerabilities.
  • Performance Limitations: Newer package versions might offer better performance or reduced memory usage.
  • Compatibility Concerns: Keeping dependencies updated ensures the CLI works well with evolving ecosystems and avoids deprecated features.

Expected behavior

  • Dependencies updated to the latest stable versions.
  • All existing functionality remains intact and passes tests.

Screenshots

Image

How to Reproduce

  1. Audit Existing Dependencies:
  • Use npm outdated to list packages that need updates.
  • Categorize updates as minor, patch, or major (breaking changes).
  1. Incremental Updates:
  • Update minor/patch versions first, as they are less likely to break existing functionality.
  • Handle major version updates carefully by checking changelogs and adjusting code if necessary.
  1. Testing & Validation:
  • Run all existing test cases with npm test.
  • Manually test core commands like generate, validate, and others to ensure CLI stability.
  • Conduct stress tests to check for performance improvements or regressions.
  1. Raise Pull Request:
  • Update package.json and package-lock.json.
  • Document which packages were updated and the changes introduced.
  • Add notes about any breaking changes handled or improvements observed.

🥦 Browser

Brave

👀 Have you checked for similar open issues?

  • I checked and didn't find similar issue

🏢 Have you read the Contributing Guidelines?

Are you willing to work on this issue ?

Yes I am willing to submit a PR!

@Ervishalpathak7 Ervishalpathak7 added the bug Something isn't working label Mar 4, 2025
@github-project-automation github-project-automation bot moved this to To Triage in CLI - Kanban Mar 4, 2025
Copy link
Contributor

github-actions bot commented Mar 4, 2025

Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.

@Someshog
Copy link

Someshog commented Mar 5, 2025

Hi @Ervishalpathak7 @AayushSaini101
I've encountered the same issue while working with AsyncAPI CLI and would like to contribute to resolving it.
If there's anything I can help, please let me know. Thanks!

Ervishalpathak7 added a commit to Ervishalpathak7/async-cli that referenced this issue Mar 6, 2025
…Updating-Project-Dependencies-for-Performance
@AayushSaini101 AayushSaini101 changed the title [BUG] <Updating Project Dependencies for Performance, Security, and Compatibility> [BUG] Updating Project Dependencies for Performance, Security, and Compatibility Mar 8, 2025
@github-project-automation github-project-automation bot moved this from To Triage to Done in CLI - Kanban Mar 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants