Skip to content

Bump MinVer from 5.0.0 to 7.0.0#7

Merged
jkindrix merged 1 commit into
mainfrom
dependabot/nuget/MinVer-7.0.0
May 20, 2026
Merged

Bump MinVer from 5.0.0 to 7.0.0#7
jkindrix merged 1 commit into
mainfrom
dependabot/nuget/MinVer-7.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 20, 2026

Updated MinVer from 5.0.0 to 7.0.0.

Release notes

Sourced from MinVer's releases.

No release notes found for this version range.

Commits viewable in compare view.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

---
updated-dependencies:
- dependency-name: MinVer
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github May 20, 2026

Labels

The following labels could not be found: dependencies, nuget. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot dependabot Bot requested a review from jkindrix as a code owner May 20, 2026 18:33
@jkindrix
Copy link
Copy Markdown
Owner

@dependabot rebase

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github May 20, 2026

Looks like this PR is already up-to-date with main! If you'd still like to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@jkindrix jkindrix merged commit fb00d5b into main May 20, 2026
2 checks passed
@jkindrix jkindrix deleted the dependabot/nuget/MinVer-7.0.0 branch May 20, 2026 18:46
jkindrix added a commit that referenced this pull request May 22, 2026
Adds multi-run formatted-string support to random-access cells. New
public value records mirror the CellStyle conventions (immutable,
structural equality, nullable-axis "inherit existing" semantics):

  - RichText            — sequence of one or more RichTextRun
  - RichTextRun         — (Text, RichTextStyle) pair
  - RichTextStyle       — font-only subset of CellStyle

Per-run style is restricted to font axes (Bold, Italic, Underline,
FontName, FontSize, Color). Excel's OOXML <r><rPr> element does not
honor per-run fills, borders, alignment, or number format — exposing
the full CellStyle on a run would silently drop those axes. Cell-level
visual style continues through ICell.Style(CellStyle).

Run fonts are pooled through the existing CellStylePool font cache
(decision #4) — runs with identical font properties share one IFont
across the workbook.

GetRichText() returns non-null only when the cell carries explicit
formatting runs (NumFormattingRuns > 0). A cell set via SetString
returns null even though NPOI stores every string cell as an
XSSFRichTextString internally.

IStreamingCell.SetRichText is intentionally absent. NPOI's SXSSF
SheetDataWriter (NPOI 2.7.x) reconstructs a fresh XSSFRichTextString
from cell.StringCellValue at flush time, dropping all in-memory
formatting runs. Per decision #7 (streaming type-honesty), the
absence of the method mirrors the absence of the capability rather
than silently degrading or throwing on call. Surfaced during impl by
a streaming round-trip test; documented in implementation-notes.md.

Surface (30 entries added to PublicAPI.Unshipped.txt):
  - NetXlsx.RichText (+ Runs, PlainText, ctors, structural equality)
  - NetXlsx.RichTextRun (+ Text, Style)
  - NetXlsx.RichTextStyle (+ Bold, Italic, Underline, FontName,
                            FontSize, Color, Default)
  - ICell.SetRichText(RichText)
  - ICell.GetRichText() -> RichText?

Tests (14 new in tests/NetXlsx.Tests/RichTextApiTests.cs):
  - value-type semantics (defaults, equality, validation)
  - in-memory round-trip (SetRichText → GetRichText)
  - file round-trip via Workbook.Open
  - GetRichText returns null for plain strings + non-string cells
  - MaxCellTextLength enforcement on concatenated plain text
  - Zero-length runs contribute no formatting
  - IStreamingCell type-honesty: reflection asserts no SetRichText

Public-API snapshot + DisposedWorkbookMatrix updated.

Design row I-50 added in docs/design.md §6.8.1 with rationale and the
SXSSF streaming caveat. Implementation-notes entry captures the SXSSF
serializer limitation, the font-only design choice, and the read-side
"rich vs plain" discriminator.

First slice of the v1.1 roadmap (rich text → tables → images →
protection → validation → autofilter → named styles → custom
converters → strict concurrency).
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.

1 participant