inorganik/countUp.js (countup.js)
### [`v2.8.0`](https://redirect.github.com/inorganik/countUp.js/releases/tag/v2.8.0): 2.8.0
[Compare Source](https://redirect.github.com/inorganik/countUp.js/compare/b21339fa4bdd2340a49ba38f989776ae6ccb7a2c...v2.8.0)
Added `onStartCallback` option, useful for when scroll spy is enabled, thanks to [@cherrol](https://redirect.github.com/cherrol) !
### [`v2.7.1`](https://redirect.github.com/inorganik/countUp.js/compare/v2.7.0...b21339fa4bdd2340a49ba38f989776ae6ccb7a2c)
[Compare Source](https://redirect.github.com/inorganik/countUp.js/compare/v2.7.0...b21339fa4bdd2340a49ba38f989776ae6ccb7a2c)
### [`v2.7.0`](https://redirect.github.com/inorganik/countUp.js/releases/tag/v2.7.0): 2.7.0
[Compare Source](https://redirect.github.com/inorganik/countUp.js/compare/v2.6.2...v2.7.0)
Reverted change which made "main" in package.json point to the module file, instead of the umd file. It now points again at the umd file.
### [`v2.6.2`](https://redirect.github.com/inorganik/countUp.js/releases/tag/v2.6.2): 2.6.2
[Compare Source](https://redirect.github.com/inorganik/countUp.js/compare/v2.6.1...v2.6.2)
When revamping the build, I tried to resolve a rollup warning that had been occurring on the build for a long time:
"(!) `this` has been rewritten to `undefined`
It occurs because of typescript's Object.assign polyfill, which uses `this` on the global scope. If you set `context: 'window'` in the rollup config, it will silence the warning, but it will cause issues if CountUp is not run in the browser. Allowing rollup to rewrite this to undefined on just the global scope is harmless and doesn't break anything, so I reverted the change.
### [`v2.6.1`](https://redirect.github.com/inorganik/countUp.js/releases/tag/v2.6.1): 2.6.1
[Compare Source](https://redirect.github.com/inorganik/countUp.js/compare/v2.6.0...v2.6.1)
This release doesn't change the CountUp code at all, just the distribution files - The requestAnimationFrame polyfill is no longer bundled with CountUp but served separately. The other files in dist remain the same. More details in the PR: [#311](https://redirect.github.com/inorganik/countUp.js/issues/311)
### [`v2.6.0`](https://redirect.github.com/inorganik/countUp.js/releases/tag/v2.6.0): 2.6.0
[Compare Source](https://redirect.github.com/inorganik/countUp.js/compare/2.5.0...v2.6.0)
Support animation plugins: A plugin is a class instance or object passed in options for the `plugin` param that implements a render method:
```ts
export declare interface CountUpPlugin {
render(elem: HTMLElement, formatted: string): void;
}
```
The plugin's render method will be called on each frame to display the formatted value instead of CountUp's.
Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
2.5.0
->2.8.0
Release Notes
inorganik/countUp.js (countup.js)
### [`v2.8.0`](https://redirect.github.com/inorganik/countUp.js/releases/tag/v2.8.0): 2.8.0 [Compare Source](https://redirect.github.com/inorganik/countUp.js/compare/b21339fa4bdd2340a49ba38f989776ae6ccb7a2c...v2.8.0) Added `onStartCallback` option, useful for when scroll spy is enabled, thanks to [@cherrol](https://redirect.github.com/cherrol) ! ### [`v2.7.1`](https://redirect.github.com/inorganik/countUp.js/compare/v2.7.0...b21339fa4bdd2340a49ba38f989776ae6ccb7a2c) [Compare Source](https://redirect.github.com/inorganik/countUp.js/compare/v2.7.0...b21339fa4bdd2340a49ba38f989776ae6ccb7a2c) ### [`v2.7.0`](https://redirect.github.com/inorganik/countUp.js/releases/tag/v2.7.0): 2.7.0 [Compare Source](https://redirect.github.com/inorganik/countUp.js/compare/v2.6.2...v2.7.0) Reverted change which made "main" in package.json point to the module file, instead of the umd file. It now points again at the umd file. ### [`v2.6.2`](https://redirect.github.com/inorganik/countUp.js/releases/tag/v2.6.2): 2.6.2 [Compare Source](https://redirect.github.com/inorganik/countUp.js/compare/v2.6.1...v2.6.2) When revamping the build, I tried to resolve a rollup warning that had been occurring on the build for a long time: "(!) `this` has been rewritten to `undefined` It occurs because of typescript's Object.assign polyfill, which uses `this` on the global scope. If you set `context: 'window'` in the rollup config, it will silence the warning, but it will cause issues if CountUp is not run in the browser. Allowing rollup to rewrite this to undefined on just the global scope is harmless and doesn't break anything, so I reverted the change. ### [`v2.6.1`](https://redirect.github.com/inorganik/countUp.js/releases/tag/v2.6.1): 2.6.1 [Compare Source](https://redirect.github.com/inorganik/countUp.js/compare/v2.6.0...v2.6.1) This release doesn't change the CountUp code at all, just the distribution files - The requestAnimationFrame polyfill is no longer bundled with CountUp but served separately. The other files in dist remain the same. More details in the PR: [#311](https://redirect.github.com/inorganik/countUp.js/issues/311) ### [`v2.6.0`](https://redirect.github.com/inorganik/countUp.js/releases/tag/v2.6.0): 2.6.0 [Compare Source](https://redirect.github.com/inorganik/countUp.js/compare/2.5.0...v2.6.0) Support animation plugins: A plugin is a class instance or object passed in options for the `plugin` param that implements a render method: ```ts export declare interface CountUpPlugin { render(elem: HTMLElement, formatted: string): void; } ``` The plugin's render method will be called on each frame to display the formatted value instead of CountUp's.Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.