Releases: fabricjs/fabric.js
Version 6.0.0-beta9
- fix(fabric): Fix the serialization and registry dependency from minification #9009
- chore(TS): remove troublesome AssertKeys TS construct #9012
- fix(lib): fix aligning_guideline zoom #8998
- fix(IText): support control interaction in text editing mode #8995
- fix(Textbox): splitByGrapheme measurements infix length bug #8990
- patch(Text): styles es6 minor patch #8988
Version 6.0.0 beta 8
- BREAKING fix(IText): detect cursor from proper offsets, remove getLocalPointer from IText class #8972
- fix(Text): styles line break #8973
- fix(): regression to itext focusing from #8939 #8970
- ci(): warn build errors in dev mode #8971
- ci(): invoke tests after changelog action #8974
- chore(TS): Export more types #8965
- BREAKING: fabric.util.makeElementSelectable / fabric.util.makeElementUnselectable are removed #8930
- refactor(): Canvas DOM delegation to utility class #8930
Version 6.0.0 beta7
- feat(): Export setFilterBackend and port the texture filtering option from fabric 5, exports some extra types #8954
- chore(): swap commonly used string with constants #8933
- chore(TS): Add more text types #8941
- ci(): fix changelog action race condition #8949
- ci(): automate PR changelog #8938
- chore(): move canvas click handler to TextManager #8939
- refactor(): write less bulky code #8943
Version 6.0.0-beta6
- feat(Color) Improve regex for new standards, more documentation and code cleanup #8916
- fix(TS): extending canvas and object event types (
type
=>interface
) #8926 - chore(build) simple deps update #8929
- fix(Canvas): sync cleanup of dom elements in dispose #8903
- chore(TS): export util types #8915
- chore(TS): change enums with types #8918
- chore(TS): export gradient types
- chore(lint) export filter colors and brushes types #8913
- chore(lint) Add a rule for import type #8907
- fix(Object): dirty unflagging inconsistency #8910
- chore(TS): minor type/import fixes #8904
- chore(): Matrix util cleanup #8894
- chore(TS): pattern cleanup + export types #8875
- fix(): Disable offscreen check for bg and overlay when not needed #8898
- chore(): cleanup #8888 #8892
- feat(env): relative window/document, support iframe #8897
- docs(): add repo repro link to
bug_report.yml
#8900 - refactor(fabric.Line): Line position is calculated from the center between the 2 points now #8877
- chore(Path, Polyline): Clean up old SVG import code #8857
Version 6.0.0 beta5
- bundle(): export
setEnv
for JEST interoperability #8888
Version 6.0.0 beta 4
chore(): Code cleanup and reuse of code in svg-parsing code #8881
chore(TS): Parse transform attribute typing #8878
chore(TS): Fix typing for DOMParser #8871
fix(Path, polyline): fix for SVG import #8879
chore(TS) add types for loadSVGFromURl, parseSVGDocument, loadSVGFromString #8869
chore(TS): finalize Path migration #8438
fix(Path, Obect) Fix path parsing edge case for zeroed arc command and for too small canvas patterns #8853
Version 6.0.0 beta3
Same content as beta2
Version 6.0.0-beta2
fix(TS): add types to some untyped empty arrays #8830
chore(TS): Complete typings for toObject/fromObject #8756
fix(): text styles edge case #8820
chore(TS): Group types #8807
chore(TS): Path util typings and refactoring #8787
rename(): IPoint => XY #8806
ci(): use sandbox apps in issue template, use the current branch when deploying an app, minors #8803
perf(): optimize perPixelTargetFind #8770
BREAKING fix(): reflect NUM_FRACTION_DIGITS to SVG path data [#8782] (#8782)
fix(IText): layout change regression caused by #8663 (text was changed but layout was skipped) #8711
fix(IText, Textbox): fix broken text input #8775
ci(): .codesandbox #8135
ci(): disallow circular deps #8759
fix(): env WebGL import cycle #8758
chore(TS): remove controls from prototype. BREAKING: controls aren't shared anymore #8753
chore(TS): remove object type from prototype #8714
chore(TS): type Object props #8677
chore(TS): remove default values from filter prototypes #8742
chore(TS): remove default values from Objects prototypes, ( filters in a followup ) #8719
fix(Intersection): bug causing selection edge case #8735
chore(TS): class interface for options/brevity #8674
ci(): fix import autocomplete in dev mode #8725
chore(): remove deprecated class util #8731
lint(): fix eslint errors #8729
fix(TS): this.constructor types #8675
fix(DraggableText): drag image blur #8712
ci(): Fix tests for firefox 110 update #8710
chore(): index files for exports and tree shaking #8661
ci(test): cleanup node config (#8694 followup) #8707
fix(): BREAKING set/discard active object return value, discard active object now return false if no discard happened #8672
fix(): selection logic to support nested multiselection #8665
fix(test): remove bad node config #8694
fix(): keep browser files as .js #8690
fix(): object dispose removes canvas/event refs #8673
fix(test): Textbox fromObject test is incorrectly trying to restore an instance #8686
TS(): Moved cache properties to static properties on classes #xxxx
refactor(): Moved cache properties to static properties on classes #8662
docs(): v6 announcements #8664
ci(): remove TS transformer #8660
refactor(): BREAKING remove stateful mixin and functionality #8663
patch(): Added WebGLProbe to env, removed isLikelyNode, added specific env dispose ( instead of cleanup JSDOM ) #8652
Version 6.0.0-beta1
Version 6.0.0-beta1
ci(): Removed the browser publish script #8656
feat(): Node entry point #8632
chore(): Change import and export strategy #8622
chore(): rename files to modern style #8621
chore(): move and rename text & itext files and organize as folders, rename mixins #8620
chore(TS): type IText, IText behavior, IText click behavior #8610
BREAKING: refactor clone(obj, true) with cloneDeep(obj) and remove all extend, clone calls in favor of object spreads. #8600
chore(TS): Fix some error caused by ts-nocheck removals #8615
refactor(IText): extract draggable text logic to a delegate #8598
chore(TS): Update StaticCanvas to remove ts-nocheck #8606
chore(TS): Update filters to remove ts-nocheck and added types where missing #8609
chore(TS): Intersection class, finalize TS #8603
chore(TS): Update Pattern to remove ts-nocheck and added types where missing #8605
chore(TS): Followup for interactivy and controls migration to TS #8404
refactor(IText): Fixes Draggable Text for retina and viewport transform #8534
chore(TS): refactor canvas init, fix _initRetinaScaling regression #8520
chore(TS): remove all remaining empty declarations #8593
refactor(IText): modernize IText cursor animation based on animation API changes (and fix minor regression) plus leftovers from #8547 #8583
refactor(Canvas, IText): Handle cross instance text editing states to an EditingManager class #8543
chore(TS): move to export, babel, new rollup, change import statement for fabric. #8585;
chore(TS): Add declare in front of properties that are type definitions. #8574
refactor(Animation): BREAKING: Animation api reduction and semplification (byValue is removed, '+=' syntax is removed, callbacks fired 100%) #8547
feat(PolyControl): modify the shape of a poly with control points #8556
BREAKING: remove Object.stateful and Object.statefulCache #8573
fix(IText): refactor clearing context top logic of itext to align with brush pattern, using the canvas rendering cycle in order to guard from edge cases #8560
fix(Canvas): _initRetinaScaling initializaing the scaling regardless of settings in Canvas. #8565
fix(Canvas): regression of canvas migration with pointer and sendPointToPlane #8563
chore(TS): Use exports from files to build fabricJS, get rid of HEADER.js #8549
chore(): rm fabric.filterBackend => getFilterBackend #8487
chore(TS): migrate text SVG export mixin #8486
refactor(TS): animate and AnimationRegistry to classes #8297 BREAKING:
return animation instance from animate instead of a cancel function and remove findAnimationByXXX from AnimationRegistry
change animateColor signature to match animate, removed colorEasing
fix(Object Stacking): 🔙 refactor logic to support Group 🔝
chore(TS): migrate Group/ActiveSelection #8455
chore(TS): Migrate smaller mixins to classes (dataurl and serialization ) #8542
chore(TS): Convert Canvas events mixin and grouping mixin #8519
chore(TS): Remove backward compatibility initialize methods #8525
chore(TS): replace getKlass utility with a registry that doesn't require full fabricJS to work #8500
chore(): use context in static constructors #8522
chore(TS): Convert Canvas class #8510
chore(TS): Move object classes #8511
chore(TS): polish text #8489
chore(TS): fix import cycle, extract groupSVGElements #8506
chore(TS): permissive Point typings #8434
chore(TS): polish files #8488
fix(TS): EventSpec recognition #8497
chore(): rm dead code #8493
fix(scaleObject): handle when scale is 0 to not bug flip #8490
chore(TS): migrate StatiCanvas to TS #8485
chore(): refactor Object.__uid++ => uid() #8482
chore(TS): migrate object mixins to TS #8414
chore(TS): migrate filters #8474
chore(TS): BaseBrush abstract methods #8428
feat(): Add createObjectDefaultControls and createTextboxDefaultControls to create copies of control sets. #8415
fix(PatternBrush): getPatternSrc, rm getPatternSrcFunction #8468
chore(TS): more FabricObject typing #8405
chore(TS): Observable types #8431
chore(TS): migrate Group/ActiveSelection #8455
fix(TS): migration error of itext key mixin (#8421) #8457
chore(TS): migrate text classes/mixins #8421
chore(TS): migrate Image #8443
chore(TS): migrate Shadow #8462
fix(Itext): show incorrect pointer position after scale changed
chore(TS): migrate text classes/mixins #8408
chore(TS): migrate Collection #8433
ci(): Simplify filestats even more #8449
chore(TS): migrate filter backends #8403
chore(TS): migrate Text classes/mixins #8408
chore(TS): migrate Path #8412
ci(): remove unwanted build stats (from #8395) #8416
chore(TS): migrate Line #8413
chore(TS): migrate Polyline/Polygon #8417
chore(TS): migrate Rect #8411
chore(TS): migrate Ellipse #8408
chore(TS): migrate Triangle to TS #8410
chore(TS): migrate Circle to TS #8406
chore(TS): convert Object interactivity mixin to its own class #8401
chore(TS): Convert controls e6/ts #8400
ci(): remove buggy changelog action in favor of git diff bash script + direct git how to merge CHANGELOG.md #8346
fix(): skewing controls accuracy + successive interactions #8380
chore(TS): Convert Geometry and Origin to classes/e6/ts #8390
ci(): build stats report #8395
chore(TS): convert object to es6 class #8322
docs(): guides follow up, feature request template #8379
docs(): refactor guides, bug report template #8189
BREAKING fix(polyline/polygon): stroke bounding box for all line join/cap cases #8344 BREAKING: _setPositionDimensions was removed in favor of setDimensions
test(): Added 2 tests for polygon shapes and transforms with translations #8370
fix(textStyles): Handle style objects with only a textBackgroundColor property in stylesToArray #8365
chore(): fix typos in intersection file #8345
fix(textStyles): Handle empty style object in stylesToArray #8357
ci(build): safeguard concurrent unlocking #8309
ci(): update stale bot #8307
ci(test): await golden generation in visual tests #8284
ci(): Add a pipeline check for verifying that CHANGELOG.md has been updated #8302
BREAKING feat(fabric.IText) rename data-fabric-hiddentextarea to data-fabric with value textarea
ci(): adds a lock file to the repo when build is in progress, makes local testing wait for the build to complete #8290
fix(WebGLProbe): regression caused by https://github.com/fabricjs/fabric.js...