Skip to content
This repository has been archived by the owner on Jan 14, 2025. It is now read-only.

Tags: dart-lang/source_span

Tags

v1.10.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add public access to a SourceFile's code units (#93)

* Add public access to a SourceFile's code units

This makes it possible to efficiently reparse information from around
a `FileSpan`, such as to expand it through surrounding whitespace
characters. Otherwise, a caller would have to call `getText()` which
can be very expensive in a tight loop.

* Fix lints

* Update CHANGELOG.md

Co-authored-by: Devon Carew <[email protected]>

---------

Co-authored-by: Devon Carew <[email protected]>

1.9.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Properly indent multi-line labels for mutli-span highlights (#86)

1.9.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add SourceSpanWithContextExtension.subspan (#81)

1.8.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix header for multispan with null secondary urls (#72)

If a multiple span highlight was created where all the secondary spans
had `null` URLs they were filtered out from the comparison checking
whether multiple files are involved.

This bug was caused during the null safety migration. A similar bug
previously existed if the primary span had a null URL and is also fixed.

- Take a nullable list in `isAllTheSame`. Avoid using `null` as a
  sentinel for no item seen, use `.first` and `.skip(1)` to compare all
  elements.
- Add tests for the case of primary and secondary spans with a null URL.

1.8.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Prepare to publish for stable null safety (#71)

1.8.0-nullsafety.4

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Bump SDK constraints for pub (#65)

Use a 2.12.0 lower bound since pub does not understand allowed
experiments for earlier versions.

Use a 3.0.0 upper bound to avoid a warning in pub and to give some
flexibility in publishing for stable.

1.8.0-nullsafety.3

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
allow the 2.12 prerelease sdks (#64)

1.8.0-nullsafety.2

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
prep to release to unblock flutter (#62)

1.8.0-nullsafety.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Prep to release 1.8.0-nullsafety.1

Reverts #59 and removes now unnecessary `!`s.

This requires a newer sdk than is available on dev, so run tests on be/raw/latest for now.

The dart version in flutter should already be compatible with this version.

1.8.0-nullsafety