Skip to content

Bump github.com/opendocument-app/opendocument.core from 6.13.0 to 7.0.0 - #194

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/swift/github.com/opendocument-app/opendocument.core-7.0.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/swift/github.com/opendocument-app/opendocument.core-7.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 15, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/opendocument-app/opendocument.core from 6.13.0 to 7.0.0.

Release notes

Sourced from github.com/opendocument-app/opendocument.core's releases.

v7.0.0

  • Breaking: DocumentPath, Element::document_path() and Element::navigate_path() are gone, with their python and Java mirrors. An element is addressed by Element::identifier() and Document::element_by_id(), which is what the edit envelope uses.

  • Breaking: ValueType gains boolean, date, time and error, and the odf and xlsx readers report them; a boolean states 1 or 0 as its number. Sheet::set_cell writes a boolean and refuses the other three. The enum mirrors in every binding follow.

  • Breaking: TextStyle::font_name is a std::string rather than a std::string_view that borrowed from the document, so a style outlives the document it was read from and a caller can build one.

  • Text::set_style and the edit op setTextStyle {id, style} write bold, italic, underline, strikethrough, highlight, colour and size onto a run of an odf, docx or pptx document. The other engines refuse it.

  • A .docx run's shading (w:shd) renders as its background where no highlight paints over it.

  • The document view's editor formats text under scope document: odr.editing.format({bold, italic, underline, strikethrough, highlight, color, size}), odr.editing.toggle("bold"), the ctrl/cmd+B, I and U chords, and odr.onSelectionChange for a host's buttons. A toggle on a collapsed caret marks the next typed text. Scope paragraph refuses it.

  • Text::set_style in every binding: Text.set_style in python, Text.setStyle in Java, -[ODRText setStyle:error:] in Objective-C, both with a constructible TextStyle, and setTextStyle(id, style) in npm.

  • A run that is both underlined and struck through renders both lines. The page wrote two text-decoration declarations, and the second replaced the first.

  • Breaking: all_file_types() and all_text_encodings() return a std::span over the library's tables instead of a std::vector, like the other table lookups. The bindings still hand out a list.

  • HtmlConfig::editing_scope narrows the document view's editor to edits inside one paragraph (paragraph); the page refuses the rest with the new ErrorCode::edit_out_of_scope (1010, outOfScope). Bound in every binding.

  • Writing a cell of an .ods takes the cached result of every formula reading it away, keeping the formula itself, so the saved file states no number that is now wrong. Such a cell renders empty until a reader computes it.

  • An editable sheet view states each formula cell's expression (data-odr-formula, odr.sheet.formulaAt) and the cells it reads, and marks

... (truncated)

Changelog

Sourced from github.com/opendocument-app/opendocument.core's changelog.

Changelog

What changed in the engine, for whoever builds against it — the apps, the bindings, and the packages on conan, maven, PyPI, npm and SwiftPM. Each release puts its section on top of the generated per-pull-request list. Back to v5.3.0; before that the releases are all there is.

An entry goes under Unreleased in the pull request that makes the change, and only for what a consumer notices: API, formats, rendering, behaviour, packaging. Refactoring, tests and CI are in the generated list already. A breaking change says Breaking first.

The release run heads these entries with the version and opens a fresh ## Unreleased. A release with nothing under it is refused.

Unreleased

v7.0.0 - 2026-09-13

  • Breaking: DocumentPath, Element::document_path() and Element::navigate_path() are gone, with their python and Java mirrors. An element is addressed by Element::identifier() and Document::element_by_id(), which is what the edit envelope uses.

  • Breaking: ValueType gains boolean, date, time and error, and the odf and xlsx readers report them; a boolean states 1 or 0 as its number. Sheet::set_cell writes a boolean and refuses the other three. The enum mirrors in every binding follow.

  • Breaking: TextStyle::font_name is a std::string rather than a std::string_view that borrowed from the document, so a style outlives the document it was read from and a caller can build one.

  • Text::set_style and the edit op setTextStyle {id, style} write bold, italic, underline, strikethrough, highlight, colour and size onto a run of an odf, docx or pptx document. The other engines refuse it.

  • A .docx run's shading (w:shd) renders as its background where no highlight paints over it.

  • The document view's editor formats text under scope document: odr.editing.format({bold, italic, underline, strikethrough, highlight, color, size}), odr.editing.toggle("bold"), the ctrl/cmd+B, I and U chords, and odr.onSelectionChange for a host's buttons. A toggle on a collapsed caret marks the next typed text. Scope paragraph refuses it.

  • Text::set_style in every binding: Text.set_style in python, Text.setStyle in Java, -[ODRText setStyle:error:] in Objective-C, both with a constructible TextStyle, and setTextStyle(id, style) in npm.

... (truncated)

Commits

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)

Bumps [github.com/opendocument-app/opendocument.core](https://github.com/opendocument-app/OpenDocument.core) from 6.13.0 to 7.0.0.
- [Release notes](https://github.com/opendocument-app/OpenDocument.core/releases)
- [Changelog](https://github.com/opendocument-app/OpenDocument.core/blob/main/CHANGELOG.md)
- [Commits](opendocument-app/OpenDocument.core@6.13.0...2ac2be9)

---
updated-dependencies:
- dependency-name: github.com/opendocument-app/opendocument.core
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file swift_package_manager Pull requests that update swift_package_manager code labels Sep 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file swift_package_manager Pull requests that update swift_package_manager code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants