|
| 1 | +# Release 2026.0.2-preview.1.20251113 |
| 2 | + |
| 3 | +This update focuses on improved API design through C# 14 extension methods syntax and .NET 10 support. |
| 4 | + |
| 5 | +## Breaking changes |
| 6 | + |
| 7 | +**Extension Methods** |
| 8 | + |
| 9 | +The following boolean methods have been converted to properties for improved syntax and consistency with modern C# conventions: |
| 10 | + |
| 11 | +- **IsAnalyticalElement:** Changed from method to property |
| 12 | +- **IsPhysicalElement:** Changed from method to property |
| 13 | +- **AreGlobalParametersAllowed:** Changed from method to property |
| 14 | +- **IsBuiltInParameter (ForgeTypeId):** Changed from method to property |
| 15 | +- **IsBuiltInParameter (Parameter):** Changed from method to property |
| 16 | +- **IsBuiltInGroup:** Changed from method to property |
| 17 | +- **HasOpenConnector:** Changed from method to property |
| 18 | +- **IsAllowedForSolidCut:** Changed from method to property |
| 19 | +- **IsElementFromAppropriateContext:** Changed from method to property |
| 20 | +- **IsValidForTessellation:** Changed from method to property |
| 21 | +- **IsSpec:** Changed from method to property |
| 22 | +- **IsValidDataType:** Changed from method to property |
| 23 | +- **IsSymbol:** Changed from method to property |
| 24 | +- **IsUnit:** Changed from method to property |
| 25 | +- **IsMeasurableSpec:** Changed from method to property |
| 26 | +- **CanDeleteElement:** Renamed to **CanBeDeleted** and kept as method |
| 27 | + |
| 28 | +**Migration example:** |
| 29 | + |
| 30 | +```csharp |
| 31 | +// Old syntax |
| 32 | +if (element.IsAnalyticalElement()) |
| 33 | +{ |
| 34 | + // ... |
| 35 | +} |
| 36 | + |
| 37 | +// New syntax |
| 38 | +if (element.IsAnalyticalElement) |
| 39 | +{ |
| 40 | + // ... |
| 41 | +} |
| 42 | +``` |
| 43 | + |
| 44 | +## Improvements |
| 45 | + |
| 46 | +- **Revit 2019** support by @ZedMoster in https://github.com/Nice3point/RevitExtensions/pull/13 |
| 47 | +- **SDK Update:** Updated to stable .NET 10 SDK |
| 48 | +- **Documentation:** Updated parameter descriptions and variable names to align with C# 14 syntax |
| 49 | +- **Build System:** Migration from Nuke to ModularPipilines |
| 50 | + |
1 | 51 | # Release 2026.0.1 |
2 | 52 |
|
3 | 53 | This update focuses on increased utility class coverage, new extensions for global parameter management, for ForgeTypeId handling, advanced geometry extensions, and many-many more. |
|
0 commit comments