Skip to content

Commit b545268

Browse files
authored
Merge pull request #565 from sandeep-vedam/release/2.15.0
Release/2.15.0
2 parents fa1f699 + eab5cf0 commit b545268

Some content is hidden

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

51 files changed

+5418
-537
lines changed

.github/workflows/playwright.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Playwright Tests
2+
3+
on:
4+
push:
5+
branches: [ dev, master ]
6+
pull_request:
7+
branches: [ dev, master ]
8+
9+
jobs:
10+
test:
11+
timeout-minutes: 60
12+
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v4
17+
- uses: actions/setup-node@v4
18+
with:
19+
node-version: lts/*
20+
21+
- name: Install dependencies
22+
run: npm ci
23+
- name: Install Playwright Browsers
24+
run: npx playwright install --with-deps
25+
26+
- name: Build
27+
run: npm run build
28+
29+
- name: Run Playwright tests
30+
run: npx playwright test
31+
32+
- uses: actions/upload-artifact@v4
33+
if: ${{ !cancelled() }}
34+
with:
35+
name: playwright-report
36+
path: playwright-report/
37+
retention-days: 30
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: PR Validation
2+
3+
on:
4+
pull_request:
5+
branches: [ master, dev ]
6+
push:
7+
branches: [ master, dev ]
8+
9+
jobs:
10+
test-and-build:
11+
runs-on: ubuntu-latest
12+
13+
strategy:
14+
matrix:
15+
node-version: [20.x, 22.x]
16+
include:
17+
- node-version: 20.x
18+
experimental: false
19+
- node-version: 22.x
20+
experimental: true
21+
22+
continue-on-error: ${{ matrix.experimental }}
23+
24+
steps:
25+
- uses: actions/checkout@v4
26+
27+
- name: Use Node.js ${{ matrix.node-version }}
28+
uses: actions/setup-node@v4
29+
with:
30+
node-version: ${{ matrix.node-version }}
31+
cache: 'npm'
32+
33+
- name: Install dependencies
34+
run: npm ci
35+
36+
- name: Type Check
37+
run: npx tsc --noEmit
38+
39+
- name: Run tests
40+
run: npm test
41+
42+
- name: Build
43+
run: npm run build
44+
45+
# - name: Type Validation
46+
# run: npm run tsd

.gitignore

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,10 @@ dist
4949
/typedocs
5050

5151
# ES5 version of the Lightning Inspector
52-
/devtools/lightning-inspect.es5.js
52+
/devtools/lightning-inspect.es5.js
53+
54+
# Playwright
55+
/test-results/
56+
/playwright-report/
57+
/blob-report/
58+
/playwright/.cache/

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
# Changelog
22

3-
## v2.14.0
3+
## v2.15.0
4+
*12 March 2025*
5+
6+
- Fixed issue related to image URL validation for image worker (#566)
7+
- Fixed issue related to imageWorker can't load relative URLs(#564)
8+
- Fixed regression issue related to types changes.(#562)
9+
- Fixed issue related to incorrect types(#558)
10+
- Added github workflow to validate PR's(#560)
11+
- Added support for animation by reference(#563)
12+
- Added Playwright browser tests(#561)
13+
14+
## v2.14.1
415
*20 September 2024*
516

617
- Reworded TS comments

docs/Animations/Actions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ The actions of an animation define what happens with the specified views and pro
77

88
| Name | Type | Default | Description | Values |
99
|---|---|---|---|---|
10-
| `t` | String | none | Tag selector (see View.tag function) on which the animation must be applied | SomeTag,SomeTag.SomeSubTag |
10+
| `t` | String, Element | none | Either a tag selector (see View.tag function), or an Element reference, on which the animation must be applied | "SomeTag", "SomeTag.SomeSubTag" |
1111
| `p` | Property | none | Object property you want to animate | x, y, w, h, alpha, rotation, scale, texture.x, shader.someProp |
1212
| `v` | Object | {} | Definition of time-value function | See description |
1313
| `rv` | * | none | After stopping, the defined value `v` at progress 0 is used. If another value is desired, `rv` can be used. | |

0 commit comments

Comments
 (0)