{"ecosystem":"cargo","package":"miette","from_version":null,"to_version":null,"changes":[{"from_version":"v5.10.0","to_version":"v6.0.0","change_type":"breaking","description":"**source-code:** Don't override provided source code (#300) ([0d5c2ce7](https://github.com/zkat/miette/commit/0d5c2ce7536b0ea205346595d8a00d00bfb6cbd2))","migration_hint":null},{"from_version":"v5.10.0","to_version":"v6.0.0","change_type":"breaking","description":"**BREAKING CHANGE**: Source code is no longer overridden if it was provided by the diagnostic's own `source_code()` impl.","migration_hint":null},{"from_version":"v5.10.0","to_version":"v6.0.0","change_type":"breaking","description":"**source:** use `usize` for length (#265) ([fad0e76a](https://github.com/zkat/miette/commit/fad0e76ad2e19d5cac13cf8324338aca0d623d93))","migration_hint":null},{"from_version":"v5.10.0","to_version":"v6.0.0","change_type":"breaking","description":"**BREAKING CHANGE**: This changes `SourceSpan`'s length type to `usize`.","migration_hint":null},{"from_version":"v5.10.0","to_version":"v6.0.0","change_type":"breaking","description":"**source:** Allow inner source type of a NamedSource to be borrowed (#254) ([1df3b1a5](https://github.com/zkat/miette/commit/1df3b1a537f2e54cd40ec45f5cd851337a22e95a))","migration_hint":null},{"from_version":"v4.7.1","to_version":"v5.0.0","change_type":"breaking","description":"**theme:** restructure automatic color selection (#177) ([1816b06a](https://github.com/zkat/miette/commit/1816b06a2efcd5705dfe91147ab5651fe0b517d6))","migration_hint":null},{"from_version":"v4.7.1","to_version":"v5.0.0","change_type":"breaking","description":"The default theme now prefers ANSI colors, even if RGB is supported","migration_hint":null},{"from_version":"v4.7.1","to_version":"v5.0.0","change_type":"breaking","description":"`MietteHandlerOpts::ansi_colors` is removed","migration_hint":null},{"from_version":"v4.7.1","to_version":"v5.0.0","change_type":"breaking","description":"`MietteHandlerOpts::rgb_color` now takes an enum that controls the color format used when color support is enabled, and has no effect otherwise.","migration_hint":null},{"from_version":"v3.3.0","to_version":"v4.0.0","change_type":"breaking","description":"**colors:** treat no-color mode as no-color instead of narratable (#94) ([9dcce5f1](https://github.com/zkat/miette/commit/9dcce5f1bdd76e7564d604ab8b87bbc7caad310a))","migration_hint":null},{"from_version":"v3.3.0","to_version":"v4.0.0","change_type":"breaking","description":"**BREAKING CHANGE**: NO_COLOR no longer triggers the narrated handler. Use NO_GRAPHICS instead.","migration_hint":null},{"from_version":"v3.3.0","to_version":"v4.0.0","change_type":"breaking","description":"**derive:** Make derive macro `diagnostic` attribute more flexible. (#115) ([5b8b5478](https://github.com/zkat/miette/commit/5b8b5478b63e91a51fadec87c6fed3e60d192b60))","migration_hint":null},{"from_version":"v3.3.0","to_version":"v4.0.0","change_type":"breaking","description":"**BREAKING CHANGE**: `diagnostic` attribute duplication will now error.","migration_hint":null}],"total":13,"note":"Curated major-version breaking changes. Always verify against the package's official changelog before migrating.","_cache":"hit"}