Chart.js v3.0.0-beta.7 Release Notes

Release Date: 2020-12-04 // 11 months ago
  • Essential Links

    ๐Ÿ’ฅ Breaking Changes

    • 0๏ธโƒฃ #8111 LineElement: no fill by default
    • ๐Ÿ”Œ #8102 Unify signature of plugin hooks
    • ๐Ÿšš #8089 Move title, tooltip and legend to options.plugins
    • โช #8090 Restore datasets namespace (revert 6955)
    • #8066 Align font options with CSS
    • #8074 Rename uppercase types to camel case
    • #8062 Unify cartesian scale tick order
    • ๐Ÿ’ป #8009 Drop legacy browser support

    โœจ Enhancements

    • ๐Ÿ”Œ #8112 Add new scale hooks for plugins
    • ๐Ÿ”Œ #8103 Add new hooks for plugins
    • ๐Ÿ”Œ #8102 Unify signature of plugin hooks
    • 0๏ธโƒฃ #8050 Allow single parameter to Defaults.set
    • #8060 Enable bounds option to all cartesian axes
    • #8053 CategoryScale: automatically add missing labels

    ๐ŸŽ Performance

    • #8049 Events: Only render when needed

    ๐Ÿ› Bugs Fixed

    • #8101 Fix CategoryScale.getValueForPixel with autoSkip
    • #8097 Fix disabling hover
    • #8082 Do not use offsetX/Y in shadow DOM
    • 0๏ธโƒฃ #8052 Chart.register: preserve existing defaults
    • #8024 dataset tooltip now shows correctly

    Types

    • #8118 [v3] Add locale to ChartOptions type
    • #8110 fix color type & add background and border color
    • #8074 Rename uppercase types to camel case
    • ๐Ÿ”Œ #8048 Add plugins to CoreChartOptions
    • #8027 [beta.6][types] fix inconsistency in types for LABEL

    ๐Ÿ“š Documentation

    • #8118 [v3] Add locale to ChartOptions type
    • #8113 Fix/area fill and chart titles
    • ๐ŸŽ #8107 Fix typo in performance.md
    • ๐Ÿ›  #8099 fixed samples: area dataset (line), Radar and Logarithmic scale scatter
    • โšก๏ธ #8093 Update interpolation-modes sample to new defaults
    • #8081 Place scatter chart example options in the correct spot
    • ๐Ÿšš #8080 made scatter chart a lot better readable, removed unnecesarry notes
    • ๐Ÿ’… #8076 Remove classic style extensions from docs/tests
    • ๐Ÿ“„ #8070 fix broken url in docs
    • โšก๏ธ #8071 v2 note not nessecary in v3 docs and update example
    • #8065 Add missing import to styling.mdx
    • ๐Ÿ“š #8061 Update axis documentation
    • โšก๏ธ #8047 Update v3-migration.md
    • #8041 Fix broken link
    • #8039 Fix import names in integration example
    • ๐Ÿ“š #8037 documentation error
    • #8072 Fix url bug

    Development

    • ๐Ÿ”Œ #8104 Title plugin cleanup
    • โ™ป๏ธ #8057 Refactor/cleanup range option handling
    • #8036 Try and get the version number without a v
    • โœ… #8028 Add tests and clean up resolveObjectKey helper
    • #8128 Bump highlight.js from 10.3.1 to 10.4.1

    Thanks to @IVIosi, @LeeLenaleee, @dependabot, @dependabot[bot], @etimberg, @kurkle, @lab900-marcel-samyn, @lpellegr, @saintmalik, @wenfangdu and @xr0master


Previous changes from v3.0.0-beta.6

  • Essential Links

    ๐Ÿ’ฅ Breaking Changes

    • ๐Ÿšš #8017 Remove I prefix from TS types

    โœจ Enhancements

    • #8007 Add type to context objects

    ๐Ÿ› Bugs Fixed

    • ๐Ÿšš #8013 When data is removed, remove from stacks too
    • โšก๏ธ #8006 Use same merging logic for init and update
    • ๐Ÿšš #7996 Remove use of null propagation operator since it's still in a draft state

    Types

    • 0๏ธโƒฃ #8025 Improved types for defaults
    • ๐Ÿšš #8017 Remove I prefix from TS types
    • 0๏ธโƒฃ #8001 [types][beta-5] fixed stacked scale, changed default type for data.labels

    ๐Ÿ“š Documentation

    • #8004 Destroy example charts on unmount

    Development

    • #8018 Bubble: Use point.size() in getMaxOverflow
    • ๐Ÿšš #8014 Remove +-10px limit from bar controller
    • #8015 Normalize rotation and circumference resolution

    Thanks to @emmcbd, @etimberg, @kurkle and @xr0master