Skip to content

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

Description

@SlicedSilver

⚠️ 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    breaking changeChanges the API in a non backwards compatible way.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions