Skip to content

Commit dc7abd3

Browse files
authored
Merge pull request #1513 from compas-dev/tolerance_bugfix
COMPAS-2.x.LTS: Tolerance bugfix
2 parents e34268a + 13febbe commit dc7abd3

3 files changed

Lines changed: 340 additions & 42 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Added
1111

12+
* Added `TOL.update()` method for explicit global state modification.
13+
* Added `TOL.temporary()` context manager for scoped changes.
14+
1215
### Changed
1316

17+
* Changed `Tolerance` class to no longer use singleton pattern. `Tolerance()` now creates independent instances instead of returning the global `TOL`.
18+
* Renamed `Tolerance.units` to `Tolerance.unit` to better reflect the documented properties. Left `units` with deprecation warning.
19+
1420
### Removed
1521

1622

0 commit comments

Comments
 (0)