Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release npm package @alkemio/excalidraw 0.17.1-alkemio-5 #9

Closed
wants to merge 307 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
307 commits
Select commit Hold shift + click to select a range
27fd150
fix: canvas flickering due to resetting canvas on skipped frames (#6960)
dwelle Sep 5, 2023
5191cdb
fix: stale labeled arrow bounds cache after editing the label (#6893)
alex-kim-dev Sep 5, 2023
134df7b
fix: update size-limit so react is not installed as dependency (#6964)
ad1992 Sep 6, 2023
a13aed9
fix: z-index inconsistencies during addition / deletion in frames (#6…
Mrazator Sep 6, 2023
56c2152
docs: Adding the json Schema to the documentation (#6817)
Rajni2002 Sep 7, 2023
4a9adc7
feat: export `changeProperty()` and `getFormValue()`. (#6957)
DanielJGeiger Sep 9, 2023
5302490
feat: update logo (#6979)
dwelle Sep 11, 2023
6abf194
fix: export to plus url (#6980)
dwelle Sep 11, 2023
d73cd14
docs: add mermaid docs (#6971)
ad1992 Sep 13, 2023
c9efb12
fix: use `device.isMobile` for sidebar trigger label breakpoint (#6994)
dwelle Sep 15, 2023
a34216f
docs: new Sidebar API (#6976)
dwelle Sep 15, 2023
1f94f20
fix: isBindableElement to affirm frames (#6900)
7flash Sep 15, 2023
c1952fd
fix: several eyeDropper fixes (#7002)
dwelle Sep 17, 2023
eb020d0
fix: generic element's labels not flipping with them (#6967)
alex-kim-dev Sep 17, 2023
e3f4f56
feat: holding down CMD/CTRL will disable snap to grid when grid is ac…
zsviczian Sep 18, 2023
4b11f43
feat: zen-mode/go-to-plus button style tweaks (#7006)
dwelle Sep 19, 2023
99dbc0a
docs: Add docs for Excalidraw Element Skeleton (#6879)
ad1992 Sep 19, 2023
3d61795
fix: improperly disabling UI pointer-events on canvas interaction (#7…
dwelle Sep 19, 2023
0a588a8
docs: release @excalidraw/[email protected] 🎉 (#6993)
ad1992 Sep 19, 2023
741d5f1
refactor: move excalidraw-app outside src (#6987)
ad1992 Sep 21, 2023
f8b3692
fix: more eye-droper fixes (#7019)
dwelle Sep 21, 2023
4db73a7
docs: release @excalidraw/[email protected] 🎉 (#7020)
ad1992 Sep 21, 2023
5561755
fix: polyfill `Element.replaceChildren` (#7034)
dwelle Sep 24, 2023
4765f55
fix: frame name not editable on dbl-click (#7037)
dwelle Sep 25, 2023
4c35eba
feat: element alignments - snapping (#6256)
hugo082 Sep 28, 2023
ceb637f
fix: elements being dropped/duplicated when added to frame (#7057)
dwelle Sep 29, 2023
7d2b6f3
docs: fix typo on homepage of developer docs (#7047)
atorcode Sep 30, 2023
84fd13e
docs: fix minor grammar and spellings (#7039)
tempewda Oct 2, 2023
6a821f3
fix: Icon size in manifest (#7073)
tomayac Oct 3, 2023
bfd318e
docs: Update the `excalidraw-app` source-code link in README.md (#7035)
DanielJGeiger Oct 3, 2023
1242059
feat: support menu / dropdown items to have `selected` state (#7078)
dwelle Oct 3, 2023
1f4f5e1
refactor: DRY out and simplify setting active tool from toolbar (#7079)
dwelle Oct 3, 2023
8b83804
fix: remove invisible elements safely (#7083)
dwelle Oct 4, 2023
fa33aa0
refactor: refactor event globals to differentiate from `lastPointerUp…
dwelle Oct 4, 2023
e6f7435
refactor: DRY out tool typing (#7086)
dwelle Oct 4, 2023
e921bfb
feat: Export `iconFillColor()` (#6996)
DanielJGeiger Oct 4, 2023
2e61926
feat: initial Laser Pointer MVP (#6739)
are Oct 5, 2023
a249f33
fix: ensure we do not stop laser update prematurely (#7100)
dwelle Oct 6, 2023
03da911
fix: update links to excalidraw-app (#7072)
emmanuel-ferdman Oct 9, 2023
f20ba90
perf: improve element in frame check (#7124)
ryan-di Oct 9, 2023
4ea079e
fix: regression from #6739 preventing redirect link in view mode (#7120)
zsviczian Oct 9, 2023
2523fe8
feat: laser pointer improvements (#7128)
dwelle Oct 10, 2023
7ad02c3
fix: memoize static canvas on `props.renderConfig` (#7131)
dwelle Oct 10, 2023
26ff399
feat: better laser cursor for dark mode (#7132)
dwelle Oct 11, 2023
b552166
feat: new dark mode theme & light theme tweaks (#7104)
barnabasmolnar Oct 12, 2023
b86184a
fix: ensure relative z-index of elements added to frame is retained (…
dwelle Oct 12, 2023
89a3bbd
test: add more resizing tests (#7028)
alex-kim-dev Oct 12, 2023
44d9d5f
fix: wysiwyg left in undefined state on reload (#7123)
mazijian-pp Oct 13, 2023
aaf73c8
fix: double image dialog shown on insert (#7152)
dwelle Oct 15, 2023
5b94cff
fix: ensure `ClipboardItem` created in the same tick to fix safari (#…
dwelle Oct 16, 2023
dde3dac
feat: remove bound-arrows from frames (#7157)
dwelle Oct 17, 2023
63650f8
feat: Added Copy/Paste from Google Docs (#7136)
lakshz Oct 19, 2023
2cabb1f
fix: attempt to fix flake in wysiwyg tests (#7173)
dwelle Oct 19, 2023
7e38cab
build(deps): bump @babel/traverse from 7.21.4 to 7.23.2 (#7171)
dependabot[bot] Oct 19, 2023
83f86e2
fix: Fix for Strange Symbol Appearing on Canvas after Deleting Groupe…
mvaibhav77 Oct 19, 2023
b1cac35
feat: Closing of "Save to.." Dialog on Save To Disk (#7168)
mvaibhav77 Oct 19, 2023
ab1bcc7
chore: Update translations from Crowdin (#6695)
excalibot Oct 20, 2023
9eb89f9
build(deps): bump @babel/traverse from 7.18.9 to 7.23.2 in /dev-docs …
dependabot[bot] Oct 20, 2023
e7cc233
feat: add `onChange`, `onPointerDown`, `onPointerUp` api subs (#7154)
dwelle Oct 20, 2023
3697618
feat: support `props.locked` for `setActiveTool` (#7153)
dwelle Oct 20, 2023
d2a5081
fix: Better fill rendering with latest RoughJS (#7031)
pshihn Oct 20, 2023
afea0df
feat: renderer tweaks (#6698)
dwelle Oct 20, 2023
71ad3c5
fix: Actions panel ux improvement (#6850)
s1lverfish Oct 24, 2023
104f64f
revert: remove bound-arrows from frames (#7190)
dwelle Oct 25, 2023
f794b0b
fix: freedraw non-solid bg hitbox not working (#7193)
dwelle Oct 25, 2023
f098789
fix: element relative position when dragging multiple elements on gri…
zsviczian Oct 25, 2023
0f81c30
fix: frame add/remove/z-index ordering changes (#7194)
dwelle Oct 25, 2023
d1f8eec
feat: support giphy.com embed domain (#7192)
dwelle Oct 25, 2023
dcf4592
feat: regenerate ids by default when using transform api and also upd…
ad1992 Oct 26, 2023
d5e3f43
feat: add approximate elements in bbox detection (#6727)
are Oct 26, 2023
ec2de72
fix: don't update label position when dragging labelled arrows (#6891)
ad1992 Oct 27, 2023
ea677d4
feat: make clipboard more robust and reintroduce contextmenu actions …
dwelle Oct 28, 2023
9b8de8a
test: disable flaky test (#7213)
dwelle Oct 31, 2023
f5c91c3
feat: support frames via programmatic API (#7205)
ad1992 Nov 1, 2023
81c0259
docs: add npm downloads rate badge to README.md file (#7127)
fsefidabi Nov 1, 2023
d8166d9
fix: dialog remounting on className updates (#7224)
dwelle Nov 2, 2023
a7db41c
fix: align input `:hover`/`:focus` with spec (#7225)
dwelle Nov 2, 2023
e8def8d
feat: Support mermaid flowchart and sequence diagrams to excalidraw d…
ad1992 Nov 3, 2023
18a7b97
chore: Fix typo in comment in LocalData file (#7235)
dantehemerson Nov 4, 2023
b1037b3
feat: make device breakpoints more specific (#7243)
dwelle Nov 6, 2023
ce7a847
feat: export getCommonBounds util (#7247)
ad1992 Nov 7, 2023
9006caf
fix: make modal use viewport breakpoints (#7246)
dwelle Nov 7, 2023
3c96943
test: fix mermaid test flake (#7249)
dwelle Nov 7, 2023
a9a6f8e
docs: update the docs with next js dynamic import support (#7252)
ad1992 Nov 9, 2023
864c0b3
feat: render frames on export (#7210)
dwelle Nov 9, 2023
cee0076
feat: support excalidrawAPI and remove refs support (#7251)
ad1992 Nov 10, 2023
f66c936
feat: make adaptive-roughness less aggressive (#7250)
dwelle Nov 10, 2023
798e1fd
fix: allow pointer events when editing a linear element (#7238)
zsviczian Nov 10, 2023
3ed15e9
Small typo fix frames.mdx (#7216)
janpeterd Nov 10, 2023
6817935
fix: Fixes the shortcut collision between "toggleHandTool" and "distr…
GabiRepare Nov 10, 2023
900b317
feat: remove full screen shortcut (#7222)
SahilNagpure07 Nov 10, 2023
6363492
fix: perf issue when ungrouping elements within frame (#7265)
dwelle Nov 10, 2023
02cc844
feat: allow D&D dice app domain for embeds (#7263)
FilBot3 Nov 10, 2023
af6b81d
fix: Replace hard coded font family with const value in addFrameLabel…
zsviczian Nov 11, 2023
7b00089
chore: bump @excalidraw/random-username (#7272)
dwelle Nov 11, 2023
3d4ff59
fix: Can't toggle penMode off due to missing typecheck in togglePenMo…
zsviczian Nov 12, 2023
ae5b9a4
fix: not cloning elements on export polluting Scene mapping (#7276)
dwelle Nov 12, 2023
ceb255e
fix: exportToSvg to honor frameRendering also for name not only for f…
zsviczian Nov 12, 2023
adfd95b
build: support preact 🥳 (#7255)
ad1992 Nov 13, 2023
029c3c4
fix: image insertion bugs (#7278)
dwelle Nov 13, 2023
9d1d45a
chore: update changelog (#7279)
ad1992 Nov 14, 2023
9c42522
feat: support disabling image tool (#6320)
dwelle Nov 14, 2023
5415362
chore: update release scripts (#7282)
ad1992 Nov 14, 2023
111a48f
docs: release @excalidraw/[email protected] 🎉 (#7284)
ad1992 Nov 14, 2023
ddb7585
docs: Docs for v0.17.0 🚀 (#7248)
ad1992 Nov 14, 2023
a528769
docs: upgrade to @excalidraw/[email protected] (#7285)
ad1992 Nov 14, 2023
23b24ea
build: use caret for specifying node version to avoid major upgrades …
ad1992 Nov 16, 2023
f8d5c2a
build: allow a range of major node versions (#7306)
dwelle Nov 17, 2023
1e37dbd
feat: change frame resizing behavior (#7307)
dwelle Nov 17, 2023
7c9cf30
fix: make zoomToFit fitToViewport account for sidebar (#7298)
barnabasmolnar Nov 17, 2023
d1e4421
feat: Expose `ActionManager.registerAction` through `ExcalidrawImpera…
DanielJGeiger Nov 22, 2023
c7ee46e
feat: wireframe-to-code (#7334)
dwelle Nov 23, 2023
3d1631f
feat: d2c tweaks (#7336)
dwelle Nov 24, 2023
fda5c6f
fix: t2c settings dialog spacing for apps that use CSS resets (#7337)
dwelle Nov 24, 2023
dd8a7d4
fix: bounds cached prematurely resulting in incorrectly rendered labe…
dwelle Nov 24, 2023
14845a3
feat: text-to-diagram (#7325)
barnabasmolnar Nov 25, 2023
fe75f29
fix: disable caching bounds for arrow labels (#7343)
dwelle Nov 25, 2023
dd220bc
feat: TTD dialog tweaks (#7346)
dwelle Nov 27, 2023
f299514
fix: umd build so it can be used in browser (#7349)
ad1992 Nov 28, 2023
42d8c5a
chore: update changelog and package.json for v0.17.1 (#7351)
ad1992 Nov 28, 2023
4bdeaf9
feat: TTD dialog UI tweaks (#7384)
dwelle Dec 4, 2023
72ea802
docs: changelog instruction removed from docs (#7395)
mvaibhav77 Dec 6, 2023
a04cc70
build(deps-dev): bump vite from 4.4.2 to 4.4.12 (#7393)
dependabot[bot] Dec 6, 2023
b9cfbc2
feat: add support for more UML arrowheads (#7391)
dwelle Dec 6, 2023
557add5
feat: Support Mermaid Class diagrams 🥳 (#7381)
ad1992 Dec 6, 2023
8963baf
chore: upgrade to vite 5.x and vitest 1.x (#7407)
ad1992 Dec 7, 2023
f14ad61
build: move build process and excalidraw-app dependencies in its own …
ad1992 Dec 7, 2023
b7d7ccc
fix: env variable for text-to-diagram and use frozen lock file when i…
ad1992 Dec 7, 2023
d6cd8b7
build: decouple package deps and introduce yarn workspaces (#7415)
ad1992 Dec 12, 2023
7ebda02
fix: update path of files in docs (#7428)
ad1992 Dec 12, 2023
b635b10
chore: Update translations from Crowdin (#7176)
excalibot Dec 12, 2023
88a2b28
feat: move utils to utils package and make @excalidraw/utils a worksp…
ad1992 Dec 13, 2023
aad8ab0
feat: follow mode (#6848)
barnabasmolnar Dec 14, 2023
2c0929e
fix: follow-mode tweaks (#7443)
dwelle Dec 15, 2023
20e3acf
feat: bump `socket.io-client` & collab tweaks (#7444)
dwelle Dec 15, 2023
561e919
fix: import `Socket` as type (#7446)
dwelle Dec 16, 2023
6dfa89e
fix: emitted visible scene bounds not accounting for offsets (#7450)
dwelle Dec 16, 2023
537f6e7
docs: add steps for local development (#7449)
jasonpraful Dec 16, 2023
7bd6496
refactor: Fix Typo (#7445)
golok727 Dec 16, 2023
2a0fe25
fix: empty snapLines arrays would cause re-render (#7454)
lynda0214 Dec 18, 2023
0808532
fix: follow mode collaborator status indicator (#7459)
dwelle Dec 18, 2023
57ea4e6
fix: mixing clientId & socketId in UserList (#7461)
dwelle Dec 18, 2023
d91c98b
fix: incorrect types in `ActionNavigate` (#7462)
dwelle Dec 18, 2023
5f40a4c
fix: missing cross-env from build:umd in package.json (#7460)
zsviczian Dec 18, 2023
c72e853
refactor: editor events sub/unsub refactor (#7483)
dwelle Dec 30, 2023
d19b51d
fix: drawing-tablet stylus touch events being prevented (#7494)
dwelle Dec 30, 2023
e6c3c06
feat: support pen erasing (#7496)
dwelle Jan 1, 2024
a8064ba
build: Welcome ESM and Bye Bye UMD (#7441)
ad1992 Jan 1, 2024
49f15c7
chore: remove unused files (#7509)
ad1992 Jan 3, 2024
4249b7d
chore: add version for excalidraw-app workspace (#7514)
ad1992 Jan 4, 2024
43ccc87
feat: support multi-embed pasting & x.com domain (#7516)
dwelle Jan 4, 2024
1cb350b
feat: update X brand logo & tweak labels (#7518)
dwelle Jan 4, 2024
8b993d4
feat: render embeds lazily (#7519)
dwelle Jan 4, 2024
65047cc
fix: decouple react and react-dom imports from utils and make it tree…
ad1992 Jan 8, 2024
1aaa400
docs: fix extra space in UIOptions/tools (#7537)
mikecat Jan 11, 2024
3ecf72a
docs: add changelog for ESM build (#7542)
ad1992 Jan 11, 2024
872973f
fix: do not modify elements while erasing (#7531)
dwelle Jan 11, 2024
86cfeb7
feat: add eraser tool trail (#7511)
are Jan 11, 2024
0c24a70
feat: remove `ExcalidrawEmbeddableElement.validated` flag (#7539)
dwelle Jan 11, 2024
5245276
feat: erase groups atomically (#7545)
dwelle Jan 11, 2024
8ead855
feat: redirect font requests to cdn (#7549)
dwelle Jan 11, 2024
41cc746
fix: host font assets from root (#7548)
dwelle Jan 11, 2024
0fa5f5d
fix: translating frames containing grouped text containers (#7557)
dwelle Jan 13, 2024
a4e5e46
fix: move default to last so its compatible with nextjs (#7561)
ad1992 Jan 15, 2024
dd53073
docs: fix "canvas actions" link in Props page (#7536)
mikecat Jan 17, 2024
3b0593b
fix: Prevent the library label from being collapsed (#7579)
mikecat Jan 19, 2024
46da032
fix: exporting frame-overlapping elements belonging to other frames (…
dwelle Jan 19, 2024
1e7df58
feat: add pasted elements to frame under cursor (#7590)
dwelle Jan 21, 2024
b66daae
fix: Truncate collaborator name in dropdown. (#7576)
barnabasmolnar Jan 21, 2024
4997624
fix: frame name editing inconvenience (#7437)
ryan-di Jan 21, 2024
740a165
fix: filter out elements not overlapping frame on paste (#7591)
dwelle Jan 21, 2024
0415c61
refactor: decoupling global Scene state part-1 (#7577)
dwelle Jan 21, 2024
c6fdac1
ci: add the workspace ignore check to install actions as dependency f…
ad1992 Jan 22, 2024
89bd618
fix: revert `mapElementIds` flag removal (#7594)
dwelle Jan 22, 2024
f3f8217
docs: toggleSidebar api fix (#7575)
halocean96 Jan 23, 2024
4f0a2a9
docs: add next js with app router example (#7552)
ad1992 Jan 24, 2024
966f9ae
build(deps-dev): bump vite from 5.0.6 to 5.0.12 in /examples/excalidr…
dependabot[bot] Jan 24, 2024
678bb2b
build(deps-dev): bump vite from 5.0.6 to 5.0.12 (#7586)
dependabot[bot] Jan 24, 2024
2789d08
docs: update the docs for next js integration (#7605)
ad1992 Jan 25, 2024
10bd08e
fix: make getBoundTextElement and related helpers pure (#7601)
ad1992 Jan 26, 2024
626fe25
fix: frame name field (#7457)
Andran1k Jan 29, 2024
2409c09
feat: support roundness for images (#7558)
aashirisrar Jan 29, 2024
d426cc9
refactor: remove portal as it is no longer needed (#7623)
maielo Jan 29, 2024
e0fefa8
fix: don't bundle react-dom when importing from element (#7635)
ad1992 Jan 31, 2024
63b50b3
fix: don't bundle react-dom when importing from transformHandles (#7634)
ad1992 Jan 31, 2024
1741c23
fix: decouple container cache logic to containerCache. (#7637)
ad1992 Jan 31, 2024
90ad885
feat: support onPointerUp prop (#7638)
ad1992 Feb 1, 2024
1c39bd5
fix: don't bundle react and jotai when importing from scene (#7640)
ad1992 Feb 1, 2024
4888d9d
chore: change default port of collab server (#7641)
dwelle Feb 1, 2024
0e0f34e
fix: follow mode border for hosts apps (#7642)
maielo Feb 1, 2024
0c3dffb
fix: make getEmbedLink independent of t function (#7643)
ad1992 Feb 1, 2024
d67eaa8
fix: file save timing out with big file sizes (#7649)
dwelle Feb 3, 2024
a289c42
feat: add loading state to FilledButton (#7650)
dwelle Feb 3, 2024
0513b64
feat: change collab trigger & add share dialog (#7647)
dwelle Feb 3, 2024
def1df2
fix: keep customData when converting to ExcalidrawElement (#7656)
yubinTW Feb 8, 2024
adc4c9f
fix: prevent panning to trigger history on macos chrome (#7671)
dwelle Feb 8, 2024
48c3465
docs: release patch v0.17.3 (#7673)
ad1992 Feb 9, 2024
73bf50e
fix: remove t from getDefaultAppState and allow name to be nullable (…
ad1992 Feb 15, 2024
47f87f4
fix: remove scene from getElementAbsoluteCoords and dependent functio…
ad1992 Feb 16, 2024
9013c84
fix: make LinearElementEditor independent of scene (#7670)
ad1992 Feb 19, 2024
79d9dc2
fix: make bounds independent of scene (#7679)
ad1992 Feb 19, 2024
2e719ff
fix: decouple pure functions from hyperlink to prevent mermaid bundli…
ad1992 Feb 20, 2024
361a944
fix: remove scene hack from export.ts & remove pass elementsMap to ge…
ad1992 Feb 21, 2024
f5ab3e4
fix: remove dependency of t from clipboard and image (#7712)
ad1992 Feb 21, 2024
f639d44
fix: remove dependency of t in blob.ts (#7717)
ad1992 Feb 23, 2024
dd85297
docs: type mistake in integration of excalidraw (#7723)
aashmanVerma Feb 26, 2024
b09b5cb
fix: split renderScene so that locales aren't imported unnecessarily …
ad1992 Feb 27, 2024
36e5626
docs: add missing closing angle bracket in integration.mdx (#7729)
WabweniBrian Feb 27, 2024
af1a3d5
fix: export utils from excalidraw package in excalidraw library (#7731)
ad1992 Feb 28, 2024
99601ba
build: create ESM build for utils package 🥳 (#7500)
ad1992 Feb 28, 2024
f207bd0
build: export types for @excalidraw/utils (#7736)
ad1992 Feb 29, 2024
160440b
feat: improve collab error notification (#7741)
ryan-di Mar 4, 2024
7e471b5
feat: text measurements based on font metrics (#7693)
Mrazator Mar 5, 2024
a07f6e9
feat: show ai badge for discovery (#7749)
dwelle Mar 5, 2024
a38e82f
feat: close dropdown on escape (#7750)
dwelle Mar 5, 2024
68b1fdb
fix: add missing font metrics for Assistant (#7752)
dwelle Mar 6, 2024
480572f
fix: correcting Assistant metrics (#7758)
Mrazator Mar 7, 2024
2382fad
feat: store library to IndexedDB & support storage adapters (#7655)
dwelle Mar 8, 2024
6a385d6
feat: change LibraryPersistenceAdapter `load()` `source` -> `priority`
dwelle Mar 11, 2024
b7babe5
feat: load old library if migration fails
dwelle Mar 11, 2024
068895d
feat: expose more collaborator status icons (#7777)
dwelle Mar 18, 2024
15bfa62
feat: support to not render remote cursor & username (#7130)
dwelle Mar 18, 2024
7949aa1
feat: upgrade mermaid-to-excalidraw to 0.3.0 (#7819)
ad1992 Mar 28, 2024
65bc500
fix: `excalidrawAPI.toggleSidebar` not switching between tabs correct…
dwelle Mar 28, 2024
6b52356
fix: ejs support in html files (#7822)
dwelle Mar 28, 2024
550a388
feat: command palette (#7804)
ryan-di Mar 28, 2024
1d71f84
fix: stop using lookbehind for backwards compat (#7824)
dwelle Mar 28, 2024
3e334a6
feat: show firefox-compatible command palette shortcut alias (#7825)
dwelle Mar 28, 2024
bbdcd30
refactor: update collision from ga to vector geometry (#7636)
ryan-di Apr 4, 2024
32df550
feat: fractional indexing (#7359)
ryan-di Apr 4, 2024
92bc082
fix: remove incorrect check from index.html (#7867)
dwelle Apr 8, 2024
cd50aa7
feat: add system mode to the theme selector (#7853)
arnostpleskot Apr 8, 2024
c6a045d
fix: theme toggle shortcut `event.code` (#7868)
dwelle Apr 8, 2024
8a162a4
fix: import (#7869)
dwelle Apr 8, 2024
a33a400
fix: add safe check for arrow points length in tranformToExcalidrawEl…
ad1992 Apr 9, 2024
d917db4
fix: external link not opening (#7859)
therealrinku Apr 9, 2024
4987cc5
fix: include borders when testing insides of a shape (#7865)
ryan-di Apr 9, 2024
f597bd3
fix: command palette tweaks and fixes (#7876)
dwelle Apr 11, 2024
0ae9b38
fix: Gist embed allowing unsafe html (#7883)
dwelle Apr 12, 2024
4689a6b
fix: hit test for closed sharp curves (#7881)
ryan-di Apr 12, 2024
afcde54
fix: parse embeddable srcdoc urls strictly (#7884)
dwelle Apr 12, 2024
f59b4f6
fix: always make sure we render bound text above containers (#7880)
dwelle Apr 12, 2024
da2e507
fix: allow same origin for all necessary domains (#7889)
dwelle Apr 13, 2024
890ed9f
feat: add "toggle grid" to command palette (#7887)
dwelle Apr 13, 2024
f92f04c
fix: Correct unit from 'eg' to 'deg' (#7891)
johnd99 Apr 15, 2024
bbcca06
fix: collision regressions from vector geometry rewrite (#7902)
ryan-di Apr 17, 2024
5211b00
fix: double text rendering on edit (#7904)
dwelle Apr 17, 2024
530617b
feat: multiplayer undo / redo (#7348)
Mrazator Apr 17, 2024
2cbb14e
Applied manually all Alkemio changes to version 0.17.6
ccanos Oct 9, 2024
12acd9b
Version bump
ccanos Oct 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .codesandbox/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM node:18-bullseye

# Vite wants to open the browser using `open`, so we
# need to install those utils.
RUN apt update -y && apt install -y xdg-utils
11 changes: 9 additions & 2 deletions .codesandbox/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@
"start": {
"name": "Start Excalidraw",
"command": "yarn start",
"runAtStart": true
"runAtStart": true,
"preview": {
"port": 3000
}
},
"test": {
"name": "Run Tests",
Expand All @@ -37,7 +40,11 @@
"install-deps": {
"name": "Install Dependencies",
"command": "yarn install",
"restartOn": { "files": ["yarn.lock"] }
"restartOn": {
"files": ["yarn.lock"],
"branch": false,
"resume": false
}
}
}
}
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
!.prettierrc
!package.json
!public/
!src/
!packages/
!tsconfig.json
!yarn.lock
35 changes: 23 additions & 12 deletions .env.development
Original file line number Diff line number Diff line change
@@ -1,30 +1,41 @@
REACT_APP_BACKEND_V2_GET_URL=https://json-dev.excalidraw.com/api/v2/
REACT_APP_BACKEND_V2_POST_URL=https://json-dev.excalidraw.com/api/v2/post/
VITE_APP_BACKEND_V2_GET_URL=https://json-dev.excalidraw.com/api/v2/
VITE_APP_BACKEND_V2_POST_URL=https://json-dev.excalidraw.com/api/v2/post/

REACT_APP_LIBRARY_URL=https://libraries.excalidraw.com
REACT_APP_LIBRARY_BACKEND=https://us-central1-excalidraw-room-persistence.cloudfunctions.net/libraries
VITE_APP_LIBRARY_URL=https://libraries.excalidraw.com
VITE_APP_LIBRARY_BACKEND=https://us-central1-excalidraw-room-persistence.cloudfunctions.net/libraries

# collaboration WebSocket server (https://github.com/excalidraw/excalidraw-room)
REACT_APP_WS_SERVER_URL=http://localhost:3002
VITE_APP_WS_SERVER_URL=http://localhost:3002

# set this only if using the collaboration workflow we use on excalidraw.com
REACT_APP_PORTAL_URL=
VITE_APP_PLUS_LP=https://plus.excalidraw.com
VITE_APP_PLUS_APP=https://app.excalidraw.com

REACT_APP_FIREBASE_CONFIG='{"apiKey":"AIzaSyCMkxA60XIW8KbqMYL7edC4qT5l4qHX2h8","authDomain":"excalidraw-oss-dev.firebaseapp.com","projectId":"excalidraw-oss-dev","storageBucket":"excalidraw-oss-dev.appspot.com","messagingSenderId":"664559512677","appId":"1:664559512677:web:a385181f2928d328a7aa8c"}'
VITE_APP_AI_BACKEND=http://localhost:3015

VITE_APP_FIREBASE_CONFIG='{"apiKey":"AIzaSyCMkxA60XIW8KbqMYL7edC4qT5l4qHX2h8","authDomain":"excalidraw-oss-dev.firebaseapp.com","projectId":"excalidraw-oss-dev","storageBucket":"excalidraw-oss-dev.appspot.com","messagingSenderId":"664559512677","appId":"1:664559512677:web:a385181f2928d328a7aa8c"}'

# put these in your .env.local, or make sure you don't commit!
# must be lowercase `true` when turned on
#
# whether to enable Service Workers in development
REACT_APP_DEV_ENABLE_SW=
VITE_APP_DEV_ENABLE_SW=
# whether to disable live reload / HMR. Usuaully what you want to do when
# debugging Service Workers.
REACT_APP_DEV_DISABLE_LIVE_RELOAD=
REACT_APP_DISABLE_TRACKING=true
VITE_APP_DEV_DISABLE_LIVE_RELOAD=
VITE_APP_DISABLE_TRACKING=true

FAST_REFRESH=false

# The port the run the dev server
VITE_APP_PORT=3000

#Debug flags

# To enable bounding box for text containers
REACT_APP_DEBUG_ENABLE_TEXT_CONTAINER_BOUNDING_BOX=
VITE_APP_DEBUG_ENABLE_TEXT_CONTAINER_BOUNDING_BOX=

# Set this flag to false if you want to open the overlay by default
VITE_APP_COLLAPSE_OVERLAY=true

# Set this flag to false to disable eslint
VITE_APP_ENABLE_ESLINT=true
24 changes: 13 additions & 11 deletions .env.production
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
REACT_APP_BACKEND_V2_GET_URL=https://json.excalidraw.com/api/v2/
REACT_APP_BACKEND_V2_POST_URL=https://json.excalidraw.com/api/v2/post/
VITE_APP_BACKEND_V2_GET_URL=https://json.excalidraw.com/api/v2/
VITE_APP_BACKEND_V2_POST_URL=https://json.excalidraw.com/api/v2/post/

REACT_APP_LIBRARY_URL=https://libraries.excalidraw.com
REACT_APP_LIBRARY_BACKEND=https://us-central1-excalidraw-room-persistence.cloudfunctions.net/libraries
VITE_APP_LIBRARY_URL=https://libraries.excalidraw.com
VITE_APP_LIBRARY_BACKEND=https://us-central1-excalidraw-room-persistence.cloudfunctions.net/libraries

REACT_APP_PORTAL_URL=https://portal.excalidraw.com
# Fill to set socket server URL used for collaboration.
# Meant for forks only: excalidraw.com uses custom REACT_APP_PORTAL_URL flow
REACT_APP_WS_SERVER_URL=
VITE_APP_PLUS_LP=https://plus.excalidraw.com
VITE_APP_PLUS_APP=https://app.excalidraw.com

REACT_APP_FIREBASE_CONFIG='{"apiKey":"AIzaSyAd15pYlMci_xIp9ko6wkEsDzAAA0Dn0RU","authDomain":"excalidraw-room-persistence.firebaseapp.com","databaseURL":"https://excalidraw-room-persistence.firebaseio.com","projectId":"excalidraw-room-persistence","storageBucket":"excalidraw-room-persistence.appspot.com","messagingSenderId":"654800341332","appId":"1:654800341332:web:4a692de832b55bd57ce0c1"}'
VITE_APP_AI_BACKEND=https://oss-ai.excalidraw.com

REACT_APP_PLUS_APP=https://app.excalidraw.com
REACT_APP_DISABLE_TRACKING=
# socket server URL used for collaboration
VITE_APP_WS_SERVER_URL=https://oss-collab.excalidraw.com

VITE_APP_FIREBASE_CONFIG='{"apiKey":"AIzaSyAd15pYlMci_xIp9ko6wkEsDzAAA0Dn0RU","authDomain":"excalidraw-room-persistence.firebaseapp.com","databaseURL":"https://excalidraw-room-persistence.firebaseio.com","projectId":"excalidraw-room-persistence","storageBucket":"excalidraw-room-persistence.appspot.com","messagingSenderId":"654800341332","appId":"1:654800341332:web:4a692de832b55bd57ce0c1"}'

VITE_APP_DISABLE_TRACKING=
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ package-lock.json
firebase/
dist/
public/workbox
src/packages/excalidraw/types
packages/excalidraw/types
Binary file removed .github/assets/logo.png
Binary file not shown.
6 changes: 3 additions & 3 deletions .github/workflows/autorelease-excalidraw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 2
- name: Setup Node.js 14.x
- name: Setup Node.js 18.x
uses: actions/setup-node@v2
with:
node-version: 14.x
node-version: 18.x
- name: Set up publish access
run: |
npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Auto release
run: |
yarn add @actions/core
yarn add @actions/core -W
yarn autorelease
6 changes: 3 additions & 3 deletions .github/workflows/autorelease-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ jobs:
with:
ref: ${{ steps.sha.outputs.result }}
fetch-depth: 2
- name: Setup Node.js 14.x
- name: Setup Node.js 18.x
uses: actions/setup-node@v2
with:
node-version: 14.x
node-version: 18.x
- name: Set up publish access
run: |
npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
Expand All @@ -44,7 +44,7 @@ jobs:
- name: Auto release preview
id: "autorelease"
run: |
yarn add @actions/core
yarn add @actions/core -W
yarn autorelease preview ${{ github.event.issue.number }}
- name: Post comment post release
if: always()
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Setup Node.js 14.x
- name: Setup Node.js 18.x
uses: actions/setup-node@v2
with:
node-version: 14.x
node-version: 18.x

- name: Install and lint
run: |
yarn --frozen-lockfile
yarn install
yarn test:other
yarn test:code
yarn test:typecheck
8 changes: 4 additions & 4 deletions .github/workflows/locales-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ jobs:
with:
token: ${{ secrets.PUSH_TRANSLATIONS_COVERAGE_PAT }}

- name: Setup Node.js 14.x
- name: Setup Node.js 18.x
uses: actions/setup-node@v2
with:
node-version: 14.x
node-version: 18.x

- name: Create report file
run: |
yarn locales-coverage
FILE_CHANGED=$(git diff src/locales/percentages.json)
FILE_CHANGED=$(git diff packages/excalidraw/locales/percentages.json)
if [ ! -z "${FILE_CHANGED}" ]; then
git config --global user.name 'Excalidraw Bot'
git config --global user.email '[email protected]'
git add src/locales/percentages.json
git add packages/excalidraw/locales/percentages.json
git commit -am "Auto commit: Calculate translation coverage"
git push
fi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/semantic-pr-title.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Semantic PR title

on:
pull_request_target:
pull_request:
types:
- opened
- edited
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sentry-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.js 14.x
- name: Setup Node.js 18.x
uses: actions/setup-node@v2
with:
node-version: 14.x
node-version: 18.x
- name: Install and build
run: |
yarn --frozen-lockfile
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/size-limit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: "Bundle Size check @excalidraw/excalidraw"
on:
pull_request:
branches:
- master
jobs:
size:
runs-on: ubuntu-latest
env:
CI_JOB_NUMBER: 1
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install in packages/excalidraw
run: yarn
working-directory: packages/excalidraw
env:
CI: true
- uses: andresz1/size-limit-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
build_script: build:esm
skip_step: install
directory: packages/excalidraw
26 changes: 26 additions & 0 deletions .github/workflows/test-coverage-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Test Coverage PR
on:
pull_request:

jobs:
coverage:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write

steps:
- uses: actions/checkout@v2
- name: "Install Node"
uses: actions/setup-node@v2
with:
node-version: "18.x"
- name: "Install Deps"
run: yarn install
- name: "Test Coverage"
run: yarn test:coverage
- name: "Report Coverage"
if: always() # Also generate the report if tests are failing
uses: davelosert/vitest-coverage-report-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.js 14.x
- name: Setup Node.js 18.x
uses: actions/setup-node@v2
with:
node-version: 14.x
node-version: 18.x
- name: Install and test
run: |
yarn --frozen-lockfile
yarn install
yarn test:app
9 changes: 5 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ npm-debug.log*
package-lock.json
yarn-debug.log*
yarn-error.log*
src/packages/excalidraw/types
src/packages/excalidraw/example/public/bundle.js
src/packages/excalidraw/example/public/excalidraw-assets-dev
src/packages/excalidraw/example/public/excalidraw.development.js
packages/excalidraw/types
coverage
dev-dist
html
examples/**/bundle.*
meta*.json
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14
18
3 changes: 0 additions & 3 deletions CHANGELOG.md

This file was deleted.

2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:14-alpine AS build
FROM node:18 AS build

WORKDIR /opt/node_app

Expand Down
Loading
Loading