stackriot / ng2-admin

MIT License
2 stars 0 forks source link

An in-range update of chart.js is breaking the build 🚨 #10

Open greenkeeper[bot] opened 7 years ago

greenkeeper[bot] commented 7 years ago

Version 2.5.0 of chart.js just got published.

Branch Build failing 🚨
Dependency chart.js
Current Version 2.4.0
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

As chart.js is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you it’s very likely also breaking them. I recommend you give this issue a very high priority. I’m sure you can resolve this :muscle:


Status Details - ❌ **continuous-integration/travis-ci/push** The Travis CI build is in progress [Details](https://travis-ci.org/sethbergman/ng2-admin/builds/199734607) - ❌ **continuous-integration/codeship** Build failed [Details](https://app.codeship.com/projects/200379/builds/22447533)
Release Notes Version 2.5

Version 2.5 brings some exciting new features to Chart.js. Now, configuration options can be updated at runtime (with some exceptions) just by changing the chart.config.options object and calling chart.update().

More powerful plugins that can be added to an individual chart (instead of globally), but also disabled on a per chart basis. This gives you fine grained control over when plugins interact with your charts. The plugins were changed to support cancelling chart actions by returning false from any before* plugin calls.

Two new extensions have been added: beforeEvent and afterEvent, respectively called before and after the chart responds to an input event such as a mousemove or a click. The plugin is passed a wrapped version of the event, that implements IEvent.

Breaking Changes

  • #3570 Removed unused Chart.helpers.cancelAnimFrame method.
  • #3669 onHover callback now has 3 parameters. The 2nd parameter is the event that triggered the hover. This was done for consistency with the onClick callback.

New Features

  • #2060 Chart options can now be updated at runtime.
  • #2643 Stacked bar charts now support groupings into smaller stacks. Thanks @potatopeelings
  • #3335 Plugins can now be specified per chart.

Enhancements

  • #1933 Legends can now be hidden dynamically by a plugin at runtime based on the chart size.
  • #2873, #3491, #3506 Chart elements are clipped when outside the chart area. Thanks @KoyoSE
  • #3208 Slow performance using moment.js. Thanks @tredston
  • #3225 Multiple lines of text are now supported in radar chart labels
  • #3514 Add rectRounded point style. Thanks @cmoel
  • #3818 Removed useless initialization steps to improve performance

Issues Fixed

  • #2478 Large x axis labels created odd gaps in the chart
  • #2780 Bar chart when data is 0. Thanks @KoyoSE
  • #2879, #3354 Rotated labels caused issues on the category axis
  • #3141 Axis width incorrectly used ticks.padding option when measuring
  • #3199 Line Chart border width of 0 was ignored.
  • #3412 Long y axis tick text was cutoff
  • #3381 Infinite loop when in certain cases when generating logarithmic ticks.
  • #3387 Fixed legend text alignment
  • #3408 Monotone cubic interpolation broke when two adjacent points had the same x value
  • #3528 null data caused incorrect tooltips for the time scale. Thanks @Jareechang
  • #3585 Logarithmic stacked bar charts don't draw the first dataset
  • #3589 Wrong category size of bars when x axis has min and max options. Thanks @KoyoSE
  • #3591 Correct radar chart tension settings
  • #3592 Correct radar chart documentation name for point radius setting
  • #3603 Fix crash in dataset interaction mode
  • #3605 Documentation for x-axis interaction mode was incorrect. Thanks @weareoutman
  • #3607 Correct link in animation section of documentation. Thanks @38elements
  • #3618 Tooltip label is incorrect on Bar chart when min is defined. Thanks @KoyoSE
  • #3685 bug when calculating if steps fit into scale as a whole number. Thanks @Tarqwyn
  • #3713 Axis label was cutoff when axis was at top of chart. Thanks @KoyoSE
  • #3717 Removed jQuery code from samples. Thanks @KoyoSE
  • #3739 Incorrect use of animation options in doughnut chart docs. Thanks @NtsDK
  • #3741 Axis labels placed incorrectly when axis is at the top of the chart. Thanks @KoyoSE
  • #3763 Pie charts incorrectly calculated the inner radius when cutout percentage was 0.
  • #3772 Fix incorrect anchor link in docs. Thanks @mdewilde
  • #3788 Fixed docs for using Chart.js with CommonJS and ES6 imports. Thanks @Jareechang
  • #3801 Ignore .gitignore file for Bower
  • #3817 Fixed an issue where the inner radius of a pie chart became less than 0 due to work to fix #3763

Development

  • #3610 Updated documentation for plugin renames. Thanks @compwright
  • #3635 Upgrade to gulp-uglify v2.0.0 to improve build speed. Thanks @jeffcarey
  • #3718, #3795 Refactoring to move platform specific code into it's own module. The ultimate goal is to allow builds for non browser platforms

More details in the release PR: #3840

Commits

The new version differs by 2 commits (ahead by 2, behind by 1).

See the full diff.

Not sure how things should work exactly? There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html) and of course you may always [ask my humans](https://github.com/greenkeeperio/greenkeeper/issues/new).

Your Greenkeeper Bot :palm_tree:

greenkeeper[bot] commented 7 years ago

Version 2.6.0 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Release Notes Version 2.6.0

Version 2.6 brings better stability, improved documentation, and powerful new features to Chart.js. It's now possible to create advanced area chart thanks to a new filler plugin: stacked area charts can now fill to another dataset in a configurable manner. Check out the samples to see the all the new options.

The time scale internals have been rewritten, improving performance by reducing the number of operations on each tick value. These changes also fixed a number of time scale related issues that users have been experiencing.

Our new documentation has been rewritten using GitBook and reorganized into smaller topics to improve clarity and allow topics to be more intuitively found. The online documentation is now organized by release version going forward: http://www.chartjs.org/docs/{version}/.

Breaking Changes

  • #3782 The lineArc setting for the radial linear scale has been removed and replaced by gridLines.circular and pointLabels.display.
  • #4044 The bar controller internals has been refactored, therefore custom chart types that extend from the bar controller will need to be updated. More details can be found in this PR.

Deprecations

  • #3839 Chart.chart has been merged in Chart.
  • #3839 Chart.Controller has been merged in Chart.
  • #3959 Chart.Animation.animationObject has been merged in Chart.Animation.
  • #3959 Chart.Animation.chartInstance has been removed, use Chart.Animation.chart instead.
  • #4008 'zero', 'top', 'bottom' fill modes has been replaced by 'origin', 'start', 'end'.

New Features

  • #3599 New option to control the tooltip caret padding.
  • #3782 New option to handle displaying point labels on a radar chart.
  • #3782 New option to control if the lines appear as circles or straight lines.
  • #3812, #4094 Layout service now supports item ordering (item.weigth).
  • #3872 Added support for drawing tooltip borders. Thanks @marcelotedeschi
  • #3926 Added dataset update and draw plugin hooks.
  • #3963 Max bar thickness is now configurable. Thanks @seven7seven
  • #4008 Added support to fill between datasets.
  • #4019 New option for dashed 0 lines on axes. Thanks @lndobryden
  • #4065 Added before and after functionality to the steppedLine option. Thanks @ericnkatz

Enhancements

  • #2043 Added documentation for high performance charting.
  • #2325 Updated documentation for extending chart types.
  • #2362 Added documentation for multi-chart and multi-axis.
  • #2386 Updated documentation for custom tooltips implementation.
  • #3274, #3299 Improved documentation on axis range settings.
  • #3662 Added documentation for extending scales.
  • #3751 Documentation has been fully rewritten and is now based on Gitbook.
  • #3826 Improved performance for time scale label parsing. Thanks @tredston.
  • #3893 Improved axis default positions so that x axes default to bottom and y axes default to left.
  • #3897 Chart data can now be entirely replaced using chart.data = {...}.
  • #3960 Improved element transitioning by removing color exceptions.
  • #4034 Tooltips with no content are not anymore drawn. Thanks @samueljo
  • #4043, #4153 Added a showcase page for samples.
  • #4078 Added a better error message when the chart type is incorrect.
  • #3914 Time scale internals improved to be simpler and more efficient. Thanks @tredston
  • #4166 Enhanced the responsive documentation.
  • #4167 Made it clear that labels need to be specified when using a category axis on a line chart.
  • #4170 Added documentation for updating data.
  • #4178 Reorganize extension docs. Thanks @benmccann
  • #4183 Removed unnecessary variable. Thanks @benmccann

Issues Fixed

  • #2481 chart instanceof Chart now returns true.
  • #3118 Fixed documentation for scatter chart.
  • #3237 Fixed getElementAtEvent() return type documentation.
  • #3490 Added documentation for axes autoSkipPadding option.
  • #3585 Fixed stacked bar charts with log axes.
  • #3792 Fixed stacked bar displaying NaN when all datasets are hidden. Thanks @Jareechang
  • #3842 Removed trailing ':' in tooltip label when dataset label is undefined.
  • #3856 Tooltip callbacks were called on mouse move even if data did not change. Thanks @Jareechang
  • #3883 Fixed deprecated Chart.PluginBase definition.
  • #3860 Correctly handle decimal canvas display size.
  • #3899 Grouped bars that are not stacked are now displayed correctly. Thanks @potatopeelings
  • #3909 Avoid fails from server-side renderings. Thanks @khorolets
  • #3911 Fixed missing onComplete animation argument and updated associated doc.
  • #3945 Fixed use of native reserved keyword as a parameter name.
  • #3960 Fixed element initial implicit transition.
  • #4032 Radar chart are now centered horizontally. Thanks @shirosaki
  • #4039 Fixed line-customTooltips.html example scroll offset. Thanks @el-ee
  • #4062 Fixed misplaced data points on category scale. Thanks @martinzuern
  • #4064 Fixed scale min and max when dataset contains no values. Thanks @GabrielMancik
  • #4086 Fixed pointRadius and pointHitRadius config for radar charts.
  • #4100 Updated the documentation bar chart example to begin at zero.
  • #4105 Ensured that scale width cannot be greater than maxWidth. Thanks @tredston
  • #4140 Fixed shorthand legend: false and title: false.
  • #4149, #4155 Fixed and merged contributing documentation. Thanks @benmccann
  • #4165 Fixed failing instanceof when reading context from iframe or a protected environment.
  • #4192 Fixed legend and title layout options update.
  • #4254 Fixed images being used as a pointStyle not rendering at custom dimensions

Development

  • #3839 Added unit tests for deprecations.
  • #3986 Cleaned up and upgraded unit tests environment.
  • #3988 Introduced unit test based on image comparison.
  • #4075 Refactored gulp coverage task in gulp unittest --coverage.
  • #4076 Moved legend and title in the plugins folder.
  • #4222 Removed executable bit from js files. Thanks @benmccann

More details in the release PR: #4236

Commits

The new version differs by 140 commits ahead by 140, behind by 2.

  • 28cb390 Release 2.6.0
  • 4d55315 Attempt to fix the failing deploy step
  • 2798861 Merge pull request #4236 from chartjs/master
  • 4dda552 Bump version to v2.6.0 (#4237)
  • 9f67266 Deploy to GitHub pages (#4256)
  • 0075373 Add GA tracking code to docs
  • 20452dd Fix invalid link in area.md (#4257)
  • aa76bc6 Enable the 'search-plus' GitBook plugin
  • 50e2ba9 Use https to load scripts from CDN in samples (#4255)
  • 0bbc3fa Added width + height arguments to ctx.drawImage
  • e45ac3c Make "dedicated to the chart canvas" a requirement (#4253)
  • c4c00b5 Fix RequireJS doc to use UMD file instead (#4252)
  • 3ff5d48 Document the new filling modes and options (#4251)
  • d7335bf initial data update docs
  • d954222 Remove executable bit from js files (#4222)

There are 140 commits in total.

See the full diff