Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
0659426
Update assembly file version to 9.3.0.0
BHoMBot Jul 6, 2026
c5f29cd
feat: uptick to version 9.3
sakanni Jul 3, 2026
5f3beec
fix: set Upgrader attribute to (9, 3) in v93.cs
sakanni Jul 3, 2026
29b305d
chore: bump copyright year in v93.cs to 2026
sakanni Jul 3, 2026
1b2209d
Adding test datasets
adecler Jul 8, 2026
9775665
Adding local test runner exe
adecler Jul 8, 2026
cbb4795
test: update versioning test datasets to 9.2 for milestone 9.3
sakanni Jul 8, 2026
f5ccf58
Making sure datasets use net472 version when core version not compati…
adecler Jul 8, 2026
9a95d26
Fixing more compatibility issues with net472
adecler Jul 8, 2026
d6d1d5c
Removing failing Revit entries
adecler Jul 9, 2026
2326024
Fixing copyright compliance
adecler Jul 9, 2026
10795e3
Start of milestone changes for 9.3 (#342)
sakanni Jul 9, 2026
f37ad54
Add upgrade method for MEPGlobalTagSettings
vietle-bh Jul 10, 2026
17fdb0c
Add upgrade method for BaseTagSettings
vietle-bh Jul 13, 2026
a23bcd1
ci: onboard new CI checks (beta tier)
sakanni Jul 14, 2026
1dfbdc2
Add more upgrade methods
vietle-bh Jul 16, 2026
8f4a2cb
Handle removal of TagObscuredDisciplineElements prop
vietle-bh Jul 17, 2026
a8fd910
Handle RiserLeaderAngle renamed on PointTagSettings
vietle-bh Jul 17, 2026
d44c171
Onboard new CI checks (beta tier) (#343)
sakanni Jul 22, 2026
218891c
Code clean-up
vietle-bh Jul 23, 2026
8115b4b
ci: prefix job names with ci- to avoid BHoMBot status-check name coll…
sakanni Jul 24, 2026
937db6a
ci: prefix CI check names to avoid BHoMBot collision (#345)
sakanni Jul 27, 2026
9875fb7
Version tagging settings (#344)
sakanni Jul 31, 2026
e7f793e
ci: point the CI workflow at BHoM/CI_Toolkit
sakanni Aug 14, 2026
0a79481
ci: point the CI workflow at BHoM/CI_Toolkit (#347)
sakanni Aug 18, 2026
9c7818e
upgade placement settings added
michal-pekacki Sep 2, 2026
40a1ad2
Placement settings custom versioning (#348)
pawelbaran Sep 9, 2026
cdd0162
potential fix for SimulationResult versioning issue
Tom-Kingstone Sep 15, 2026
d28d57b
oops
Tom-Kingstone Sep 15, 2026
f421c34
Fix versioning for BH.oM.LadybugTools.SimulationResult (#355)
peterjamesnugent Sep 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .ci/code/TestRunner/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/*
* This file is part of the Buildings and Habitats object Model (BHoM)
* Copyright (c) 2015 - 2026, the respective contributors. All rights reserved.
*
* Each contributor holds copyright over their respective contributions.
* The project versioning (Git) records all such contribution source information.
*
*
* The BHoM is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3.0 of the License, or
* (at your option) any later version.
*
* The BHoM is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this code. If not, see <https://www.gnu.org/licenses/lgpl-3.0.html>.
*/

using BH.oM.Test.Results;

TestResult result = BH.Test.Versioning.Verify.FromJsonDatasets();

Console.WriteLine("Result: " + result.Status);
Console.WriteLine(result.Message);
33 changes: 33 additions & 0 deletions .ci/code/TestRunner/TestRunner.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="System.Drawing.Common" Version="8.0.0" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Versioning_Test\Versioning_Test.csproj" />
</ItemGroup>

<ItemGroup>
<Reference Include="BHoM">
<HintPath>$(ProgramData)\BHoM\Assemblies\BHoM.dll</HintPath>
</Reference>
<Reference Include="BHoM_Engine">
<HintPath>$(ProgramData)\BHoM\Assemblies\BHoM_Engine.dll</HintPath>
</Reference>
<Reference Include="Test_Engine">
<HintPath>$(ProgramData)\BHoM\Assemblies\Test_Engine.dll</HintPath>
</Reference>
<Reference Include="Test_oM">
<HintPath>$(ProgramData)\BHoM\Assemblies\Test_oM.dll</HintPath>
</Reference>
</ItemGroup>

</Project>
11 changes: 8 additions & 3 deletions .ci/code/Verification.sln
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.28307.1259
# Visual Studio Version 17
VisualStudioVersion = 17.14.37012.4 d17.14
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Versioning_Test", "Versioning_Test\Versioning_Test.csproj", "{9841FB69-E472-4A52-B25B-FA11288BC54B}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestRunner", "TestRunner\TestRunner.csproj", "{BE7FA48D-0CA9-401D-92D2-8E3D5C27EA15}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -15,6 +16,10 @@ Global
{9841FB69-E472-4A52-B25B-FA11288BC54B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9841FB69-E472-4A52-B25B-FA11288BC54B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9841FB69-E472-4A52-B25B-FA11288BC54B}.Release|Any CPU.Build.0 = Release|Any CPU
{BE7FA48D-0CA9-401D-92D2-8E3D5C27EA15}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BE7FA48D-0CA9-401D-92D2-8E3D5C27EA15}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BE7FA48D-0CA9-401D-92D2-8E3D5C27EA15}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BE7FA48D-0CA9-401D-92D2-8E3D5C27EA15}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
51 changes: 51 additions & 0 deletions .ci/code/Versioning_Test/Datasets/9.2/Adapters.json

Large diffs are not rendered by default.

7,287 changes: 7,287 additions & 0 deletions .ci/code/Versioning_Test/Datasets/9.2/Methods.json

Large diffs are not rendered by default.

1,713 changes: 1,713 additions & 0 deletions .ci/code/Versioning_Test/Datasets/9.2/Objects.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions .ci/code/Versioning_Test/Verify/FromJson.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ public static partial class Verify
public static TestResult FromJsonDatasets(bool testAll = false)
{
string testFolder = @"C:\ProgramData\BHoM\Datasets\TestSets\Versioning";
List<string> versions = new List<string> { "9.1" };
List<string> versions = new List<string> { "9.2" };
if (testAll)
versions.AddRange(new List<string> { "9.0", "8.3", "8.2", "8.1", "8.0", "7.3", "7.2", "7.1", "7.0", "6.3", "6.2", "6.1", "6.0", "5.3", "5.2", "5.1", "5.0", "4.3", "4.2", "4.1", "4.0", "3.3" });
versions.AddRange(new List<string> { "9.1", "9.0", "8.3", "8.2", "8.1", "8.0", "7.3", "7.2", "7.1", "7.0", "6.3", "6.2", "6.1", "6.0", "5.3", "5.2", "5.1", "5.0", "4.3", "4.2", "4.1", "4.0", "3.3" });

string exceptions = "Grasshopper|Rhinoceros";

Expand Down
122 changes: 61 additions & 61 deletions .ci/code/Versioning_Test/Versioning_Test.csproj
Original file line number Diff line number Diff line change
@@ -1,61 +1,61 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net472</TargetFramework>
<OutputType>Library</OutputType>
<RootNamespace>BH.Test.Versioning</RootNamespace>
<OutputPath>..\Build\</OutputPath>
<AssemblyTitle>Versioning_Test</AssemblyTitle>
<Description>https://github.com/BHoM/Versioning_Toolkit</Description>
<Product>Versioning_Test</Product>
<Copyright>Copyright � https://github.com/BHoM</Copyright>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<FileVersion>9.2.0.0</FileVersion>
</PropertyGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="xcopy &quot;$(TargetDir)$(TargetFileName)&quot; &quot;C:\ProgramData\BHoM\Assemblies&quot; /Y&#xD;&#xA;xcopy &quot;$(ProjectDir)Datasets&quot; &quot;C:\ProgramData\BHoM\Datasets\TestSets\Versioning&quot; /E /H /C /I /R /Y" />
</Target>
<ItemGroup>
<Reference Include="BHoM">
<HintPath>$(ProgramData)\BHoM\Assemblies\BHoM.dll</HintPath>
<Private>False</Private>
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="BHoM_Engine">
<HintPath>$(ProgramData)\BHoM\Assemblies\BHoM_Engine.dll</HintPath>
<Private>False</Private>
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="Library_Engine">
<HintPath>$(ProgramData)\BHoM\Assemblies\Library_Engine.dll</HintPath>
<Private>False</Private>
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="Serialiser_Engine">
<HintPath>$(ProgramData)\BHoM\Assemblies\Serialiser_Engine.dll</HintPath>
<Private>False</Private>
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="Test_Engine">
<HintPath>$(ProgramData)\BHoM\Assemblies\Test_Engine.dll</HintPath>
<Private>False</Private>
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="Test_oM">
<HintPath>$(ProgramData)\BHoM\Assemblies\Test_oM.dll</HintPath>
<Private>False</Private>
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="Versioning_Engine">
<HintPath>$(ProgramData)\BHoM\Assemblies\Versioning_Engine.dll</HintPath>
<Private>False</Private>
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="Versioning_oM">
<HintPath>$(ProgramData)\BHoM\Assemblies\Versioning_oM.dll</HintPath>
<Private>False</Private>
<SpecificVersion>False</SpecificVersion>
</Reference>
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
<PackageReference Include="System.Data.DataSetExtensions" Version="4.5.0" />
</ItemGroup>
</Project>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net472</TargetFramework>
<OutputType>Library</OutputType>
<RootNamespace>BH.Test.Versioning</RootNamespace>
<OutputPath>..\Build\</OutputPath>
<AssemblyTitle>Versioning_Test</AssemblyTitle>
<Description>https://github.com/BHoM/Versioning_Toolkit</Description>
<Product>Versioning_Test</Product>
<Copyright>Copyright � https://github.com/BHoM</Copyright>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<FileVersion>9.3.0.0</FileVersion>
</PropertyGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="xcopy &quot;$(TargetDir)$(TargetFileName)&quot; &quot;C:\ProgramData\BHoM\Assemblies&quot; /Y&#xD;&#xA;xcopy &quot;$(ProjectDir)Datasets&quot; &quot;C:\ProgramData\BHoM\Datasets\TestSets\Versioning&quot; /E /H /C /I /R /Y" />
</Target>
<ItemGroup>
<Reference Include="BHoM">
<HintPath>$(ProgramData)\BHoM\Assemblies\BHoM.dll</HintPath>
<Private>False</Private>
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="BHoM_Engine">
<HintPath>$(ProgramData)\BHoM\Assemblies\BHoM_Engine.dll</HintPath>
<Private>False</Private>
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="Library_Engine">
<HintPath>$(ProgramData)\BHoM\Assemblies\Library_Engine.dll</HintPath>
<Private>False</Private>
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="Serialiser_Engine">
<HintPath>$(ProgramData)\BHoM\Assemblies\Serialiser_Engine.dll</HintPath>
<Private>False</Private>
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="Test_Engine">
<HintPath>$(ProgramData)\BHoM\Assemblies\Test_Engine.dll</HintPath>
<Private>False</Private>
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="Test_oM">
<HintPath>$(ProgramData)\BHoM\Assemblies\Test_oM.dll</HintPath>
<Private>False</Private>
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="Versioning_Engine">
<HintPath>$(ProgramData)\BHoM\Assemblies\Versioning_Engine.dll</HintPath>
<Private>False</Private>
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="Versioning_oM">
<HintPath>$(ProgramData)\BHoM\Assemblies\Versioning_oM.dll</HintPath>
<Private>False</Private>
<SpecificVersion>False</SpecificVersion>
</Reference>
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
<PackageReference Include="System.Data.DataSetExtensions" Version="4.5.0" />
</ItemGroup>
</Project>
138 changes: 138 additions & 0 deletions .github/workflows/ci-beta.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
# Beta-tier proxy, BHoM variant. Bundles the tier's checks plus
# copyright-compliance (BHoM enforces OSS copyright; the BHE variant omits it).
# Copy to .github/workflows/ci-beta.yml in each BHoM beta repo.
# Runs on pull_request, non-blocking until a ruleset requires its checks.
# Workflow name CI keeps check contexts bare: required contexts are the job names.

name: CI

on:
pull_request:
branches:
- develop

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true

jobs:
ci-build:
runs-on: windows-2025-vs2026
timeout-minutes: 30
steps:
- name: Run build
uses: BHoM/CI_Toolkit/.github/actions/ci-build@develop
with:
app_id: ${{ secrets.BHOM_APP_ID }}
private_key: ${{ secrets.BHOM_APP_PRIVATE_KEY }}

ci-code-compliance:
runs-on: windows-2025-vs2026
timeout-minutes: 20
permissions:
contents: read
pull-requests: read
actions: write
steps:
- name: Run code compliance
uses: BHoM/CI_Toolkit/.github/actions/ci-compliance@develop
with:
check_type: code
patterns: '*.cs'
app_id: ${{ secrets.BHOM_APP_ID }}
private_key: ${{ secrets.BHOM_APP_PRIVATE_KEY }}

ci-copyright-compliance:
runs-on: windows-2025-vs2026
timeout-minutes: 20
permissions:
contents: read
pull-requests: read
actions: write
steps:
- name: Run copyright compliance
uses: BHoM/CI_Toolkit/.github/actions/ci-compliance@develop
with:
check_type: copyright
patterns: '*.cs'
app_id: ${{ secrets.BHOM_APP_ID }}
private_key: ${{ secrets.BHOM_APP_PRIVATE_KEY }}

ci-dataset-compliance:
runs-on: windows-2025-vs2026
timeout-minutes: 20
permissions:
contents: read
pull-requests: read
actions: write
steps:
- name: Run dataset compliance
uses: BHoM/CI_Toolkit/.github/actions/ci-compliance@develop
with:
check_type: dataset
patterns: ':(icase)*datasets*.json'
app_id: ${{ secrets.BHOM_APP_ID }}
private_key: ${{ secrets.BHOM_APP_PRIVATE_KEY }}

ci-documentation-compliance:
runs-on: windows-2025-vs2026
timeout-minutes: 20
permissions:
contents: read
pull-requests: read
actions: write
steps:
- name: Run documentation compliance
uses: BHoM/CI_Toolkit/.github/actions/ci-compliance@develop
with:
check_type: documentation
patterns: '*.cs'
app_id: ${{ secrets.BHOM_APP_ID }}
private_key: ${{ secrets.BHOM_APP_PRIVATE_KEY }}

ci-project-compliance:
runs-on: windows-2025-vs2026
timeout-minutes: 20
permissions:
contents: read
pull-requests: read
actions: write
steps:
- name: Run project compliance
uses: BHoM/CI_Toolkit/.github/actions/ci-compliance@develop
with:
check_type: project
patterns: '*AssemblyInfo.cs *.csproj'
app_id: ${{ secrets.BHOM_APP_ID }}
private_key: ${{ secrets.BHOM_APP_PRIVATE_KEY }}

ci-dataset-tests:
runs-on: windows-2025-vs2026
timeout-minutes: 30
steps:
- name: Run dataset tests
uses: BHoM/CI_Toolkit/.github/actions/ci-dataset-tests@develop
with:
app_id: ${{ secrets.BHOM_APP_ID }}
private_key: ${{ secrets.BHOM_APP_PRIVATE_KEY }}

ci-serialisation:
runs-on: windows-2025-vs2026
timeout-minutes: 90
steps:
- name: Run serialisation
uses: BHoM/CI_Toolkit/.github/actions/ci-serialisation@develop
with:
app_id: ${{ secrets.BHOM_APP_ID }}
private_key: ${{ secrets.BHOM_APP_PRIVATE_KEY }}
base_ref: ${{ github.base_ref }}

ci-versioning:
runs-on: windows-2025-vs2026
timeout-minutes: 90
steps:
- name: Run versioning
uses: BHoM/CI_Toolkit/.github/actions/ci-versioning@develop
with:
app_id: ${{ secrets.BHOM_APP_ID }}
private_key: ${{ secrets.BHOM_APP_PRIVATE_KEY }}
7 changes: 5 additions & 2 deletions BHoMUpgrades/BHoMUpgrades.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<Version>5.0.0</Version>
<Copyright>Copyright © https://github.com/BHoM</Copyright>
<RootNamespace>BH.oM.Base</RootNamespace>
<FileVersion>9.2.0.0</FileVersion>
<FileVersion>9.3.0.0</FileVersion>
<BaseOutputPath>..\Build</BaseOutputPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
Expand Down Expand Up @@ -111,10 +111,13 @@
<None Update="Upgrades\v91.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="Upgrades\v92.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>

<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="xcopy &quot;$(TargetDir)$(TargetFileName)&quot; &quot;C:\ProgramData\BHoM\Upgrades\BHoMUpgrades\&quot; /Y&#xD;&#xA;xcopy /Y /I /S /E &quot;$(TargetDir)Upgrades&quot; &quot;C:\ProgramData\BHoM\Upgrades\BHoMUpgrades\Upgrades&quot;&#xD;&#xA;call &quot;$(SolutionDir)PostBuild\Build\PostBuild.exe&quot; ..\..\ &quot;C:\ProgramData\BHoM\Upgrades\BHoMUpgrades\Upgrades\v92.json&quot;&#xD;&#xA;" />
<Exec Command="xcopy &quot;$(TargetDir)$(TargetFileName)&quot; &quot;C:\ProgramData\BHoM\Upgrades\BHoMUpgrades\&quot; /Y&#xD;&#xA;xcopy /Y /I /S /E &quot;$(TargetDir)Upgrades&quot; &quot;C:\ProgramData\BHoM\Upgrades\BHoMUpgrades\Upgrades&quot;&#xD;&#xA;call &quot;$(SolutionDir)PostBuild\Build\PostBuild.exe&quot; ..\..\ &quot;C:\ProgramData\BHoM\Upgrades\BHoMUpgrades\Upgrades\v93.json&quot;&#xD;&#xA;" />
</Target>

</Project>
Loading