Commit Graph

3795 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
611c30287b Fix strokeScaleEnabled property for Text objects
Co-authored-by: lavrton <1443320+lavrton@users.noreply.github.com>
2025-08-23 18:47:54 +00:00
copilot-swe-agent[bot]
c75331df67 Initial plan 2025-08-23 18:36:24 +00:00
Anton Lavrevov
e2c0a719b9 better path2 polifill for node envs 2025-08-23 05:16:02 -05:00
Anton Lavrevov
472219adb4 Merge branch 'nathan-muir-refactor-typescript-part1' 2025-08-23 05:11:39 -05:00
Anton Lavrevov
2b9bfdb167 Merge branch 'refactor-typescript-part1' of github.com:nathan-muir/konva into nathan-muir-refactor-typescript-part1 2025-08-23 04:39:30 -05:00
Anton Lavrevov
cad5962752 Update changelog 2025-08-23 04:14:25 -05:00
Anton Lavrevov
37213f2cc9 Refactor CSS filter support check and update brightness filter parsing. 2025-08-23 04:00:12 -05:00
Anton Lavrevov
62d67e964c fixed test restore all tests 2025-08-23 03:20:33 -05:00
Anton Lavrevov
6d242c406d Merge branch 'master' of github.com:konvajs/konva 2025-08-23 03:18:14 -05:00
Anton Lavrevov
5b06b93724 Rewrite Emboss and Solarize filters for improved performance and usability and better license handling. close #1375 2025-08-23 03:17:30 -05:00
Anton Lavrevov
a15dd097b4 Add Brightness filter and enhance filter handling
- Introduced a new Brightness filter for CSS-compatible brightness adjustments.
- Updated the Node class to support mixed filter types (function filters and CSS filter strings).
- Enhanced filter application logic to check for CSS filter support and fallback to function filters when necessary.
- Added unit tests for new filter comparisons against native CSS filters.
- Updated documentation for filter usage and examples.
2025-08-23 02:50:50 -05:00
Anton Lavrevov
af90006490 Fixed TextPath render on right align on some fonts. close #1953 2025-08-22 07:00:34 -05:00
Nathan Muir
9aac5b4ebf refactor: enable typescript option verbatimModuleSyntax 2025-08-20 17:50:17 +12:00
Nathan Muir
0568cfc7c9 refactor: enable typescript option erasableSyntaxOnly 2025-08-20 17:48:40 +12:00
Nathan Muir
42e70ee82e refactor: remove custom typescript settings for tests 2025-08-20 17:47:42 +12:00
Nathan Muir
47abec93a9 refactor: remove index-types.d.ts
Removes extra file operations by using `export namespace`.
2025-08-20 17:46:35 +12:00
Nathan Muir
758adcd502 refactor: remove rename-imports scripts
Update approach of dealing with file extensions differences between typescript & node.

Leverages `rewriteRelativeImportExtensions` that was added in typescript 5.7 [1], and that is recommended path by node to run typescript in the future [2]

[1] https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-7.html#path-rewriting-for-relative-paths

[2] https://nodejs.org/api/typescript.html#type-stripping
2025-08-20 17:12:52 +12:00
Anton Lavrenov
0aff4cc1f5 Merge pull request #1961 from nathan-muir/fix-tests
test: remove `it.only()` causing only a single test to run
2025-08-19 10:11:45 -05:00
Anton Lavrenov
344898f075 Merge pull request #1960 from nathan-muir/ci-formatting
check pull requests for `prettier` formatting
2025-08-19 10:11:32 -05:00
Nathan Muir
6ccb8d2048 test: remove it.only() causing only a single test to run 2025-08-19 21:12:41 +12:00
Nathan Muir
e50a3ea0dc chore: apply prettier formatting 2025-08-19 14:15:35 +12:00
Nathan Muir
4c5572ee23 fix: failed parsing of html files 2025-08-19 14:15:23 +12:00
Nathan Muir
0a8c471a6c ci: check pull requests keep prettier formatting 2025-08-19 14:15:23 +12:00
Anton Lavrenov
0ac2ecf89b Merge pull request #1959 from nathan-muir/feat-miter-limit
feat: add support for miter-limit
2025-08-18 20:48:09 -05:00
Nathan Muir
fc227431cc feat: add support for miter-limit 2025-08-19 12:04:18 +12:00
Anton Lavrevov
4cad96ff73 Avoid crash when node inside transformer was destroyed. close #1957 2025-08-18 23:47:44 +09:00
Anton Lavrevov
c621b39f99 fixed mouseup + click events order when clicked on empty area of stage. close #1954 2025-08-17 00:26:42 +09:00
Anton Lavrevov
79cb4a080f record changes 2025-08-14 07:29:56 +09:00
Anton Lavrevov
b43ff157ce change return type of node.toImage(), close #1951 2025-08-13 22:31:52 +09:00
Anton Lavrevov
e7eb3e9a3f relaxed test 2025-08-13 21:56:24 +09:00
Anton Lavrevov
78d7939a26 try to fix a test for github actions 2025-08-13 21:50:30 +09:00
Anton Lavrevov
24b406f2ca restore all tests 2025-08-13 11:03:40 +09:00
Anton Lavrevov
bfee151fbf Merge branch 'master' of github.com:konvajs/konva 2025-08-12 22:23:43 +09:00
Anton Lavrevov
b059956e24 enable better text render, partial test fix 2025-08-12 22:23:33 +09:00
Anton Lavrenov
7b9ccd18ba Merge pull request #1940 from Caden-Hornyak/feature/regular-polygon-corner-radius
Some checks failed
Test Browser / build (20.x) (push) Has been cancelled
Test NodeJS / build (23.x) (push) Has been cancelled
Add corner radius for Regular Polygon
2025-08-11 06:54:12 -05:00
Anton Lavrenov
553245c074 Merge pull request #1950 from Caden-Hornyak/fix/corner-radius-negative-dimensions
Fixed corner radius for Konva.Rect negative width/height
2025-08-11 06:38:15 -05:00
Anton Lavrevov
e33341d3f6 refactor 2025-08-11 20:34:32 +09:00
Anton Lavrevov
8f22d97937 fix types in tests, add skia backend 2025-08-10 22:10:55 +09:00
Anton Lavrevov
d2ecf2064e new charRenderFunc property for Konva.text, clean tests 2025-08-09 10:49:46 +09:00
Caden Hornyak
c398aedb0a Merge branch 'konvajs:master' into feature/regular-polygon-corner-radius 2025-07-23 12:44:47 -07:00
Caden Hornyak
33e5ddf4ae Merge branch 'konvajs:master' into fix/corner-radius-negative-dimensions 2025-07-23 12:44:20 -07:00
CadenH
18956ae62b Fixed negative polygon radius corner radius bug 2025-07-23 12:39:32 -07:00
CadenH
eb70aaf7d2 fixed negative width/height corner radius 2025-07-23 11:32:25 -07:00
Anton Lavrevov
464432a2a5 update cdn link
Some checks failed
Test Browser / build (20.x) (push) Has been cancelled
Test NodeJS / build (23.x) (push) Has been cancelled
9.3.22
2025-07-08 14:20:43 -05:00
Anton Lavrevov
082db9cfb8 build for 9.3.22 2025-07-08 14:20:43 -05:00
Anton Lavrevov
871e474697 update CHANGELOG with new version 2025-07-08 14:20:40 -05:00
Anton Lavrevov
750484b0ad Fixed possible crash on node.to() method. close #1944 2025-07-08 14:20:25 -05:00
Anton Lavrevov
cad1c0ee0f update cdn link 9.3.21 2025-07-07 10:01:07 -05:00
Anton Lavrevov
1e253eaa63 build for 9.3.21 2025-07-07 10:01:07 -05:00
Anton Lavrevov
9670ca4377 update CHANGELOG with new version 2025-07-07 10:01:04 -05:00