v0.8.0-alpha.1: Track Spans for additional instructions
Pre-release
Pre-release
What's Changed
- feat: provide span for more nodes by @dsherret in #17
- Enable dependabot by @jonmcquillan in #25
- Update pretty_assertions requirement from 0.7.2 to 1.0.0 by @dependabot in #26
Breaking Changes
- Most instructions that contained a
String
payload now return aSpannedString
struct that includes theSpan
information as well as the string contents. For now it implementsDisplay
andAsRef<str>
but no otherString
-like utilities. String contents should be accessed directly by<spanned_string>.content
. Span data is accessed by<spanned_string>.span
. - Various Instructions now return their data as a combined
SpannedString
instead of separateString
andSpan
fields. For example, theFromInstruction
no longer usesf.image
andf.image_span
, but can be accessed asf.image.content
andf.image.span
- Span now implements
Copy
trait which might raise new lint warnings.
New Contributors
- @dsherret made their first contribution in #17
- @jonmcquillan made their first contribution in #25
- @dependabot made their first contribution in #26
Thanks
- @dsherret for implementing
SpannedString
features! - @jonmcquillan for enabling dependabot configuration and testing version bumps to get this project rolling again
Full Changelog: v0.7.1...v0.8.0-alpha.1