Skip to content

Prepare defmt-decoder 1.1.0 release#1028

Merged
jonathanpallant merged 7 commits intomainfrom
jp/release-defmt-decoder
Feb 5, 2026
Merged

Prepare defmt-decoder 1.1.0 release#1028
jonathanpallant merged 7 commits intomainfrom
jp/release-defmt-decoder

Conversation

@jonathanpallant
Copy link
Copy Markdown
Contributor

@jonathanpallant jonathanpallant commented Jan 20, 2026

I want to do a defmt-decoder release to get the fix that moves (HOST) to the end of the line instead of the start of the line.

It makes qemu-run output look much better.

I had to bump the MSRV to 1.83 to solve an issue with the time package, and so I will also release qemu-run 0.1.1 and defmt-print 1.1.0.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Jan 20, 2026

Deploying knurling-defmt-book with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9fa1f6c
Status: ✅  Deploy successful!
Preview URL: https://163fa1f1.knurling-defmt-book.pages.dev
Branch Preview URL: https://jp-release-defmt-decoder.knurling-defmt-book.pages.dev

View logs

@jonathanpallant jonathanpallant force-pushed the jp/release-defmt-decoder branch from 2f0fdee to 0a00d04 Compare January 20, 2026 14:20
@mhatzl mhatzl self-requested a review January 20, 2026 14:42
@jonathanpallant
Copy link
Copy Markdown
Contributor Author

Oh. I raised the MSRV of defmt-parser to 1.83, but it's a dependency of the firmware crates, and they have an MSRV of 1.76.

$ cargo tree
defmt v1.0.1 (/Users/jonathan/Documents/knurling-rs/defmt/defmt)
├── bitflags v1.3.2
└── defmt-macros v1.0.1 (proc-macro) (/Users/jonathan/Documents/knurling-rs/defmt/macros)
    ├── defmt-parser v1.0.0 (/Users/jonathan/Documents/knurling-rs/defmt/parser)
    ...

The defmt-parser crate must use the target MSRV not the host MSRV. The defmt-decoder crate is the one that uses time so it can stay on 1.83.

Copy link
Copy Markdown
Contributor

@mhatzl mhatzl left a comment

Choose a reason for hiding this comment

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

small typo and a suggestion that is up to you
otherwise looks good :)

Comment thread CHANGELOG.md Outdated
Comment thread decoder/README.md Outdated
@jonathanpallant jonathanpallant force-pushed the jp/release-defmt-decoder branch from 031bab0 to 662a625 Compare February 3, 2026 10:30
@jonathanpallant
Copy link
Copy Markdown
Contributor Author

Rebased, but we should wait for #1033 or #1036

@jonathanpallant jonathanpallant force-pushed the jp/release-defmt-decoder branch from 9835ffa to 068e75e Compare February 5, 2026 15:41
@jonathanpallant
Copy link
Copy Markdown
Contributor Author

Rebased

@jonathanpallant
Copy link
Copy Markdown
Contributor Author

I build a probe-rs with this and flashed the panic example from the Ferrous Rust Training onto an nRF52840-DK, and it worked fine.

@jonathanpallant
Copy link
Copy Markdown
Contributor Author

We failed on GHSA-434x-w66g-qw3r. Have updated.

Copy link
Copy Markdown
Contributor

@mhatzl mhatzl left a comment

Choose a reason for hiding this comment

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

lgtm 👍

@jonathanpallant jonathanpallant added this pull request to the merge queue Feb 5, 2026
Merged via the queue into main with commit 5722c22 Feb 5, 2026
27 checks passed
@jonathanpallant jonathanpallant deleted the jp/release-defmt-decoder branch February 5, 2026 17:01
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.

2 participants