Skip to content

Update for upstream version 1.6.1 - #73

Merged
j-fu merged 36 commits into
masterfrom
jf/upstream-161
Oct 8, 2026
Merged

j-fu merged 36 commits into
masterfrom
jf/upstream-161

Conversation

@j-fu

@j-fu j-fu commented Sep 24, 2026 •

Copy link
Copy Markdown
Member

While the API stays the same, the behavior of the upstream version of tetgen changed quite a bit between 1.5 and 1.6. This is why we make a breaking verision here and and explicetely support
1.5 and 1.6 versions of the upstream jll.

Addresses #47

* adapt runtests to slightly different grid output
Check for size() of point list in RawFacet
* throw an error if it is 1.5.
  With an updated build for TetGen_jll 1.5.4+1 or 1.5.5, we may remove this.
@j-fu
j-fu marked this pull request as draft September 24, 2026 13:51

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Unresolved critical pointer-lifetime and moderate compatibility, example, and test issues remain.

Review effort: Lite
Findings: 1 High severity · 2 Medium severity · 4 Low severity

Open (7)
What changed in this PR

Updates TetGen.jl for upstream 1.6.1 while retaining 1.5.4 compatibility and adds save_tetgen input serialization.

Changes:

  • Adds serialization support across TetGen input types.
  • Adds tests for supported upstream versions.
  • Updates documentation, examples, metadata, and changelog.
File Reviewed change
test/​tetgentests.jl Expanded integration and serialization tests.
test/​runtests.jl Updated test entry point and compatibility coverage.
test/​runtests-tetgen-1.5.1.jl Adds legacy TetGen testing.
src/​TetGen.jl Exports save_tetgen.
src/​rawtetgenio.jl Adds raw input serialization and hole handling.
src/​jltetgenio.jl Adds Julia IO conversion and serialization.
src/​cpptetgenio.jl Adds C++ IO serialization support.
src/​api.jl Adds mesh-level save functionality.
README.md Documents supported versions and bug-report workflow.
Project.toml Updates package version and dependency compatibility.
examples/​examples.jl Updates facet-hole and cut-prism examples.
CHANGELOG.md Records the release changes.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/jltetgenio.jl Outdated
Comment thread examples/examples.jl Outdated
Comment thread test/tetgentests.jl Outdated
Comment thread CHANGELOG.md Outdated
Comment thread src/api.jl
Comment thread src/cpptetgenio.jl Outdated
Comment thread src/rawtetgenio.jl Outdated
j-fu and others added 8 commits September 26, 2026 23:25
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Fix typo in comment regarding bug reports.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Removed redundant return statement in save_tetgen function.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Update changelog to include recent changes and maintain formatting.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@j-fu
j-fu marked this pull request as ready for review September 26, 2026 21:39
@j-fu

j-fu commented Sep 26, 2026 •

Copy link
Copy Markdown
Member Author

I want to register this as 3.0 (breaking) as tetgen upstream versions create quantitativelx different grids from the same input. Furthermore this PR keeps upstream version 1.5.1 supported.

See also the discussion in #47

@pjaap

dependabot Bot and others added 6 commits October 8, 2026 17:25
Bumps [JuliaRegistries/TagBot](https://github.com/juliaregistries/tagbot) from 1.25.11 to 1.25.13.
- [Release notes](https://github.com/juliaregistries/tagbot/releases)
- [Commits](JuliaRegistries/TagBot@cded326...ffef328)

---
updated-dependencies:
- dependency-name: JuliaRegistries/TagBot
  dependency-version: 1.25.13
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
* adapt runtests to slightly different grid output
Check for size() of point list in RawFacet
* throw an error if it is 1.5.
  With an updated build for TetGen_jll 1.5.4+1 or 1.5.5, we may remove this.
j-fu and others added 13 commits October 8, 2026 17:27
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Fix typo in comment regarding bug reports.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Removed redundant return statement in save_tetgen function.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Update changelog to include recent changes and maintain formatting.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@j-fu
j-fu merged commit 84517a9 into master Oct 8, 2026
11 checks passed
@j-fu
j-fu deleted the jf/upstream-161 branch October 8, 2026 15:45
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.

2 participants