{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":392161911,"defaultBranch":"main","name":"miette","ownerLogin":"zkat","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2021-08-03T02:30:49.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/17535?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1709842910.0","currentOid":""},"activityList":{"items":[{"before":"edfdcb525ee30fc54747460ada621f13f0ed1996","after":"bdd1d74614a40b9f86445c756720df0d0edfa5b4","ref":"refs/heads/main","pushedAt":"2024-06-26T16:36:46.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"zkat","name":"Kat Marchán","path":"/zkat","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17535?s=80&v=4"},"commit":{"message":" fix(report): conversion into `Box` (#370)\n\nFixes: https://github.com/zkat/miette/issues/369\r\n\r\nDiagnostic impls are no longer reset to default when converting a\r\n`Report` into a `Box`. Also prevented `Report` vtables\r\nand handlers from being kept around on the heap after conversion.","shortMessageHtmlLink":" fix(report): conversion into Box<dyn Diagnostic> (#370)"}},{"before":"9bbcf3c6017fa3455a7db714879816c1cfc511fd","after":"edfdcb525ee30fc54747460ada621f13f0ed1996","ref":"refs/heads/main","pushedAt":"2024-06-26T16:34:30.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"zkat","name":"Kat Marchán","path":"/zkat","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17535?s=80&v=4"},"commit":{"message":"fix(handlers): Disable textwrap::smawk feature (#379)","shortMessageHtmlLink":"fix(handlers): Disable textwrap::smawk feature (#379)"}},{"before":"73da45b65c965777a00ba64aa03a247c0e5241ca","after":"9bbcf3c6017fa3455a7db714879816c1cfc511fd","ref":"refs/heads/main","pushedAt":"2024-06-26T16:33:42.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"zkat","name":"Kat Marchán","path":"/zkat","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17535?s=80&v=4"},"commit":{"message":"fix(perf): mark error constructors cold (#378)\n\n* refactor: mark error constructors cold\r\n\r\n* refactor: remove `Send + Sync` impl","shortMessageHtmlLink":"fix(perf): mark error constructors cold (#378)"}},{"before":"b8dfcda4a8c10a14116ee275250356ac991dc7be","after":"73da45b65c965777a00ba64aa03a247c0e5241ca","ref":"refs/heads/main","pushedAt":"2024-06-26T16:31:50.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"zkat","name":"Kat Marchán","path":"/zkat","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17535?s=80&v=4"},"commit":{"message":"feat(SourceSpan): add impl From (#385)\n\nThis can be used to avoid awkward `start..(end + 1)` constructions,\r\nwhich will trigger the `clippy::range_plus_one` lint.\r\n\r\nI added a single impl for `InclusiveRange` rather than a blanket\r\n`impl From for SourceSpan` for two reasons. The first\r\nis that the blanket impl would be a breaking change (because dependent\r\ncrates may currently define a type `T: RangeBounds` and also have `impl\r\nFrom for SourceSpan`). The second is that this would allow one-sided\r\nranges (`..x`, `x..`). In order to support bounded-below ranges, we\r\nwould need to change `SourceSpan` so that `length` may depend on the the\r\nspecific `SourceCode` instance. That seems like an unlikely use case.","shortMessageHtmlLink":"feat(SourceSpan): add impl From<InclusiveRange> (#385)"}},{"before":"e1026f75e0a5d19bbc8e468cb3f5292074543a97","after":"b8dfcda4a8c10a14116ee275250356ac991dc7be","ref":"refs/heads/main","pushedAt":"2024-06-26T16:31:31.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"zkat","name":"Kat Marchán","path":"/zkat","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17535?s=80&v=4"},"commit":{"message":"perf(handlers): optimize string-buffer reallocations (#387)\n\nThis improves `get_lines()` logic by using a string-buffer with a capacity hint.\r\nThat avoids growing the buffer from zero each time, saving a bunch of reallocations.","shortMessageHtmlLink":"perf(handlers): optimize string-buffer reallocations (#387)"}},{"before":"813232ba7957ae09e4fb9d9416d821f4fd9da66d","after":"e1026f75e0a5d19bbc8e468cb3f5292074543a97","ref":"refs/heads/main","pushedAt":"2024-06-26T16:31:12.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"zkat","name":"Kat Marchán","path":"/zkat","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17535?s=80&v=4"},"commit":{"message":"fix(clippy): fix Rust v1.78.0 clippy warnings (#382)","shortMessageHtmlLink":"fix(clippy): fix Rust v1.78.0 clippy warnings (#382)"}},{"before":"b82cc81b8ea32a1cf1b4598ed5832bc8e3b0e161","after":"813232ba7957ae09e4fb9d9416d821f4fd9da66d","ref":"refs/heads/main","pushedAt":"2024-06-11T16:18:24.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"zkat","name":"Kat Marchán","path":"/zkat","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17535?s=80&v=4"},"commit":{"message":"fix(color): setting NO_COLOR should not print ansi codes for non-terminals (#381)\n\nFixes: https://github.com/zkat/miette/issues/380","shortMessageHtmlLink":"fix(color): setting NO_COLOR should not print ansi codes for non-term…"}},{"before":"ea4296dacec3b0e4762281d9d115c1bd69ecfac3","after":"b82cc81b8ea32a1cf1b4598ed5832bc8e3b0e161","ref":"refs/heads/main","pushedAt":"2024-05-01T22:20:01.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"zkat","name":"Kat Marchán","path":"/zkat","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17535?s=80&v=4"},"commit":{"message":"fix(docs): `alt` attribut for `single-line-example.png` (#372)\n\n* fix(docs): `alt` attribut for `single-line-example.png`\r\n\r\nThe white line breaks in the `alt` attribute prevented the `single-line-example.png` image from being displayed.\r\n\r\n* Revert \"fix(docs): `alt` attribut for `single-line-example.png`\"\r\n\r\nThis reverts commit 2e97d568aa9a21395df6a8d8880676ec4e55260a.\r\n\r\n* fix: image link in `lib.rs` instead of `readme.md`\r\n\r\n* feat(docs): cargo make readme","shortMessageHtmlLink":"fix(docs): alt attribut for single-line-example.png (#372)"}},{"before":"97766e8d90563f8e950de6f6e639815df3375740","after":"ea4296dacec3b0e4762281d9d115c1bd69ecfac3","ref":"refs/heads/main","pushedAt":"2024-04-13T06:11:30.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"zkat","name":"Kat Marchán","path":"/zkat","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17535?s=80&v=4"},"commit":{"message":"fix(clippy): Fix clippy lints in docs (#365)\n\n* Fix commented out code in lib.rs docs not found in README.md\r\n\r\n* Fix clippy lints in README.md and lib.rs","shortMessageHtmlLink":"fix(clippy): Fix clippy lints in docs (#365)"}},{"before":"7b42b12c5f6316322ce79c59bcb9e99f5d49edb8","after":"97766e8d90563f8e950de6f6e639815df3375740","ref":"refs/heads/main","pushedAt":"2024-04-03T21:58:36.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"zkat","name":"Kat Marchán","path":"/zkat","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17535?s=80&v=4"},"commit":{"message":"docs: fix up previous docs change a bit (#362)","shortMessageHtmlLink":"docs: fix up previous docs change a bit (#362)"}},{"before":"3eabbcebf113d1d620a6a3f98e8a455414ed3042","after":"7b42b12c5f6316322ce79c59bcb9e99f5d49edb8","ref":"refs/heads/main","pushedAt":"2024-04-03T20:31:03.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"zkat","name":"Kat Marchán","path":"/zkat","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17535?s=80&v=4"},"commit":{"message":"fix(docs): updated example image (fixes #111) (#270)","shortMessageHtmlLink":"fix(docs): updated example image (fixes #111) (#270)"}},{"before":"ca646f3119790900c737ee8620d12ca8867c3bb4","after":"3eabbcebf113d1d620a6a3f98e8a455414ed3042","ref":"refs/heads/main","pushedAt":"2024-03-27T23:20:06.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"zkat","name":"Kat Marchán","path":"/zkat","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17535?s=80&v=4"},"commit":{"message":"fix(graphical): fix nested error wrapping (#358)\n\nFixes: https://github.com/zkat/miette/issues/333","shortMessageHtmlLink":"fix(graphical): fix nested error wrapping (#358)"}},{"before":"24a7bf4f4e9305b7a0d55d68d9abc57e49bee4fc","after":"ca646f3119790900c737ee8620d12ca8867c3bb4","ref":"refs/heads/main","pushedAt":"2024-03-07T20:21:50.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"zkat","name":"Kat Marchán","path":"/zkat","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17535?s=80&v=4"},"commit":{"message":"chore: Release","shortMessageHtmlLink":"chore: Release"}},{"before":"22b29eec387d9f96dcbf165ab1b34011868315a9","after":"24a7bf4f4e9305b7a0d55d68d9abc57e49bee4fc","ref":"refs/heads/main","pushedAt":"2024-03-07T20:20:08.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"zkat","name":"Kat Marchán","path":"/zkat","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17535?s=80&v=4"},"commit":{"message":"ci(doc consistency): check that lib.rs and README.md are consistent (#353)","shortMessageHtmlLink":"ci(doc consistency): check that lib.rs and README.md are consistent (#…"}},{"before":"62cfd221ba0f956825886726166095cec6dbd89c","after":"22b29eec387d9f96dcbf165ab1b34011868315a9","ref":"refs/heads/main","pushedAt":"2024-02-28T05:58:02.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"zkat","name":"Kat Marchán","path":"/zkat","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17535?s=80&v=4"},"commit":{"message":"docs: use `cargo readme` to update (#351)","shortMessageHtmlLink":"docs: use cargo readme to update (#351)"}},{"before":"328bf3792213fc0bed94e72a39acb722b65141dd","after":"62cfd221ba0f956825886726166095cec6dbd89c","ref":"refs/heads/main","pushedAt":"2024-02-23T15:43:22.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"zkat","name":"Kat Marchán","path":"/zkat","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17535?s=80&v=4"},"commit":{"message":"docs: add `severity` example (#350)\n\nCo-authored-by: hzlinyiyu ","shortMessageHtmlLink":"docs: add severity example (#350)"}},{"before":"6ea86a2248854acf88df345814b6c97d31b8b4d9","after":"328bf3792213fc0bed94e72a39acb722b65141dd","ref":"refs/heads/main","pushedAt":"2024-02-23T15:42:40.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"zkat","name":"Kat Marchán","path":"/zkat","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17535?s=80&v=4"},"commit":{"message":"feat(wasm): add feature \"fancy-no-syscall\" for wasm targets (#349)\n\nFixes: https://github.com/zkat/miette/issues/346","shortMessageHtmlLink":"feat(wasm): add feature \"fancy-no-syscall\" for wasm targets (#349)"}},{"before":"7d9dfc6e8e591f9606c3da55bd8465962358b20f","after":"6ea86a2248854acf88df345814b6c97d31b8b4d9","ref":"refs/heads/main","pushedAt":"2024-02-21T22:05:18.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"zkat","name":"Kat Marchán","path":"/zkat","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17535?s=80&v=4"},"commit":{"message":"fix(redundant-import): fix a warning and CI failure in nightly (#348)","shortMessageHtmlLink":"fix(redundant-import): fix a warning and CI failure in nightly (#348)"}},{"before":"75fea0935e495d0215518c80d32dd820910982e3","after":"7d9dfc6e8e591f9606c3da55bd8465962358b20f","ref":"refs/heads/main","pushedAt":"2024-02-21T21:46:58.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"zkat","name":"Kat Marchán","path":"/zkat","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17535?s=80&v=4"},"commit":{"message":"fix(invalid span): skip the snippet when read_span fails (#347)\n\nFixes: https://github.com/zkat/miette/issues/219\r\n\r\nWhen a snippet couldn't be read (typically because the span didn't fit\r\nwithin the source code), it and the rest of the diagnostic were silently\r\ndropped, which was confusing to the developer.\r\nNow, in place of the snippet, print an error message with the name of\r\nthe failed label and the error it triggered, then proceed with the rest\r\nof the diagnostic (footer, related, ...)","shortMessageHtmlLink":"fix(invalid span): skip the snippet when read_span fails (#347)"}},{"before":"a18a6444d92cd1ada40bfd7e39b86f672c8a6924","after":"75fea0935e495d0215518c80d32dd820910982e3","ref":"refs/heads/main","pushedAt":"2024-02-17T21:46:24.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"zkat","name":"Kat Marchán","path":"/zkat","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17535?s=80&v=4"},"commit":{"message":"fix(label-collections): Label collection fixes and cleanup (#343)\n\n* feat(collection): add label(collection) documentation to lib.rs\r\n\r\n* feat(collection): remove repeated formatting of label text\r\n\r\nBecause of a typo, the label text was being formatted multiple times per\r\nlabel in a collection. With the fix, the text is formatted only once per\r\ncollection\r\n\r\n* feat(collection): chain iterators rather than extend vector\r\n\r\nSince we are going to iterate anyway, instead of growing the label vector,\r\nchain the iterators. This should be more efficient.\r\n\r\nIn some cases, this also remove a compilation warning about the label\r\nvector being unnecessarily mutable.\r\n\r\n* feat(collection): remove unnecessary `OptionalWrapper`\r\n\r\n- In a label collection, there is no need for a `None` label. One should\r\n just not add that label\r\n- Code wise it is also incorrect. The wrapper will be for a vector of\r\n spans, not for individual spans. It happens to work anyway, but this was\r\n not the intended use.","shortMessageHtmlLink":"fix(label-collections): Label collection fixes and cleanup (#343)"}},{"before":"03060245d816a53a33209e6b7e1c3c42948e9962","after":"a18a6444d92cd1ada40bfd7e39b86f672c8a6924","ref":"refs/heads/main","pushedAt":"2024-02-16T02:19:00.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"zkat","name":"Kat Marchán","path":"/zkat","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17535?s=80&v=4"},"commit":{"message":"chore: Release","shortMessageHtmlLink":"chore: Release"}},{"before":"6f09250cca14561f07fba899a8e6d3c0df14230e","after":"03060245d816a53a33209e6b7e1c3c42948e9962","ref":"refs/heads/main","pushedAt":"2024-02-16T02:14:04.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"zkat","name":"Kat Marchán","path":"/zkat","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17535?s=80&v=4"},"commit":{"message":"feat(collection): add support for collection of labels (#341)\n\nFixes: https://github.com/zkat/miette/issues/315\r\n\r\nAllow errors to have a number of labels determined at runtime.\r\nAn example of this is when the rust compiler labels all the arms of\r\na `match` expression when one of them has an incompatible type\r\n\r\nTo allow customization of the text for each label in a collection, add\r\nsupport for using LabeledSpan in collections instead of just regular\r\nspans","shortMessageHtmlLink":"feat(collection): add support for collection of labels (#341)"}},{"before":"c2f06f6cca15cbdd083dbff3d46b7729056ac6a4","after":"6f09250cca14561f07fba899a8e6d3c0df14230e","ref":"refs/heads/main","pushedAt":"2024-02-08T22:16:49.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"zkat","name":"Kat Marchán","path":"/zkat","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17535?s=80&v=4"},"commit":{"message":"feat(source): derive common traits for NamedSource, SourceSpan, and SourceOffset (#340)","shortMessageHtmlLink":"feat(source): derive common traits for NamedSource, SourceSpan, and S…"}},{"before":"6e829f8c0ce2fc7bb2fc4041e6a6072f12db1f71","after":"c2f06f6cca15cbdd083dbff3d46b7729056ac6a4","ref":"refs/heads/main","pushedAt":"2024-02-07T18:20:19.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"zkat","name":"Kat Marchán","path":"/zkat","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17535?s=80&v=4"},"commit":{"message":"feat(derive): enable more boxed types to be #[diagnostic_source] (#338)","shortMessageHtmlLink":"feat(derive): enable more boxed types to be #[diagnostic_source] (#338)"}},{"before":"ecb01022f09a290fda90d0657d7df653c3499e09","after":"6e829f8c0ce2fc7bb2fc4041e6a6072f12db1f71","ref":"refs/heads/main","pushedAt":"2024-02-07T18:17:42.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"zkat","name":"Kat Marchán","path":"/zkat","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17535?s=80&v=4"},"commit":{"message":"fix(tests): revert test-breaking changes of e5c7ae4 (#339)\n\nThe commit e5c7ae4 seemed to (potentially erronously?) remove a number of\r\nspaces following the left `|` bar of some graphical report handler tests.\r\nThat change had no effect on the `syntax_highlighter_on_real_file()`\r\ntest, presumably because the trailing whitespace is removed by\r\n`strip_ansi_escapes::strip_str()`, but it did break the\r\n`triple_adjacent_highlight()` and `non_adjacent_hightlight()` tests.\r\nRestoring the spaces removed in e5c7ae4 fixes the failing tests on main.\r\n\r\n* fix(ci): move from minimal-versions to direct-minimal-versions","shortMessageHtmlLink":"fix(tests): revert test-breaking changes of e5c7ae4 (#339)"}},{"before":"c7144ee513bf8f06c5f7d89c45436802994a51fc","after":"ecb01022f09a290fda90d0657d7df653c3499e09","ref":"refs/heads/main","pushedAt":"2024-02-05T01:59:59.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"zkat","name":"Kat Marchán","path":"/zkat","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17535?s=80&v=4"},"commit":{"message":"chore: Release","shortMessageHtmlLink":"chore: Release"}},{"before":"cf2d8c0b2c2b81567a6472185545733f2ca878f8","after":"c7144ee513bf8f06c5f7d89c45436802994a51fc","ref":"refs/heads/main","pushedAt":"2024-02-05T00:54:18.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"zkat","name":"Kat Marchán","path":"/zkat","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17535?s=80&v=4"},"commit":{"message":"feat(fancy): Add option to change the link display text (#335)\n\nThis option allows to globally change the default `(link)` display text with any other text provider by users.","shortMessageHtmlLink":"feat(fancy): Add option to change the link display text (#335)"}},{"before":"ab7c066e7675d8c7ecb956000d278fc31f3bc6a1","after":"cf2d8c0b2c2b81567a6472185545733f2ca878f8","ref":"refs/heads/main","pushedAt":"2024-02-04T04:28:01.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"zkat","name":"Kat Marchán","path":"/zkat","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17535?s=80&v=4"},"commit":{"message":"chore: Release","shortMessageHtmlLink":"chore: Release"}},{"before":"3747fccf8d7751191869337eed75c4a90656b144","after":"ab7c066e7675d8c7ecb956000d278fc31f3bc6a1","ref":"refs/heads/main","pushedAt":"2024-02-04T04:25:26.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zkat","name":"Kat Marchán","path":"/zkat","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17535?s=80&v=4"},"commit":{"message":"fix(highlighter): ugh, missed another spot","shortMessageHtmlLink":"fix(highlighter): ugh, missed another spot"}},{"before":"1fa7f5241fb91d2e5bad9b0e26bcc7cd5f9011f1","after":"3747fccf8d7751191869337eed75c4a90656b144","ref":"refs/heads/main","pushedAt":"2024-02-04T04:22:39.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zkat","name":"Kat Marchán","path":"/zkat","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/17535?s=80&v=4"},"commit":{"message":"test: fix some fancy tests after NamedSource change","shortMessageHtmlLink":"test: fix some fancy tests after NamedSource change"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEb_WxtgA","startCursor":null,"endCursor":null}},"title":"Activity · zkat/miette"}