{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":614726731,"defaultBranch":"main","name":"nerdfix","ownerLogin":"loichyan","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2023-03-16T07:35:05.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/73006950?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1720955268.0","currentOid":""},"activityList":{"items":[{"before":"e47ee82bde949a70bb5915a26f5c397a2c3e543f","after":"a5bd0096ae857f2042f1aa8c622cc0408bf81b2b","ref":"refs/heads/main","pushedAt":"2024-07-14T11:10:23.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"loichyan","name":"Loi Chyan","path":"/loichyan","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/73006950?s=80&v=4"},"commit":{"message":"docs(readme): update broken badge links","shortMessageHtmlLink":"docs(readme): update broken badge links"}},{"before":"63283c69ea42f0885f74d4750ae7264c452f6fb7","after":null,"ref":"refs/heads/release/v0.4.1","pushedAt":"2024-07-14T11:06:01.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"loichyan","name":"Loi Chyan","path":"/loichyan","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/73006950?s=80&v=4"}},{"before":"1e9b628805272ced21cbe12991f092d86c672a6c","after":"e47ee82bde949a70bb5915a26f5c397a2c3e543f","ref":"refs/heads/main","pushedAt":"2024-07-14T11:05:50.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"loichyan","name":"Loi Chyan","path":"/loichyan","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/73006950?s=80&v=4"},"commit":{"message":"chore(release): v0.4.1 (#25)\n\n### โœจ Overview\r\n\r\nThis release mainly addresses the high memory usage issue reported in #18: fixed a potential memory leak (#21) and implemented stream processing (#22).\r\n\r\nAlso, some UI changes were introduced in #21, as we switched the diagnostic reporter from [codespan_reporting](https://docs.rs/codespan-reporting/latest/codespan_reporting) to [miette](https://docs.rs/miette/latest/miette).\r\n\r\n### ๐Ÿš€ Features\r\n\r\n- **(runtime)** Set exact file size limit\r\n- **(runtime)** Add file limitation\r\n- **(runtime)** Filter out binary files\r\n\r\n### ๐Ÿ› Bug Fixes\r\n\r\n- **(cli)** Report the source path of diagnostics (#23)\r\n- **(cli)** Subtract with overflow\r\n\r\n### ๐Ÿšœ Refactor\r\n\r\n- **(runtime)** Implement stream processing\r\n- **(runtime)** Zero-copy diagnostics reporting\r\n- Replace `codespan-reporting` with `miette`\r\n- **(util)** Rename `tryb!` to `try!`\r\n\r\n### ๐Ÿ“š Documentation\r\n\r\n- **(readme)** Update badge URLs\r\n\r\n### ๐ŸŽจ Styling\r\n\r\n- Format with prettier\r\n- Make nightly rustfmt compatible with the stable rustfmt\r\n- Format with nightly rustfmt\r\n\r\n### โš™๏ธ Miscellaneous Tasks\r\n\r\n- Generate UTC release date\r\n- Report Cargo check results\r\n- Rewrite\r\n- Fix typos\r\n- Fix typos\r\n- Update author name\r\n- Add checks (#17)\r\n\r\n### ๐Ÿ› ๏ธ Build\r\n\r\n- **(nix)** Update flakes\r\n- **(cargo)** Update dependencies","shortMessageHtmlLink":"chore(release): v0.4.1 (#25)"}},{"before":"87c833aa0ab467fd8c50963e95b1f4f1aa77c70d","after":null,"ref":"refs/heads/release/v0.5.0","pushedAt":"2024-07-14T10:50:08.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"loichyan","name":"Loi Chyan","path":"/loichyan","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/73006950?s=80&v=4"}},{"before":"ec5b64e51b58687db41921b8bb6df1c32cca85f4","after":"63283c69ea42f0885f74d4750ae7264c452f6fb7","ref":"refs/heads/release/v0.4.1","pushedAt":"2024-07-14T10:50:03.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"loichyan","name":"Loi Chyan","path":"/loichyan","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/73006950?s=80&v=4"},"commit":{"message":"chore(release): v0.4.1","shortMessageHtmlLink":"chore(release): v0.4.1"}},{"before":"04d0c123d5ba7cbb6cccdab1f2b0aa86d790b90b","after":"1e9b628805272ced21cbe12991f092d86c672a6c","ref":"refs/heads/main","pushedAt":"2024-07-14T10:50:01.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"loichyan","name":"Loi Chyan","path":"/loichyan","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/73006950?s=80&v=4"},"commit":{"message":"ci: generate UTC release date","shortMessageHtmlLink":"ci: generate UTC release date"}},{"before":null,"after":"ec5b64e51b58687db41921b8bb6df1c32cca85f4","ref":"refs/heads/release/v0.4.1","pushedAt":"2024-07-14T10:48:37.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"loichyan","name":"Loi Chyan","path":"/loichyan","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/73006950?s=80&v=4"},"commit":{"message":"chore(release): v0.4.1","shortMessageHtmlLink":"chore(release): v0.4.1"}},{"before":"c7f33344c5a1649ef1932ac47613bbd6605d2026","after":null,"ref":"refs/heads/ci/rewrite","pushedAt":"2024-07-14T10:09:53.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"loichyan","name":"Loi Chyan","path":"/loichyan","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/73006950?s=80&v=4"}},{"before":"958c86a96ec01572ab72b5272e4d5092de47c2fb","after":"04d0c123d5ba7cbb6cccdab1f2b0aa86d790b90b","ref":"refs/heads/main","pushedAt":"2024-07-14T10:09:49.000Z","pushType":"pr_merge","commitsCount":3,"pusher":{"login":"loichyan","name":"Loi Chyan","path":"/loichyan","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/73006950?s=80&v=4"},"commit":{"message":"Merge pull request #24\n\nThe GitHub workflow has been completely rewritten, the detailed changes are as follows:\r\n\r\n1. Deprecates our own Cargo cache implementation in favor of [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache).\r\n2. Adds formatting, Clippy, RustSec Advisory, MSRV, and nightly toolchain checks.\r\n3. Reports check results as GitHub annotations.\r\n4. Adds more release targets, now including:\r\n - `aarch64-apple-darwin`\r\n - `aarch64-pc-windows-msvc`\r\n - `aarch64-unknown-linux-musl`\r\n - `x86_64-apple-darwin`\r\n - `x86_64-pc-windows-msvc`\r\n - `x86_64-unknown-freebsd`\r\n - `x86_64-unknown-linux-musl`\r\n5. Automates the release workflow:\r\n 1. Create a release branch, e.g. `release/v1.0.0`.\r\n 2. Bump versions and update changelogs.\r\n 3. Open a PR `release/v1.0.0 -> main` with the changelog as the body.\r\n 4. Wait for the builds to finish.\r\n 5. The GitHub action creates a draft GitHub release with `v1.0.0` as the tag and the PR body as the notes and uploads all artifacts.\r\n 6. Merge the PR.\r\n 7. (Optional) Create a signed tag `v1.0.0`, or let GitHub do it automatically.\r\n 8. Publish the GitHub release.","shortMessageHtmlLink":"Merge pull request #24"}},{"before":"20e27e68fbe532505a1dcc01e5a613c4403f2ab6","after":"c7f33344c5a1649ef1932ac47613bbd6605d2026","ref":"refs/heads/ci/rewrite","pushedAt":"2024-07-14T10:03:33.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"loichyan","name":"Loi Chyan","path":"/loichyan","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/73006950?s=80&v=4"},"commit":{"message":"ci: report Cargo check results","shortMessageHtmlLink":"ci: report Cargo check results"}},{"before":null,"after":"20e27e68fbe532505a1dcc01e5a613c4403f2ab6","ref":"refs/heads/ci/rewrite","pushedAt":"2024-07-14T08:04:42.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"loichyan","name":"Loi Chyan","path":"/loichyan","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/73006950?s=80&v=4"},"commit":{"message":"ci: report Cargo check results","shortMessageHtmlLink":"ci: report Cargo check results"}},{"before":"3c2f3501d4fbe18c5de58c84af84b7e2ca018648","after":"958c86a96ec01572ab72b5272e4d5092de47c2fb","ref":"refs/heads/main","pushedAt":"2024-07-14T08:04:37.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"loichyan","name":"Loi Chyan","path":"/loichyan","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/73006950?s=80&v=4"},"commit":{"message":"chore: fix typos","shortMessageHtmlLink":"chore: fix typos"}},{"before":null,"after":"87c833aa0ab467fd8c50963e95b1f4f1aa77c70d","ref":"refs/heads/release/v0.5.0","pushedAt":"2024-07-13T10:48:48.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"loichyan","name":"Loi Chyan","path":"/loichyan","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/73006950?s=80&v=4"},"commit":{"message":"ci: rewrite","shortMessageHtmlLink":"ci: rewrite"}},{"before":"43c58c45d488f11de7ac15a272096804bfe17048","after":null,"ref":"refs/heads/fix/source-code-path","pushedAt":"2024-07-13T00:18:35.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"loichyan","name":"Loi Chyan","path":"/loichyan","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/73006950?s=80&v=4"}},{"before":"4b888e861fbdf24e01a5d12e295a1d43457a2a7b","after":"3c2f3501d4fbe18c5de58c84af84b7e2ca018648","ref":"refs/heads/main","pushedAt":"2024-07-13T00:18:32.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"loichyan","name":"Loi Chyan","path":"/loichyan","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/73006950?s=80&v=4"},"commit":{"message":"fix(cli): report the source path of diagnostics (#23)\n\nSource paths have disappeared since #21, this PR adds them back.","shortMessageHtmlLink":"fix(cli): report the source path of diagnostics (#23)"}},{"before":null,"after":"43c58c45d488f11de7ac15a272096804bfe17048","ref":"refs/heads/fix/source-code-path","pushedAt":"2024-07-12T14:43:27.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"loichyan","name":"Loi Chyan","path":"/loichyan","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/73006950?s=80&v=4"},"commit":{"message":"fix(cli): report the source path of diagnostics","shortMessageHtmlLink":"fix(cli): report the source path of diagnostics"}},{"before":"d1f29e4bdd40b784090486fc7bf798ecd42997fb","after":null,"ref":"refs/heads/refactor/error-reporting","pushedAt":"2024-07-12T14:24:51.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"loichyan","name":"Loi Chyan","path":"/loichyan","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/73006950?s=80&v=4"}},{"before":"b0a6e53deb5297907a34b6cb55b9e9679066d47d","after":null,"ref":"refs/heads/refactor/stream-processing","pushedAt":"2024-07-12T14:24:34.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"loichyan","name":"Loi Chyan","path":"/loichyan","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/73006950?s=80&v=4"}},{"before":"aa29181aa41c094e60e519b7c61b95adf331f866","after":"4b888e861fbdf24e01a5d12e295a1d43457a2a7b","ref":"refs/heads/main","pushedAt":"2024-07-12T13:46:38.000Z","pushType":"pr_merge","commitsCount":4,"pusher":{"login":"loichyan","name":"Loi Chyan","path":"/loichyan","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/73006950?s=80&v=4"},"commit":{"message":"Merge pull request #22\n\nImplements the stream processing discussed in #18, which should greatly reduce memory usage during checking. Note that it currently does not limit the maximum line size ([code](https://github.com/loichyan/nerdfix/blob/db421eb/src/input.rs#L79)), and may cause a lot of allocation when reading super large lines (though I believe this should be an extremely rare case).\r\n\r\nIt also adds a file size limit (16MB by default) which can be manually specified by `--size-limit=1GB ...`.\r\n\r\nCloses #18","shortMessageHtmlLink":"Merge pull request #22"}},{"before":"db421ebfa941d7ea4e2ce386fef4d576922bbf4a","after":"b0a6e53deb5297907a34b6cb55b9e9679066d47d","ref":"refs/heads/refactor/stream-processing","pushedAt":"2024-07-12T12:02:38.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"loichyan","name":"Loi Chyan","path":"/loichyan","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/73006950?s=80&v=4"},"commit":{"message":"feat(runtime): set exact file size limit","shortMessageHtmlLink":"feat(runtime): set exact file size limit"}},{"before":"57720270c38a4fe72b1855d088b160dda583d5c9","after":"db421ebfa941d7ea4e2ce386fef4d576922bbf4a","ref":"refs/heads/refactor/stream-processing","pushedAt":"2024-07-12T11:44:37.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"loichyan","name":"Loi Chyan","path":"/loichyan","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/73006950?s=80&v=4"},"commit":{"message":"feat(runtime): add file limitation","shortMessageHtmlLink":"feat(runtime): add file limitation"}},{"before":"159e4c5d5534ebf6056a840fa65f049d508f5b7f","after":"57720270c38a4fe72b1855d088b160dda583d5c9","ref":"refs/heads/refactor/stream-processing","pushedAt":"2024-07-12T11:27:58.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"loichyan","name":"Loi Chyan","path":"/loichyan","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/73006950?s=80&v=4"},"commit":{"message":"feat(runtime): add file limitation","shortMessageHtmlLink":"feat(runtime): add file limitation"}},{"before":"4e007e9c7c65568738f831f15f79baf6ebe7d7b9","after":"aa29181aa41c094e60e519b7c61b95adf331f866","ref":"refs/heads/main","pushedAt":"2024-07-12T11:23:08.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"loichyan","name":"Loi Chyan","path":"/loichyan","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/73006950?s=80&v=4"},"commit":{"message":"fix(cli): subtract with overflow","shortMessageHtmlLink":"fix(cli): subtract with overflow"}},{"before":null,"after":"159e4c5d5534ebf6056a840fa65f049d508f5b7f","ref":"refs/heads/refactor/stream-processing","pushedAt":"2024-07-12T11:06:20.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"loichyan","name":"Loi Chyan","path":"/loichyan","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/73006950?s=80&v=4"},"commit":{"message":"feat(runtime): add file limitation","shortMessageHtmlLink":"feat(runtime): add file limitation"}},{"before":"e90e787a40f853916f479062676e293f197d647a","after":"4e007e9c7c65568738f831f15f79baf6ebe7d7b9","ref":"refs/heads/main","pushedAt":"2024-07-11T04:46:21.000Z","pushType":"pr_merge","commitsCount":5,"pusher":{"login":"loichyan","name":"Loi Chyan","path":"/loichyan","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/73006950?s=80&v=4"},"commit":{"message":"Merge pull request #21\n\nUse [miette](https://docs.rs/miette/latest/miette) to report diagnostics, as [codespan_reporting](https://docs.rs/codespan-reporting/latest/codespan_reporting/index.html) has not been actively maintained for a while. This should also fix #18: Currently, all checked files are persisted in the memory (check [here](https://github.com/loichyan/nerdfix/blob/e90e787a40f853916f479062676e293f197d647a/src/runtime.rs#L125)), leading to memory leaks.\r\n\r\nThis PR also introduces binary files filtering, which significantly reduces \"Invalid UTF-8\" errors.","shortMessageHtmlLink":"Merge pull request #21"}},{"before":null,"after":"d1f29e4bdd40b784090486fc7bf798ecd42997fb","ref":"refs/heads/refactor/error-reporting","pushedAt":"2024-07-11T03:56:54.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"loichyan","name":"Loi Chyan","path":"/loichyan","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/73006950?s=80&v=4"},"commit":{"message":"feat(runtime): filter out binary files","shortMessageHtmlLink":"feat(runtime): filter out binary files"}},{"before":"d3cb44a12db334662e25141985d920e3843e6f13","after":null,"ref":"refs/heads/chore/format-and-typo","pushedAt":"2024-07-11T03:48:21.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"loichyan","name":"Loi Chyan","path":"/loichyan","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/73006950?s=80&v=4"}},{"before":"7ebce4c7e6d5089b252941d29b470093037f70b5","after":"e90e787a40f853916f479062676e293f197d647a","ref":"refs/heads/main","pushedAt":"2024-07-11T03:48:16.000Z","pushType":"pr_merge","commitsCount":4,"pusher":{"login":"loichyan","name":"Loi Chyan","path":"/loichyan","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/73006950?s=80&v=4"},"commit":{"message":"style: make nightly rustfmt compatible with the stable rustfmt","shortMessageHtmlLink":"style: make nightly rustfmt compatible with the stable rustfmt"}},{"before":"482ad0a68ce4c2ac6f35b9989751fc16c56843af","after":"d3cb44a12db334662e25141985d920e3843e6f13","ref":"refs/heads/chore/format-and-typo","pushedAt":"2024-07-11T03:25:36.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"loichyan","name":"Loi Chyan","path":"/loichyan","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/73006950?s=80&v=4"},"commit":{"message":"style: make nightly rustfmt compatible with the stable rustfmt","shortMessageHtmlLink":"style: make nightly rustfmt compatible with the stable rustfmt"}},{"before":null,"after":"482ad0a68ce4c2ac6f35b9989751fc16c56843af","ref":"refs/heads/chore/format-and-typo","pushedAt":"2024-07-11T03:18:25.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"loichyan","name":"Loi Chyan","path":"/loichyan","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/73006950?s=80&v=4"},"commit":{"message":"chore: fix typos","shortMessageHtmlLink":"chore: fix typos"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"Y3Vyc29yOnYyOpK7MjAyNC0wNy0xNFQxMToxMDoyMy4wMDAwMDBazwAAAAR-8kGQ","startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wNy0xNFQxMToxMDoyMy4wMDAwMDBazwAAAAR-8kGQ","endCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wNy0xMVQwMzoxODoyNS4wMDAwMDBazwAAAAR8X-Oo"}},"title":"Activity ยท loichyan/nerdfix"}