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

⚠️ Upgrading to v5.0.0? Read this first! Important Breaking Changes #1791

Open
SlicedSilver opened this issue Jan 30, 2025 · 0 comments
Open
Labels
breaking change Changes the API in a non backwards compatible way.

Comments

@SlicedSilver
Copy link
Contributor

⚠️ Upgrading to v5.0? Read this first! Important Breaking Changes

If you're experiencing issues after upgrading to v5.0, this guide will help you navigate the breaking changes and updates.

Major Breaking Changes

  1. New Unified Series Creation API

    • The series creation API has been completely revamped
    • Requires migration of existing chart series code
  2. CommonJS Support Dropped

    • Now using ES2020 syntax
    • May require build system changes if supporting older environments
  3. Plugin System Changes

    • Watermark functionality moved to plugins (TextWatermark and ImageWatermark)
    • Series markers now implemented as plugins

🔍 Key Improvements

  • Multi-pane support added
  • New chart types (Yield Curve and Options Charts)
  • Enhanced color support with sRGB and Display P3
  • Bundle size reduced by 16% (now only 35kB)
  • Improved tree-shaking capabilities

📚 Essential Resources

🆘 Need Help?

  1. First, review the migration guide thoroughly
  2. Check if your issue is addressed in the breaking changes section
  3. Search existing issues for similar problems
  4. If still stuck, create a new issue with:
    • Your migration-related code
    • Current behavior
    • Expected behavior
    • Version you're upgrading from
@SlicedSilver SlicedSilver added the breaking change Changes the API in a non backwards compatible way. label Jan 30, 2025
@tradingview tradingview locked and limited conversation to collaborators Jan 30, 2025
@SlicedSilver SlicedSilver pinned this issue Jan 30, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
breaking change Changes the API in a non backwards compatible way.
Projects
None yet
Development

No branches or pull requests

1 participant