All Versions
11
Latest Version
Avg Release Cycle
175 days
Latest Release
1613 days ago

Changelog History
Page 1

  • v1.1.0

    October 28, 2019
  • v1.0.1 Changes

    April 23, 2016

    โš  They are now available via warnings option.

  • v1.0.0 Changes

    March 14, 2016

    ๐Ÿ†• New documentation in http://progressbarjs.readthedocs.org/en/1.0.0/

    ๐Ÿ›  Fixed and updated sauce labs tests

    โž• Add text.autoStyleContainer option

    HTML string or DOM element is now possible to pass in opts.text.value or to .setText method

    ๐Ÿ’ฅ breaking : Change behavior default style options. From now on, if you define anything to opts.svgStyle or opts.text.style yourself, no default values will be used. This makes customising the styles easier in JS. If you want to only change one single style attribute, you can do it after initializing the progress bar, like this:

    var bar = new ProgressBar.Line('#container');bar.text.style.fontSize = '40px';
    

    ๐Ÿ›  Fix #107

  • v0.9.0 Changes

    August 04, 2015

    Contains API breaking changes compared to 0.8.x:

    • Square shape is now removed from the API. It's not very useful bar type. You can still find it from ./src/square.js, you can manually add it to your project
    • ๐Ÿ’… options.text.autoStyle is replaced with options.text.style. If you had autoStyle: false, you should now use options.text.style = null. That will disable all default styles. New API for style changes improves the control of inline styles.
    • โž• Add options.svgStyle and automatically resizes to the container. width: 100%; css style is set for the SVG element.

    Other additions:

    ๐Ÿ†• New shape: SemiCircle

    ๐Ÿฑ semicircle

    ๐Ÿ”ฆ Expose more internal modules for customization Shape and utils are now exposed. ffb151d

    โฌ†๏ธ Upgrade to shifty version 1.5.0, easing can be now specified as a function.

    ๐Ÿ‘Œ Improve code consistency with linters.

  • v0.8.1 Changes

    April 08, 2015
    • ๐Ÿ›  Fix bug where text was not centered in IE. Fixes #52
  • v0.8.0 Changes

    April 08, 2015

    API breaking change for step function! If you haven't used option.attachment , nothing has changed. Most likely you don't need to change anything.

    โœ… Thanks to @prodigitalson who provided fixes to step function and added a lot of tests.

    All changes:

    API breaking change to step function:

    ๐Ÿš€ Before this release, Shape was passed as an attachment to Path. If you overrode the attachment, there was no way to get reference to the Shape inside step function.
    Before:

    step: function(state, attachment) { // Do step}
    

    Now you can always reference to the Shape or Path inside the step function. Reference to self is passed as second parameter. User's custom attachment is now passed as the third parameter
    After:

    step: function(state, self, attachment) { // self is reference to Shape or Path// Do step} 
    

    ๐Ÿ”ฆ Expose SVG path element as .path attribute for Path objects. That is consistent with Shape objects.

    ๐Ÿ‘‰ Make it possible to pass selector as a string to Path object. Earlier only direct element was accepted.

    โœ… More tests

  • v0.7.4 Changes

    January 13, 2015

    These were fixed and released fast because some functionality was broken

    • ๐Ÿ›  Fixed bugs when step function was initially called. value() function returns now 0 in initial step call.
    • ๐Ÿ›  Fix bug where two text nodes were left inside progress bar
    • ๐Ÿ›  Fix bug with custom easings in initial step function
  • v0.7.3 Changes

    January 13, 2015
    • ๐Ÿ›  Fixed #41
  • v0.7.2 Changes

    January 12, 2015
    • ๐Ÿ›  Fix bug where trailWidth was clipped if it was wider then actual stroke
  • v0.7.1 Changes

    January 12, 2015
    • Call step function on initialization also
    • ๐Ÿ›  Fix text creation with setText if opts.text is not defined at initialization
    • When calling step in .set() method, use correct easing instead of hardcoded linear
    • โœ‚ Remove unnecessary step call on tween finish