Releases: knurling-rs/defmt
Releases · knurling-rs/defmt
defmt v0.3.0
What's Changed
- [1/n] - Logger trait v2. by @Dirbaio in #505
- [2/n] - Remove code-size-costly optimizations by @Dirbaio in #507
- book/duplicates.md: discriminator -> disambiguator by @eupn in #513
- extend raw pointer implementation to include !Format types by @japaric in #514
- Add overwrite option for xtask cross results. by @derekdreery in #512
xtask
: Only install additional targets for tests that require them by @Urhengulas in #516- [3/n] Remove u24 by @Dirbaio in #521
- Replace
µs
hint withus
by @jonas-schievink in #522 - [5/n] Format trait v2 by @Dirbaio in #508
- [4/n] test: do not depend on custom InternalFormatter by @Dirbaio in #524
- Minimize dependencies by @Urhengulas in #523
- Implement precedence of inner display hint by @justahero in #359
decoder
: Simplify tests by @Urhengulas in #526book
: Add logo and support text to introduction by @Urhengulas in #527- Adds add for user survey into readme. by @BriocheBerlin in #533
- Support bitflags by @jonas-schievink in #528
- Refactor user-guide of
book
by @Urhengulas in #529 - Don't print leading space when timestamp is absent by @jonas-schievink in #535
- refactor the
defmt-macros
crate by @japaric in #531 - defmt-test: attribute test progress message to the test in question by @jonas-schievink in #534
snapshot-tests
: Delete:?
hint without impact by @Urhengulas in #537- Fix wrong bit count in comment. by @Dirbaio in #538
snapshot-tests
: Test alternate hint for bitfields by @Urhengulas in #542CI
: Temporarily drop backward-compatibility check by @Urhengulas in #543build.rs
: Obtain version from macro; simplify by @Urhengulas in #518- Add optional rzCOBS encoding+framing by @Dirbaio in #539
- Revert "
build.rs
: Obtain version from macro; simplify" by @Urhengulas in #545 - Update changelog by @Urhengulas in #546
parser
: Satisfy clippy by @Urhengulas in #549- Separate "crate version" from "wire format version" by @Dirbaio in #540
- Display git version & date to introduction section by @justahero in #551
- Update change log by @justahero in #553
- Add impl for TryFromIntError by @newAM in #556
- Add impl for TryFromSliceError by @newAM in #557
- Update cortex-m-rt from 0.6 to 0.7 by @newAM in #560
- Removes call to fill in user survey from readme. by @BriocheBerlin in #562
- Remove unused cortex-m-rt in panic-probe by @Dirbaio in #561
- Make order of bitflags values deterministic by @jonas-schievink in #564
- Encoding docs. by @Dirbaio in #568
- Support referring to
Self
in bitflags constants by @jonas-schievink in #570 defmt-decoder
:impl FromStr for Encoding
by @Urhengulas in #572defmt::flush()
by @Urhengulas in #550qemu
: Allow dead code by @Urhengulas in #578- Fix typo in
cfg
of encoding-feature-compile_error!
by @Urhengulas in #577 - defmt-rtt: fix check for blocking RTT by @jonas-schievink in #579
- Add impl for alloc::Layout by @newAM in #581
panic-probe v0.2.1
by @Urhengulas in #582- Remove outdated doc "you may only call write! once" by @Dirbaio in #584
- Refactor rtt [1/2] by @Urhengulas in #574
- tweak inline attributes to remove machine code duplication by @japaric in #587
- Implement
Format
for arrays of any length by @jonas-schievink in #589 - Add xtask option to run a single snapshot test by name by @justahero in #585
- Remove timestamps from snapshot test by @jonas-schievink in #591
- panic-probe: use UDF instruction on nested panics by @japaric in #594
- Structure
defmt::export
by @Urhengulas in #580 - Feature: Add defmt
println!
macro by @justahero in #569 defmt-print
: Recover from decoding-errors by @Urhengulas in #598- xtask: add backward compability test by @japaric in #592
- target-side
env_logger
-like env filter by @japaric in #519 - only run snapshot & backcompat tests in dev mode by @japaric in #600
- Move crate
defmt
todefmt/
by @Urhengulas in #601 - Update change log with recent entries by @justahero in #606
decoder
: Fix thatdefmt::println!
shows leading space when timestamps are disabled by @Urhengulas in #608- Fix
cargo doc
-warnings by @Urhengulas in #611 - properly handle the
off
pseudo-level in presence of nested logging directives by @japaric in #605 - Bugfix: decoder breaks with pipe symbol by @justahero in #614
- document how to deal with backward compatibility breakage by @japaric in #615
- update user guide part of the book by @japaric in #616
- defmt-test:
#[cfg(test)]
the#[defmt_test::tests]
module by @japaric in #604 - Migration guide
v0.2.x
tov0.3.0
by @Urhengulas in #547 defmt-print
: Log if malformed frame gets skipped by @Urhengulas in #610- Update all crates to rust edition 2021! 🎉 by @Urhengulas in #619
- Tidy up by @Urhengulas in #620
- Add display hint to output
u64
as ISO8601 time by @justahero in #617 - Readme Diagram: Replace duplicate defmt-itm with defmt-rtt by @jhbruhn in #621
- Update
CHANGELOG.md
by @Urhengulas in #623 - Support #[ignore] attribute in defmt_test by @justahero in #618
- Release
defmt 0.3.0
by @Urhengulas in #624
New Contributors
- @eupn made their first contribution in #513
- @newAM made their first contribution in #556
- @jhbruhn made their first contribution in #621
Full Changelog: defmt-v0.2.3...defmt-v0.3.0
defmt v0.2.3
What's Changed
- Revert "snapshot-tests: Temporarily pass --gc-sections to linker" by @Urhengulas in #487
- CI: Don't run on .md changes in PRs, except it's the book by @Urhengulas in #448
- Structure
impl Format
s into multiple files by @Urhengulas in #488 xtask
:fn utils::run_capturing_stdout
by @Urhengulas in #476- Bump build-dep
semver
to1.0
by @Urhengulas in #496 macros
: match unused vars if logging is disabled by @Urhengulas in #497defmt-macros v0.2.2
by @Urhengulas in #498- Structure lib by @Urhengulas in #489
- Illustrate structure of the defmt crates by @Urhengulas in #499
- book: fix leftover old formatting syntax; typos by @Lotterleben in #500
- Add alternate hint ('#') by @derekdreery in #503
- Xtask qemu overwrite by @derekdreery in #504
CI
: Don't install MacOS dependency which is included by default by @Urhengulas in #510impl Format for NonZero*
by @Urhengulas in #509defmt 0.2.3
,defmt-macros 0.2.3
,defmt-parser 0.2.2
,defmt-decoder 0.2.2
,defmt-print 0.2.2
by @Urhengulas in #511
Full Changelog: defmt-v0.2.2...defmt-v0.2.3
defmt v0.2.2
What's Changed
defmt v0.2.1
by @Urhengulas in #428- Simplify
defmt_macros
by @Urhengulas in #431 - Simplify
defmt_parser
by @Urhengulas in #432 book
: Document adapter typesDisplay2Format
,Debug2Format
by @Urhengulas in #437defmt_decoder
: Extend doc-comments and makeFrame
public by @Urhengulas in #438book
: Remove migration page (git to 0.1) by @Urhengulas in #439- Update dependencies by @Sh3Rm4n in #440
defmt-test
: Rm outdated setup steps by @Urhengulas in #436- README: link Application setup for visibility by @Lotterleben in #444
- implement CI tests as xtask by @spookyvision in #393
- Add usage examples for Debug2Format, Display2Format by @Lotterleben in #446
README.md
: Document MSRV by @Urhengulas in #447- Remove minimum timestamp alignment by @jonas-schievink in #453
- Add
netlify.toml
by @Urhengulas in #454 - Defmt test v0.2.2 by @Urhengulas in #462
- Support more items in
#[tests]
module by @Sh3Rm4n in #441 - firmware/qemu: bump linked-list-allocator dep by @japaric in #468
impl<T> Format for {*const, *mut} T where T: Format + ?Sized
by @Urhengulas in #464- Xtask refactor by @Urhengulas in #469
- Refactor xtask vol. 2 by @Urhengulas in #470
- Add leading zeros support. by @derekdreery in #465
xtask
: Simplifyfn utils::run_command
by @Urhengulas in #471xtask
: decreasemax_width
to 105 by @Urhengulas in #474xtask
: Pretty-printall_errors
by @Urhengulas in #475- Implement
Format
for thecore::{iter, ops, slice}
structs. by @derekdreery in #472 - Impl
Format
for allCow
s by @mattico in #473 - Disable logging calls via conditional compilation when all defmt features are disabled by @WasabiFan in #477
- add dbg! macro by @japaric in #478
snapshot-tests
: Temporarily pass--gc-sections
to linker by @Urhengulas in #482- Snapshot tests for
core::{iter, ops, slice}
structs by @Urhengulas in #481 - Bump
defmt-test-macros
,defmt-macros
,defmt
,defmt-test
by @Urhengulas in #480 - Bump
defmt-parser
,defmt-macros
,defmt-decoder
,defmt-print
by @Urhengulas in #484 - Bump
defmt-print
by @Urhengulas in #485
New Contributors
- @WasabiFan made their first contribution in #477
Full Changelog: defmt-v0.2.1...defmt-v0.2.2
defmt v0.2.1
What's Changed
- defmt 0.2.0 by @Urhengulas in #398
- Fix pr-links in
Changelog.md
by @Urhengulas in #399 - defmt_itm: Fix typo by @Urhengulas in #400
- qemu-run: allow ignoring the defmt version by @jonas-schievink in #401
- Add back the backwards-compatiblity check by @jonas-schievink in #403
- add knurling logo to API docs by @japaric in #410
- defmt-test/README.md: extend intro by @Lotterleben in #414
- Disable
unstable-test
on docs.rs by @jonas-schievink in #413 - Make elf2table::Location public by @mattico in #415
- Defmt test macros v0.2.0 by @Urhengulas in #418
- CI: add nightly run by @Lotterleben in #424
- defmt-test: update README by @Lotterleben in #421
book
: Drop v0.2.0 note by @Urhengulas in #427
Full Changelog: defmt-v0.2.0...defmt-v0.2.1
defmt v0.2.0
What's Changed
- Enable test-only code via feature instead of target_arch. by @Dirbaio in #291
- Allow use statements in defmt-test by @Sh3Rm4n in #294
- Implement i128 and u128. by @BriocheBerlin in #284
- Allow skipping the defmt version check by @jonas-schievink in #296
- defmt-test: improve output formatting by @jonas-schievink in #297
- Test defmt-test by @Sh3Rm4n in #299
- CI: fix nightly build by @japaric in #301
- add bors by @japaric in #303
- Use primitive formatting for primitive references by @Sh3Rm4n in #300
- impl Format for char by @japaric in #304
- make defmt attributes forward input attributes by @japaric in #293
- Change Format::format to take Formatter argument by value by @BriocheBerlin in #305
- derive(Format): Support more than 256 variants by @Sh3Rm4n in #302
- write! macro: remove runtime check by @japaric in #310
- remove unused snapshot file by @japaric in #311
- derive(Format): better encode
str
fields by @japaric in #312 - compile-fail test new Formatter move semantics by @japaric in #308
- add display hints e.g. :x, :b, :a by @japaric in #313
- update UI tests by @japaric in #325
- Merge I128/Ixx and U128/Uxx variants by @Sh3Rm4n in #323
- Always respect DisplayHint::Ascii for byte slices by @Sh3Rm4n in #321
- document safety of implementation detail functions by @japaric in #329
- Fix clippy lints by @Sh3Rm4n in #324
- impl Format for PhantomData by @mattico in #327
- More compile fail tests by @BriocheBerlin in #331
- Hide
Formatter
'sinner
field by @jonas-schievink in #333 - Fix dead intra-doc-link in parser by @jonas-schievink in #334
- Improve
Format
trait docs by @jonas-schievink in #332 - add defmt-itm by @japaric in #335
- add defmt-logger and defmt-print by @japaric in #338
- Improve diagnostics on double
write!
by @jonas-schievink in #337 - Streaming core::fmt adapters by @jonas-schievink in #340
- Make leb64 encoding fully safe by @jonas-schievink in #339
- Don't call
finalize
inwrite!
by @jonas-schievink in #342 - Customizable timestamps by @jonas-schievink in #343
- Avoid 64-bit arithmetic in LEB encoding by @jonas-schievink in #345
- Document current format parameter syntax by @jonas-schievink in #347
- panic-probe: use Display2Format adapter by @jonas-schievink in #350
- Cleanup defmt tags by @jonas-schievink in #351
- Clarify docs on
Write::write
by @jonas-schievink in #355 - f64 support by @jonas-schievink in #354
- Do not display full version with --help by @Javier-varez in #352
- fix issue #336 by @spookyvision in #357
- Fix or allow all clippy warnings by @jonas-schievink in #361
- add a test for #336 by @spookyvision in #363
- split workspace in two by @japaric in #364
- Satisfy clippy by @Urhengulas in #367
- Move
bors.toml
to.github/
by @Urhengulas in #369 - Add link to git version of the book by @jonas-schievink in #371
- Fix CI success conditions by @jonas-schievink in #374
- Add more data to Cargo.toml by @jonas-schievink in #373
- Update printers.md by @jonas-schievink in #372
- make that link hyper by @spookyvision in #379
- defmt-itm: Raise compile error on armv6m by @Urhengulas in #368
- Merge crates "elf2table" and "logger" into "decoder" by @spookyvision in #380
- defmt-test: support returning
Result
from tests by @jonas-schievink in #377 - impl Format for Infallible by @japaric in #382
- defmt-test: Modify attributes in place and handle #[cfg] by @jonas-schievink in #383
- Pin unstable path dependencies by @Urhengulas in #384
- Skip alloc of additional data structure by @Urhengulas in #385
- Make defmt-logger more configurable, remove probe-run strings by @jonas-schievink in #376
- CI: bump timeout to 20 minutes by @jonas-schievink in #387
- Tidy defmt-decoder by @Urhengulas in #386
- Update decoder dependencies by @jonas-schievink in #389
- 348 format for duration by @Urhengulas in #391
- Tidy up decoder 2 by @Urhengulas in #392
- defmt_decoder: Bump dep
object
to0.23.0
by @Urhengulas in #396 - Revert "defmt_decoder: Bump dep
object
to0.23.0
" by @Urhengulas in #397
New Contributors
- @Javier-varez made their first contribution in #352
Full Changelog: defmt-v0.1.3...defmt-v0.2.0
defmt v0.1.3
What's Changed
- CHANGELOG.md: fix links by @Lotterleben in #283
- Book: Link to defmt-rtt and defmt-semihosting crates by @dbrgn in #288
- fix compilation to ARMv6-M with +alloc by @japaric in #290
New Contributors
Full Changelog: defmt-v0.1.2...defmt-v0.1.3
defmt v0.1.1
What's Changed
- Decoder, printer & float support by @japaric in #1
- turn x86 in a test-only target by @japaric in #2
- minimal QEMU example by @japaric in #3
- Set up GitHub Actions by @jonas-schievink in #6
- internp: fix 'section specifier' compiling err on mac os by @Lotterleben in #4
- add library to parse ELF metadata into a interner table by @japaric in #8
- Extend decoder and printer to handle slices, strings and bools by @Lotterleben in #5
- refactor encoding tests by @japaric in #11
- add qemu-run by @japaric in #12
- Add parser support for bitfields by @jonas-schievink in #13
- Compress
bool
s more effectively by @jonas-schievink in #21 - README.md: mention :str in user guide by @Lotterleben in #22
- Doc: explicitly note qemu dependency; rm TODOs by @Lotterleben in #23
- macros. implement other logging levels by @Lotterleben in #25
- Add book infra by @jamesmunns in #28
- binfmt RTT integration by @japaric in #24
- macros: rm separate parse function & tests by @Lotterleben in #26
- macro: fix handling of positional arguments by @jonas-schievink in #34
- qemu-run: pass
-monitor none
to fix Ctrl+C by @jonas-schievink in #40 - add and document
#[global_logger]
by @japaric in #35 - Disable nightly, macOS, and Windows CI builds by @jonas-schievink in #42
- Add some rustdoc docs and examples by @jonas-schievink in #45
- Parse trailing commas in most macros by @jonas-schievink in #47
- use timestamp macro in log example by @japaric in #48
- turn README into an mdbook by @japaric in #46
- add panic-probe by @japaric in #49
- Move leb64 encoding and tests to its own file by @jonas-schievink in #50
- Fix/Implement non-interned string encoding by @jonas-schievink in #60
- Derive fixes and tests by @jonas-schievink in #58
- Encode and format slices by @Lotterleben in #68
- ci: set a 10 minute timeout by @jonas-schievink in #69
- Support de/encoding interned strings by @jonas-schievink in #67
- Encode and format
f32
by @Lotterleben in #70 - Implement fixed-size arrays by @jonas-schievink in #71
- Support isize and usize by @jonas-schievink in #72
- binfmt: warn(missing_docs) by @japaric in #76
- wire format is still unstable by @japaric in #77
- Extend formatters: implement boolean compression by @Lotterleben in #65
- Add missing parentheses around format args by @jonas-schievink in #81
- Rewrite the parser to yield fragments instead of parameters by @jonas-schievink in #80
- ci: build firmware by @japaric in #89
- Fixes from the stream testing by @jamesmunns in #90
- Stuff everything into the same Cargo workspace by @jonas-schievink in #91
- future-proof: remove
write!
from the public API by @japaric in #83 - [T] support by @japaric in #92
- add probe-run docs by @japaric in #94
- Reject hard-float ABI ELFs by @jonas-schievink in #96
- do not optimize the dev profile by @japaric in #99
- implement enum decoder by @japaric in #98
- Encode fmt bitfields by @Lotterleben in #84
- Set
publish = false
for a few crates by @jonas-schievink in #105 - probe-run: add
--list-chips
flag by @Lotterleben in #110 - probe-run: do not return prematurely when there are no log messages by @Lotterleben in #107
- CI: run mdbook tests by @jonas-schievink in #109
- version binfmt wire format by @japaric in #103
- opt-in binfmt decoding by @japaric in #112
- Fix log levels by @jonas-schievink in #114
- automatically truncate larger integer types passed to bitfields by @Lotterleben in #113
- rename to defmt by @japaric in #117
- remove probe-run by @japaric in #116
- Fix bool unpacking with nested structs by @jonas-schievink in #118
- Use
object
crate instead ofxmas-elf
by @jonas-schievink in #120 - bool/Format: conditionally include the tag by @japaric in #121
- Improve the version mismatch check by @jonas-schievink in #119
- Kill Qemu via destructor by @jonas-schievink in #122
- derive: properly handle generic structs and enums by @japaric in #125
- elf2table: return None if .defmt is missing by @japaric in #128
- RTT fixes by @japaric in #129
- author, license info + README update by @japaric in #127
- halt
:[?]
optimization when an enum is encountered by @japaric in #123 - checks that debug, error, info, trace, warn ranges don't overlap by @benmkw in #130
- linker-script: exhaustively search for defmt symbols by @japaric in #134
- Fix the region overlap check by @jonas-schievink in #139
- Look for quoted and unquoted version symbol by @jonas-schievink in #138
- improve parser errors for missing
:
in params by @birkenfeld in #143 - Default zero timestamp by @jonas-schievink in #147
- extract location info (file+line number) from DWARF by @japaric in #148
- add Table::indices by @japaric in #150
- Fix argument/acquire evaluation order by @jonas-schievink in #153
- Prefix all package names with
defmt-
by @jonas-schievink in #154 - Improve index collision error message by @jonas-schievink in #157
- Add some utility functions to
Frame
by @jonas-schievink in #158 - fix impl Format for Str (interned string) by @japaric in #166
- add module path to location info by @japaric in #167
- elf2table: discard loc-info from linker GC-ed symbols by @japaric in #169
- decoder: filter indices to only include log statements by @japaric in #170
- CI: run qemu examples by @Lotterleben in #27
- Distinguish missing from corrupted data by @jonas-schievink in #155
- CI: reenable macos, windows and nightlies by @Lotterleben in #131
- defmt-rtt: add non-blocking mode; set it as the default by @japaric in #174
- derive: fix handling of generic bounds by @jonas-schievink in #178
- throw (cargo) error on version mismatch by @Lotterleben in #190
- store raw symbols in decoder::Table by @japaric in #192
- check defmt version before demangling symbols by @japaric in #193
- Structured symbol names by @jonas-schievink in #175
- Revert "Structured symbol names" by @japaric in #194
- Structured symbol names by @jonas-schievink in #195
- mak...
defmt v0.1.0
defmt-v0.1.0 defmt v0.1.0
defmt v0.1.2
defmt-v0.1.2 defmt v0.1.2