Repository navigation
Releases
2026.2.0
What's Changed
- Use DAGTraverser instead of MultiFunction for ufl2unicode by @connorjward in #481
- Bump version to 2026.2.0.dev0 by @jhale in #487
- Roll out fenicsx-refs.env system to CI workflows by @jhale in #488
- Bump actions/checkout from 6 to 7 by @dependabot[bot] in #491
- Minitypo by @massimiliano-leoni in #489
- Simplify trivial FormSum by @pbrubeck in #492
- Bump actions/setup-python from 6 to 7 by @dependabot[bot] in #498
- Formatting fixes with latest ruff by @jorgensd in #499
- Fix ZeroBaseForm holes in derivative expansion and action by @pbrubeck in #494
- Fix generic terminal traversal for BaseForm types in extract_domains by @pbrubeck in #502
- Cancel contractions of the Jacobian with its inverse by @pbrubeck in #496
- Install dolfinx dependencies on CI with group by @jorgensd in #505
- Use the accessed sub-element's degree for indexed mixed-element components by @garth-wells in #503
- Reduce the estimated degree only on simplex cells by @pbrubeck in #506
- Extract linear combination from
ufl-expression by @jorgensd in #504 - Further extensions to extract linear combination by @jorgensd in #507
- Improve/fix adjoint computation on mixed function space by @jorgensd in #508
- Introduce argument.reconstruct by @jorgensd in #509
- Fix Interpolate holes by @pbrubeck in #497
- Give each pull back an inverse by @pbrubeck in #511
- Evaluate interpolations on the reference cell in compute_form_data by @pbrubeck in #512
- Add a signature to ZeroBaseForm by @pbrubeck in #514
- Support string subdomain IDs by @pbrubeck in #493
- Fix complex comparison checking after index expansion by @pbrubeck in #516
- Fix complex arity checks for linear operators by @pbrubeck in #517
New Contributors
- @massimiliano-leoni made their first contribution in #489
Full Changelog: 2026.1.0...2026.2.0
2026.1.0
This release of UFL was created to support the DOLFINx/FFC/Basix 0.11.0 release. The Changelog below was generated against the last DOLFINx-related release, 2025.2.0, rather than the last Firedrake-related release 2025.3.0.
What's Changed with respect to 2025.2.0
- Handle restrictions on MeshSequence by @ksagiyam in #264
- Switch to released Python 3.14 by @schnellerhase in #428
- Fix docstring typo by @connorjward in #430
- Bump to dev0 version by @jorgensd in #433
- Try splitting python-app workflow into separable steps by @jorgensd in #434
- Tweaks to new CI. by @jhale in #435
- Another attempt to get SSH push working by @jhale in #436
- Inherit SHA from workflow caller by @jhale in #437
- Switch to pydata_sphinx_theme and improve documentation (reduce number of warnings) by @jorgensd in #438
- Change
AbstractCellmembers to properties by @schnellerhase in #385 - Restore dolfinx CI by @jorgensd in #440
- Change to dev-main firedrake container for TSFC testing by @schnellerhase in #441
- Bump actions/upload-artifact from 4 to 5 by @dependabot[bot] in #442
- Bump actions/download-artifact from 5 to 6 by @dependabot[bot] in #443
- Fix: string formatting by @schnellerhase in #444
- Introduce CellSequence by @ksagiyam in #429
- Fix composition of
interpolateforms by @leo-collins in #425 - Bump actions/checkout from 5 to 6 by @dependabot[bot] in #446
- Fix action interpolate simplification by @leo-collins in #447
- Bump actions/download-artifact from 6 to 7 by @dependabot[bot] in #453
- Bump actions/upload-artifact from 5 to 6 by @dependabot[bot] in #454
- Fix split(SymmetricTensor) by @pbrubeck in #448
- BUG: prevent ReferenceGradient(Zero) on CoefficientSplitter by @pbrubeck in #455
- Pullback: remove FunctionSpace by @pbrubeck in #452
- Fix float eq. checks by @schnellerhase in #458
- CoefficientSplitter: fix again ReferenceGrad(Zero) by @pbrubeck in #460
- SobolevSpace: add H1Curl, H1Div, and H3 by @pbrubeck in #463
- Use
pytest.raisesrather than self-coded assert raise by @jorgensd in #465 - Bump actions/download-artifact from 7 to 8 by @dependabot[bot] in #467
- Bump actions/upload-artifact from 6 to 7 by @dependabot[bot] in #466
- Update
compute_form_dataandFormDatato use a proper class and remove cell and facet average from balance modifiers. by @jorgensd in #469 - Fix CellEdgeVectors by @pbrubeck in #471
- Extend shape derivative to complex mode by @jorgensd in #462
- Extract_type of specific baseform operator by @jorgensd in #474
- Add missing f to f-string in ufl2unicode by @connorjward in #475
- Replace import * with import H1 by @mscroggs in #480
- Mypy fixes by @jorgensd in #484
- Enhance Measure.call by @pbrubeck in #483
- Drop Python 3.10 support by @jhale in #485
Full Changelog: 2025.2.1...2026.1.0
2025.3.0
This release of UFL was created to support an upcoming Firedrake release. DOLFINx 0.11.0 will likely be released against a future 2025.4.0 version of UFL.
What's Changed
- Handle restrictions on MeshSequence by @ksagiyam in #264
- Switch to released Python 3.14 by @schnellerhase in #428
- Fix docstring typo by @connorjward in #430
- Bump to dev0 version by @jorgensd in #433
- Try splitting python-app workflow into separable steps by @jorgensd in #434
- Tweaks to new CI. by @jhale in #435
- Another attempt to get SSH push working by @jhale in #436
- Inherit SHA from workflow caller by @jhale in #437
- Switch to pydata_sphinx_theme and improve documentation (reduce number of warnings) by @jorgensd in #438
- Change
AbstractCellmembers to properties by @schnellerhase in #385 - Restore dolfinx CI by @jorgensd in #440
- Change to dev-main firedrake container for TSFC testing by @schnellerhase in #441
- Bump actions/upload-artifact from 4 to 5 by @dependabot[bot] in #442
- Bump actions/download-artifact from 5 to 6 by @dependabot[bot] in #443
- Fix: string formatting by @schnellerhase in #444
- Introduce CellSequence by @ksagiyam in #429
- Fix composition of
interpolateforms by @leo-collins in #425 - Bump actions/checkout from 5 to 6 by @dependabot[bot] in #446
- Fix action interpolate simplification by @leo-collins in #447
- Bump actions/download-artifact from 6 to 7 by @dependabot[bot] in #453
- Bump actions/upload-artifact from 5 to 6 by @dependabot[bot] in #454
- Fix split(SymmetricTensor) by @pbrubeck in #448
- BUG: prevent ReferenceGradient(Zero) on CoefficientSplitter by @pbrubeck in #455
- Pullback: remove FunctionSpace by @pbrubeck in #452
- Fix float eq. checks by @schnellerhase in #458
- CoefficientSplitter: fix again ReferenceGrad(Zero) by @pbrubeck in #460
- SobolevSpace: add H1Curl, H1Div, and H3 by @pbrubeck in #463
- Use
pytest.raisesrather than self-coded assert raise by @jorgensd in #465 - Bump actions/download-artifact from 7 to 8 by @dependabot[bot] in #467
- Bump actions/upload-artifact from 6 to 7 by @dependabot[bot] in #466
- Update
compute_form_dataandFormDatato use a proper class and remove cell and facet average from balance modifiers. by @jorgensd in #469 - Fix CellEdgeVectors by @pbrubeck in #471
- Extend shape derivative to complex mode by @jorgensd in #462
- Extract_type of specific baseform operator by @jorgensd in #474
- Add missing f to f-string in ufl2unicode by @connorjward in #475
Full Changelog: 2025.2.1...2025.3.0
2025.2.1
This release backports various bug fixes from the main branch. Users are advised to upgrade.
What's Changed
Full Changelog: 2025.2.0.post0...2025.2.1
2025.2.0.post0
This post-release back ported some CI fixes that allowed the documentation to be built and pushed to https://docs.fenicsproject.org/ufl/2025.2.0/index.html
Users do not need to upgrade. This version will not be pushed to pypa as it is functionally identical to 2025.2.0.
Future versions of UFL will be tagged with v* to allow the CI to know when releases are being created.
Full Changelog: 2025.2.0...2025.2.0.post0
v2025.2.0
What's Changed
- Bump version. by @jhale in #376
- Bug fixes for BaseFormOperator by @pbrubeck in #370
- Fix BaseFormOperator.ufl_function_space by @pbrubeck in #377
- add DAGTraverser class and remove MultiFunctions in apply_derivatives() by @ksagiyam in #365
- fix kwarg name in extract_domains() and extract_unique_domain() : expand_mixed_mesh -> expand_mesh_sequence by @ksagiyam in #381
- Add CoefficientSplitter(DAGTraverser) class and apply_coefficient_split() function by @ksagiyam in #341
mypysupport by @schnellerhase in #356- move test utilities out of ufl.finiteelement by @mscroggs in #364
- Fix autocomplete by @schnellerhase in #379
- Apply
pyupgradeby @schnellerhase in #372 - Mypy fixes for upstream fenics projects by @schnellerhase in #383
- Enforce tests are passing without warnings by @schnellerhase in #384
- Fix bug in operator derivative reconstruction by @indiamai in #388
- Extend
mypytesting to tests and demos by @schnellerhase in #390 - Raise if unused arguments are passed by @schnellerhase in #391
- Remove manpages by @schnellerhase in #393
- add integral domains by @mscroggs in #363
- Add return hatch for empty adjoint by @jorgensd in #392
- Python 3.14 (dev) support by @schnellerhase in #398
- Remove constraint on
ReferenceGradoperand type by @schnellerhase in #400 - Update README.md for coveralls badge by @chrisrichardson in #403
- Update CI badges by @schnellerhase in #402
- Bump actions/checkout from 4 to 5 by @dependabot[bot] in #408
- Fix
attr-definedmypyerrors by @schnellerhase in #387 - Bump actions/download-artifact from 4 to 5 by @dependabot[bot] in #409
- Fix warning by @schnellerhase in #410
- Update pyproject license to new format by @chrisrichardson in #404
- Use extract unique domain by @jorgensd in #413
- Drop Python 3.9 support by @schnellerhase in #414
- Bump actions/setup-python from 5 to 6 by @dependabot[bot] in #417
- Simplify CI compilers by @garth-wells in #418
- Adapt to ruff 0.13.0 by @schnellerhase in #420
- Fix documentation errors by @schnellerhase in #421
- Spack CI updates by @garth-wells in #419
- Extend
ufl.extract_blocksto preserving the initial arguments of an element with sub-spaces (mixed-element) by @jorgensd in #416 - Check
Interpolateargument numbering by @leo-collins in #422 - Expose
ufl.Labelby @jorgensd in #423
New Contributors
- @indiamai made their first contribution in #388
- @leo-collins made their first contribution in #422
Full Changelog: 2025.1.0...2025.2.0
2025.1.0
This release of UFL was created to support an upcoming Firedrake release. DOLFINx 0.10.0 will likely be released against a future 2025.2.0 version of UFL.
What's Changed
- pypi trusted publishing by @jhale in #314
- Bump version number to 0.10.0 by @jhale in #315
- Add dependabot by @jhale in #316
- Add GitHub Token to coveralls step by @jhale in #319
- Bump actions/setup-python from 3 to 5 by @dependabot in #317
- Bump actions/checkout from 3 to 4 by @dependabot in #318
- Add HCurlDiv space and covariant-contravariant Piola mapping by @pbrubeck in #320
- Upload to coveralls and docs from CI job running against python 3.12 by @francesco-ballarin in #321
- Fix pullback for symmetric tensors with non-scalar subelements by @pbrubeck in #322
- Fix Piola pullbacks for VectorElement by @pbrubeck in #323
- Fix PhysicalPullback by @pbrubeck in #324
- FormSum: sort_domains by @pbrubeck in #325
- use main firedrake branches in tests by @mscroggs in #326
- Python 3.12 in tsfc CI workflow by @mscroggs in #328
- Fix action space check by @pbrubeck in #331
- remove apply_default_restrictions() by @ksagiyam in #329
- Action type check by @pbrubeck in #333
- Bump gcc to 12 and ubuntu at 24.04 by @jorgensd in #337
- Fix FormSum weights by @pbrubeck in #335
- Simplify indexed ListTensor objects by @pbrubeck in #336
- Indexed: avoid contraction of repeated indices by @pbrubeck in #338
- Simplify conditional by @pbrubeck in #340
- Bug fix for complex division of numpy.complex by @KarsKnook in #342
- Fix #343 by @mscroggs in #344
- no need to explitly run Symmetry - have removed xfail from ffc by @mscroggs in #347
- Fix BaseFormOperator.ufl_function_space by @pbrubeck in #348
- introduce MeshSequence class by @ksagiyam in #303
- Introduce ridge integrals by @jorgensd in #330
- Update TSFC workflow by @connorjward in #349
- Return ZeroBaseForm for zero derivative by @Ig-dolci in #355
- Extract lhs and rhs from
MixedFunctionSpaceby @jorgensd in #350 - Resolve #353 by @jorgensd in #354
- Add
ufl.actionfor MixedFunctionSpace by @jorgensd in #351 - Extend adjoint action to work with mixed spaces by @jorgensd in #352
- ruff fix by @garth-wells in #358
- Fix missing domain kwarg in pullback by @pbrubeck in #361
- Fix replace_derivative_nodes by @pbrubeck in #360
- Remove component tensors by @pbrubeck in #339
- Changes to TSFC workflow to work with new Firedrake container by @connorjward in #359
- Update Python versions by @schnellerhase in #366
- apply_derivatives: tidy up things around BaseFormOperators by @ksagiyam in #368
- remove_compoment_tensors: fix performance regression by @pbrubeck in #367
- GateauxDerivativeRuleset return zero of the correct shape by @pbrubeck in #371
- Resolve #374 by @jorgensd in #375
New Contributors
- @dependabot made their first contribution in #317
- @KarsKnook made their first contribution in #342
- @schnellerhase made their first contribution in #366
Full Changelog: 2024.2.0...2025.1.0
2024.2.0
This is a major release of UFL and users are recommended to upgrade.
What's Changed
Features and API changes
- Fix extract block for tensor spaces by @jorgensd in #308
- Extend
FormSplitterto handle restrictions by @jorgensd in #310 - Move grouping of integral from
build_integral_datatogroup_form_integralsby @jorgensd in #305 - Remove broken/unused function by @jorgensd in #287
Other changes
- Updated to .md README by @jhale in #275
- Kebab case in build-wheels.yml by @jhale in #276
- Correct documentation links by @jhale in #277
- Remove unnecessary pip pinning by @garth-wells in #278
- Bump version. by @jhale in #279
- Add Windows CI step by @jhale in #281
- Clarify usage of pow and abs by @jorgensd in #286
- Handling of extract_blocks when part is equal to zero. by @jorgensd in #285
- Use extract_unique domain by @jorgensd in #291
- Fix argument-formatter. by @jorgensd in #288
- Remove unused definition to make ruff checks pass by @mscroggs in #299
- Use subdegree instead of superdegree to check cell bendy-ness by @connorjward in #295
- Relax assumption on BaseFormOperator's dual argument slot by @nbouziani in #283
- ConstantValue: Support general dtypes by @pbrubeck in #292
- Make cofunctionals terminal, and test by @dham in #300
- BaseForm: ensure that subclasses implement ufl_domains() by @pbrubeck in #302
- Move FiniteElement.components to FunctionSpace.components by @mscroggs in #307
- Fix pullback of double derivatives on Piola type elements by @jorgensd in #312
Full Changelog: 2024.1.0...2024.2.0
2024.1.0.post1
This release removes pip from the build-system requirements. It is otherwise functionally equivalent with 2024.1.0.
Full Changelog: 2024.1.0.post0...2024.1.0.post1
2024.1.0.post0
This release fixes a few small packaging issues. It is otherwise functionally equivalent with 2024.1.0.
Full Changelog: 2024.1.0...2024.1.0.post0