mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
At 2.1 MB, GitHub showed "Sorry about that, but we can't show files that are this big right now" for CHANGELOG.md. GitHub renders Markdown up to 500 KiB, shows only plain text above that, and nothing above about 2 MB; the July to September archives, 683 KB to 2 MB, were shown as text only. releases/changelog-archive.mjs now cuts by size instead of by month: CHANGELOG.md keeps Status, Upcoming and the newest releases that fit in 450,000 bytes (345 KB now, two releases), and the rest move to old-CHANGELOG/<year>/<MM>.md, a month over the same budget continuing in <MM>-part2.md and on, whose parts link each other. Every archive part now renders, except v12.13, one release of 537 KB in a part of its own. No release section is changed: all 1,225 are where they were, byte for byte. release-all.sh runs the archive after renaming Upcoming, keeping the newest release, which release-notes.sh reads. tests/changelogArchive.test.cjs fails when CHANGELOG.md or a part is over the budget. CLAUDE.md and AGENTS.md describe the size rule instead of the current month. Thanks to xet7 !