Skip to content

Conversation

@Mrazator
Copy link
Member

@Mrazator Mrazator commented Feb 11, 2025

Closes #8771

Docs

Refactors

  • cleanup after UMD / webkpack bundle
  • finalize the new ESM bundle structure
  • update examples to use ESM bundle
    • use with-script-in-browser example as our main standalone codesandbox example
    • get rid of stale codesandboxes
    • showcase ESM example without a bundler (fiddle + import maps + esm.sh)
  • make @excalidraw scoped packages work with build artifacts in dist/ (~import aliases in tsc, esbuild, vite and vitest)
  • remove css module variables
  • make ts types work with through exports field (without going into dist/)
  • add esbuild / ts config for @excalidraw/math
  • rename storeAction into captureDelta

@vercel
Copy link

vercel bot commented Feb 11, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
excalidraw ✅ Ready (Inspect) Visit Preview Feb 28, 2025 3:11pm
excalidraw-package-example ✅ Ready (Inspect) Visit Preview Feb 28, 2025 3:11pm
excalidraw-package-example-with-nextjs ✅ Ready (Inspect) Visit Preview Feb 28, 2025 3:11pm
1 Skipped Deployment
Name Status Preview Updated (UTC)
docs ⬜️ Ignored (Inspect) Visit Preview Feb 28, 2025 3:11pm

@Mrazator Mrazator force-pushed the mrazator/release-v18 branch from d3bfa47 to c2dd9bd Compare February 11, 2025 22:54
@github-actions
Copy link

github-actions bot commented Feb 11, 2025

Coverage Report

Status Category Percentage Covered / Total
🟢 Lines 66.95% (🎯 60%) 68905 / 102918
🟢 Statements 66.95% (🎯 60%) 68905 / 102918
🟢 Functions 63.72% (🎯 63%) 1964 / 3082
🟢 Branches 79.76% (🎯 70%) 8341 / 10457
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/excalidraw/components/App.tsx 70.11% 76.52% 71.5% 70.11% 511-512, 624-633, 733-734, 752-753, 774-834, 837-843, 856-859, 862-938, 941-960, 963-968, 976-986, 988-989, 994-995, 999-1001, 1015, 1022-1287, 1346-1350, 1354-1358, 1379-1380, 1397-1442, 1468, 1478, 1485-1488, 1497-1501, 1531-1537, 1551, 1622-1632, 1637-1652, 1656-1703, 1799-1804, 1833-1838, 1841-1871, 1879-1904, 1917-2008, 2011-2019, 2022-2081, 2084-2125, 2128-2133, 2168-2169, 2192-2193, 2225-2226, 2230-2231, 2251-2259, 2264-2277, 2283-2284, 2288, 2293-2301, 2303-2311, 2323, 2358-2359, 2372-2373, 2395-2396, 2403, 2424-2426, 2486-2488, 2491-2496, 2501-2502, 2542-2550, 2555-2564, 2608-2610, 2713-2714, 2718, 2721-2722, 2730-2733, 2742-2755, 2761-2764, 2767, 2769-2770, 2777-2778, 2784-2785, 2788-2789, 2800, 2802-2806, 2809-2810, 2813-2814, 2825-2833, 2838-2839, 2890-2891, 2905-2911, 2917-2925, 2929-2937, 2941-2942, 2945-2978, 2981-2993, 3004-3005, 3016-3017, 3034-3038, 3042-3045, 3052-3054, 3072-3079, 3082, 3084-3089, 3093-3095, 3141-3142, 3149-3151, 3153-3176, 3202, 3208, 3236-3238, 3277-3280, 3283-3284, 3301-3303, 3325-3326, 3332-3336, 3342-3423, 3477, 3481, 3516-3517, 3576, 3586-3604, 3607-3613, 3616-3617, 3623-3639, 3679-3704, 3787-3788, 3811-3825, 3833-3839, 3853-3854, 3860-3873, 3930-3931, 4003-4013, 4049, 4198-4199, 4201-4208, 4242-4246, 4248-4249, 4251-4254, 4275-4276, 4283-4284, 4306-4316, 4326-4328, 4330, 4418-4421, 4443-4451, 4455-4457, 4467-4468, 4470-4490, 4497-4520, 4523-4529, 4546-4549, 4564-4571, 4668-4672, 4676, 4684-4685, 4690-4694, 4727-4728, 4731-4732, 4744-4748, 4753-4754, 4760-4770, 4775-4802, 4807-4818, 4918-4919, 5003, 5028, 5054-5056, 5127-5128, 5146-5147, 5338-5339, 5342-5343, 5356-5357, 5404, 5465-5469, 5522-5529, 5531-5532, 5537-5603, 5647, 5704, 5731, 5738-5739, 5752-5755, 5786-5789, 5842-5845, 5848-5852, 5854-5861, 5878-5887, 5890-5891, 6009-6010, 6013, 6015-6020, 6026-6028, 6030, 6039, 6041, 6063-6068, 6070-6073, 6077-6078, 6087-6103, 6105, 6107-6110, 6114-6210, 6214-6215, 6230-6231, 6270-6277, 6304-6305, 6324-6325, 6353, 6355-6385, 6392-6393, 6415-6416, 6435, 6437-6480, 6485-6486, 6488-6489, 6505-6506, 6512-6513, 6517-6520, 6523-6524, 6538-6564, 6572-6573, 6577-6580, 6582-6586, 6604-6608, 6655-6660, 6662-6664, 6680, 6682-6695, 6720-6723, 6778, 6795-6796, 6798-6821, 6836-6837, 6951-6979, 7035-7036, 7099-7100, 7116-7117, 7136-7137, 7231, 7237-7238, 7261-7280, 7289-7298, 7312, 7461-7499, 7503-7553, 7568, 7577, 7611-7617, 7644-7646, 7818-7821, 7843-7873, 7886, 7888-7896, 7910, 7912-7920, 7927-7930, 7938-7943, 7952-7953, 7971-7988, 8035-8036, 8039-8041, 8044-8045, 8068-8069, 8075-8076, 8103-8104, 8187-8188, 8239-8252, 8256-8342, 8421-8424, 8450-8451, 8460-8462, 8518, 8541-8547, 8558-8569, 8597-8603, 8636, 8678, 8684, 8699-8706, 8709-8716, 8776, 8789, 8878-8879, 8900-8902, 8905, 8919-8943, 9052-9066, 9089-9113, 9122-9161, 9174-9175, 9185-9192, 9210-9217, 9271-9276, 9285-9309, 9311-9312, 9386-9387, 9394, 9396-9432, 9461, 9522, 9562-9564, 9589-9594, 9596-9597, 9602-9604, 9607-9627, 9641-9642, 9648-9657, 9662, 9666-9670, 9679-9683, 9686-9691, 9695-9702, 9731, 9733-9737, 9739-9749, 9765-9767, 9778-9786, 9790-9834, 9837-9908, 9916, 9934-9941, 9943-9965, 9980-10002, 10021-10023, 10075-10076, 10190-10194, 10196-10212, 10214-10218, 10230-10231, 10241-10257, 10276-10295, 10297-10298, 10325-10326, 10330-10331, 10341, 10343-10346, 10348-10349, 10389, 10430-10431, 10441, 10483, 10501-10509, 10520-10525, 10535-10536, 10538-10609, 10632-10633, 10665-10668, 10763-10770, 10796-10797, 10847-10918, 10966-10967, 10976-10979, 10984-10985, 11006-11008, 11010-11014, 11052
scripts/buildPackage.js 0% 0% 0% 0% 1-95
scripts/prerelease.js 0% 0% 0% 0% 1-37
Generated in workflow #4315 for commit 3d69ef9 by the Vitest Coverage Report Action

@Mrazator Mrazator marked this pull request as draft February 11, 2025 22:59
This was referenced Feb 12, 2025
@Mrazator Mrazator force-pushed the mrazator/release-v18 branch from cbeba24 to 3ab7aba Compare February 17, 2025 21:39
@Mrazator Mrazator force-pushed the mrazator/release-v18 branch from 4ed7974 to 242e070 Compare February 21, 2025 12:33
Copy link
Member

@dwelle dwelle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥 🎉

(releasing to npm ~monday)

@Mrazator Mrazator merged commit ecef5d1 into master Feb 28, 2025
10 checks passed
@Mrazator Mrazator deleted the mrazator/release-v18 branch February 28, 2025 15:49
@dwelle dwelle mentioned this pull request Mar 2, 2025
@hpvd
Copy link

hpvd commented Mar 6, 2025

@dwelle we are so excited 😊
Do you have any hint when v18 will be available as release in this repo
https://github.com/excalidraw/excalidraw/releases
and in npm
https://www.npmjs.com/package/@excalidraw/excalidraw
?

Btw many thanks for your stunning work!!

@Mrazator
Copy link
Member Author

@hpvd should be available in few weeks, we are fixing the last bits

if you are curious, try the @next tag and let us know if you encounter some issues!

@hpvd
Copy link

hpvd commented Mar 10, 2025

awesome! Looking forward to it..

@hpvd
Copy link

hpvd commented Mar 11, 2025

oh -few weeks condensed to one day
https://github.com/excalidraw/excalidraw/releases/tag/v0.18.0

:-)

@ad1992
Copy link
Member

ad1992 commented Mar 11, 2025

@Mrazator, I haven't checked the PR but just a heads-up - incase you are still using the script for creating changelog - it expects the commit to be docs: instead of chore: so you might have to update the script for future compatibility

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Release v18 🚀

5 participants