Skip to content

Commit 13e2b79

Browse files
committed
3.15.0
- NEW: adaptive directional easing via a new "easeReverse" property which allows you to define a different ease to be used in reverse (when the animation's playhead moves backwards). yoyoEase is deprecated in favor of easeReverse. See https://gsap.com/blog/3-15 - FIXED: on case-insensitive systems, a TypeScript error could be thrown when importing Draggable, Observer, or Flip plugins. See #637 - FIXED: if you create GSAP-related objects inside a ScrollTrigger's snap onStart/onComplete and the ScrollTrigger was created inside a gsap.context() (including in the React useGSAP() hook), they wouldn't be associated with that context and therefore may not be cleaned up properly. See https://gsap.com/community/forums/topic/45266-scrolltrigger-snapping-problem-when-trying-to-create-a-scroll-slideshow/ - FIXED: SplitText may fail to split elements inside an iframe. See #640 - FIXED: in some cases, if ScrollTrigger is loaded AFTER the core GSAP library, it wouldn't integrate Observer properly with ScrollTrigger which could lead to odd behavior like if the <html> element had scroll-behavior: smooth, it wouldn't properly get removed during ScrollTrigger's refresh which could break pinning on resize. See https://gsap.com/community/forums/topic/45290-scroll-behavorsmooth-issue/ - FIXED: in SplitText, if you set a wordsClass, charsClass, or linesClass with an increment ("++", like wordsClass: "word++") AND a mask on that same part (like mask: "words"), the resulting mask element would only have the "-mask" part applied to the incremented class like "word word1-mask" instead of "word-mask word1-mask". - FIXED: if you gsap.registerPlugin(ScrollTrigger) BEFORE the <body> (like inside the <head>), and then attempt to add a scrollerProxy(), it could throw an error. ScrollTrigger needs access to the <body> so if it's not present yet when you try to register, it can't fully instantiate. Now ScrollTrigger will add a DOMContentLoaded listener in that case. - FIXED: if you set a ScrollTrigger so that its "scroller" is an iframe element, the markers may not show up. See https://gsap.com/community/forums/topic/45330-scrolltrigger-pin-not-working-in-iframe/ - FIXED: SplitText no longer does a console.warn() when it's called BEFORE the fonts were loaded because some browsers were reporting that fonts were reloading on resize (thus warnings were being fired too frequently due to browsers behaving oddly in the way they reported font loading status). - FIXED: a JSDoc comment on the play() method was misleading - it indicated that play(true) would play from the current playhead position but instead the boolean "true" would be coerced to 1 and the animation would start from the 1-second spot in that scenario. See #643
1 parent e830e8f commit 13e2b79

144 files changed

Lines changed: 667 additions & 721 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ View the <a href="https://gsap.com/docs">full documentation here</a>, including
2323
### CDN
2424

2525
```html
26-
<script src="https://cdn.jsdelivr.net/npm/gsap@3.14/dist/gsap.min.js"></script>
26+
<script src="https://cdn.jsdelivr.net/npm/gsap@3.15/dist/gsap.min.js"></script>
2727
```
2828

2929
See <a href="https://www.jsdelivr.com/gsap">JSDelivr's dedicated GSAP page</a> for quick CDN links to the core files/plugins. There are more <a href="https://gsap.com/install">installation instructions</a> at gsap.com.
@@ -90,4 +90,4 @@ Ask in the friendly <a href="https://gsap.com/community/">GSAP forums</a>. Or sh
9090
### License
9191
GreenSock's standard "no charge" license can be viewed at <a href="https://gsap.com/standard-license">https://gsap.com/standard-license</a>.
9292

93-
Copyright (c) 2008-2025, GreenSock. All rights reserved.
93+
Copyright (c) 2008-2026, GreenSock. All rights reserved.

dist/CSSRulePlugin.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
}(this, (function (exports) { 'use strict';
66

77
/*!
8-
* CSSRulePlugin 3.14.2
8+
* CSSRulePlugin 3.15.0
99
* https://gsap.com
1010
*
11-
* @license Copyright 2008-2025, GreenSock. All rights reserved.
11+
* @license Copyright 2008-2026, GreenSock. All rights reserved.
1212
* Subject to the terms at https://gsap.com/standard-license
1313
* @author: Jack Doyle, jack@greensock.com
1414
*/
@@ -50,7 +50,7 @@
5050
};
5151

5252
var CSSRulePlugin = {
53-
version: "3.14.2",
53+
version: "3.15.0",
5454
name: "cssRule",
5555
init: function init(target, value, tween, index, targets) {
5656
if (!_checkRegister() || typeof target.cssText === "undefined") {

dist/CSSRulePlugin.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/CSSRulePlugin.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/CustomBounce.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
}(this, (function (exports) { 'use strict';
66

77
/*!
8-
* CustomBounce 3.14.2
8+
* CustomBounce 3.15.0
99
* https://gsap.com
1010
*
11-
* @license Copyright 2008-2025, GreenSock. All rights reserved.
11+
* @license Copyright 2008-2026, GreenSock. All rights reserved.
1212
* Subject to the terms at https://gsap.com/standard-license
1313
* @author: Jack Doyle, jack@greensock.com
1414
*/
@@ -158,7 +158,7 @@
158158
return CustomBounce;
159159
}();
160160
_getGSAP() && gsap.registerPlugin(CustomBounce);
161-
CustomBounce.version = "3.14.2";
161+
CustomBounce.version = "3.15.0";
162162

163163
exports.CustomBounce = CustomBounce;
164164
exports.default = CustomBounce;

dist/CustomBounce.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)