Skip to content

Releases: gerlero/foamlib

v1.3.2

07 Sep 15:25
c477944

Choose a tag to compare

What's Changed

Full Changelog: v1.3.1...v1.3.2

v1.3.1

07 Sep 03:38

Choose a tag to compare

What's Changed

Full Changelog: v1.3.0...v1.3.1

v1.3.0

06 Sep 21:09

Choose a tag to compare

🌟 v1.3.0 Highlights

  • Simplified API: The Dimensioned and DimensionSet classes are now (also) available at the top level.
  • Better docs: Improved documentation, re-organized pages, fixed typos, and added more cross-references.
  • [foamlib.preprocessing] Easier automation: You can now create parameter studies directly from Python.
  • [foamlib.preprocessing][foamlib.postprocessing] Better error messages: When attempting to import without the required extras dependencies.

What's Changed

New Contributors

Full Changelog: v1.2.1...v1.3.0

v1.2.1

03 Sep 16:38

Choose a tag to compare

What's Changed

Full Changelog: v1.2.0...v1.2.1

v1.2.0

03 Sep 04:05

Choose a tag to compare

🚀 foamlib v1.2.0

This release brings improved parsing, better progress tracking, and a modernized codebase.

Highlights

  • Log file monitoring to track OpenFOAM case progress even when run scripts are used.
  • Smarter parsing with clearer errors (foamlib now raises ValueError on parsing failures).
  • Support for files with multiple directives of the same kind at the same level (e.g. #includes) via multicollections.
  • Dropped support for Python 3.7 (Python 3.8+ required).

What's Changed

  • Add log file monitoring for progress tracking in OpenFOAM cases by @Copilot in #440
  • Add MultiMapping and MutableMultiMapping ABCs by @gerlero in #442
  • Add multidict dependency by @gerlero in #443
  • Add comprehensive tests for MultiMapping/MutableMultiMapping classes to verify multidict compatibility by @Copilot in #448
  • Drop multidict requirement and remove unused MultiMapping utility classes by @Copilot in #451
  • Use MultiDicts where necessary to allow multiple equivalent keywords by @gerlero in #455
  • Remove unneeded typing ignores by @gerlero in #456
  • Reduce code duplication in _parsing.Parsed class by extracting helper methods by @Copilot in #458
  • Reduce code duplication in FoamFile: setitem and add methods by @Copilot in #457
  • Refactor Parsed.delitem to use MutableMultiMapping default and centralize removal logic by @Copilot in #459
  • Drop support for Python 3.7 by @gerlero in #460
  • Remove ignore for Ruff rule UP007 and fix all occurrences by @Copilot in #461
  • Require mypy 1.16 by @gerlero in #464
  • Introduce Python 3.8+ constructs throughout codebase by @Copilot in #462
  • Re-enable extra Ruff rules by @gerlero in #465
  • Re-enable unused-ignore mypy error code by @gerlero in #466
  • Add @OverRide decorators to resolve mypy errors by @Copilot in #468
  • Enable mypy explicit-override optional check by @gerlero in #467
  • Add pragma: no cover to TYPE_CHECKING-gated imports by @gerlero in #469
  • Update pyproject.toml by @gerlero in #470
  • Switch to uv build backend by @gerlero in #471
  • Bump multicollections to 0.3 by @gerlero in #473
  • Bump multicollections to 0.4 by @gerlero in #474
  • Improve parsing by @gerlero in #475
  • Add license and license-files to pyproject.toml by @gerlero in #476
  • Update Parsed.as_dict implementation to return MultiDicts where needed by @gerlero in #480
  • Simplify parsing logic by @gerlero in #481
  • Refactor Parsed object creation by @gerlero in #482
  • Remove unused function by @gerlero in #483
  • Update parsing by @gerlero in #484
  • Rearrange documentation pages by @gerlero in #486
  • Raise ValueError on parsing failures by @gerlero in #485
  • Add tests for ValueError-raising parsing errors by @Copilot in #487
  • Bump multicollections requirement by @gerlero in #488

Full Changelog: v1.1.6...v1.2.0

v1.1.6

23 Aug 23:16

Choose a tag to compare

What's Changed

  • Update pytest-asyncio requirement from <0.27,>=0.21 to >=0.21,<1.2 by @dependabot[bot] in #431
  • Bump actions/checkout from 4 to 5 by @dependabot[bot] in #430
  • Fix #319: Prevent accumulation of blank lines in sub-dictionary updates by @Copilot in #434
  • Fix parsing issues with complex keys containing special characters in parentheses by @Copilot in #436
  • Fix mypy errors in tests/test_files/test_issue_319.py by @Copilot in #438

New Contributors

  • @Copilot made their first contribution in #434

Full Changelog: v1.1.5...v1.1.6

v1.1.5

10 Aug 14:25

Choose a tag to compare

What's Changed

Full Changelog: v1.1.4...v1.1.5

v1.1.4

10 Aug 14:11

Choose a tag to compare

What's Changed

Full Changelog: v1.1.3...v1.1.4

v1.1.3

08 Aug 19:36

Choose a tag to compare

What's Changed

Full Changelog: v1.1.2...v1.1.3

v1.1.2

18 Jul 22:25

Choose a tag to compare

What's Changed

Full Changelog: v1.1.1...v1.1.2