Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
18 changes: 16 additions & 2 deletions .github/workflows/push_to_nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ jobs:

runs-on: ubuntu-latest

# Needed for nuget.org Trusted Publishing (GitHub OIDC token exchange).
permissions:
id-token: write
contents: read

steps:
- name: Checkout code
uses: actions/checkout@v3
Expand All @@ -25,7 +30,6 @@ jobs:
- name: 'Setup Nuget'
uses: nuget/setup-nuget@v1
with:
nuget-api-key: ${{ secrets.NUGET_API_KEY }}
nuget-version: '5.x'
- name: Setup .NET
uses: actions/setup-dotnet@v2
Expand All @@ -38,5 +42,15 @@ jobs:
cp Metadata/*.nuspec build/
- name: 'Run nuget pack'
run: nuget pack build/*.nuspec -OutputDirectory build
# Trusted Publishing: exchanges the GitHub OIDC token for a short-lived
# nuget.org API key. Requires a Trusted Publishing policy on nuget.org
# for RealEstateCore/rec + push_to_nuget.yml, owned by the user below.
- name: 'Log in to nuget.org (Trusted Publishing)'
id: nuget-login
uses: NuGet/login@v1
with:
user: PeteHart
- name: 'Publish to nuget.org'
run: nuget push build/*.nupkg -Source "${{ env.NUGET_FEED_URL }}" -SkipDuplicate
env:
NUGET_API_KEY: ${{ steps.nuget-login.outputs.NUGET_API_KEY }}
run: nuget push build/*.nupkg -ApiKey "$NUGET_API_KEY" -Source "${{ env.NUGET_FEED_URL }}" -SkipDuplicate -NonInteractive
20 changes: 20 additions & 0 deletions ReleaseNotes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# RealEstateCore Release Notes

## V4.2 -- Wing

REC 4.2 is a minor, backwards-compatible release.

### New Features

* **Wing.** New `Wing` class under `Space/Architecture/SubBuilding/`, a subclass of `SubBuilding`. Brick 1.4 deprecates its `brick:Location` domain in favour of `rec:Space`, and `brick:Wing` was the only Brick location class without a REC counterpart. For new modelling, REC still recommends the more general `SubBuilding` where possible. Available in both the DTDL and SHACL models.

### Governance

* ODR 004 — Introduction of Space:Wing

### Fixes

* NuGet: the v4.1 package was not published to nuget.org because the publish step failed. 4.2 is the first 4.x release on NuGet since 4.0.0.19 and includes all 4.1 changes.

### Known issues

* The edge message schema has not yet been updated for REC4. A REC4-compliant edge message schema remains planned for a later release in the 4.x series.

## V4.1 -- Warranty, new room types, governance framework

REC 4.1 is a minor, backwards-compatible release that consolidates feature additions, clarifications, and governance improvements accumulated since v4.0.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"displayName": {
"en": "Wing"
},
"comment": {
"description": {
"en": "Introduced in REC as Brick is deprecating their location domain. A building may comprise quite many elements such as towers, annexes, rotundas etc. As well as wings. It's difficult to capture all variations in the ontology and REC recommend to use the generalization sub building if possible."
},
"extends": "dtmi:org:w3id:rec:SubBuilding;1",
Expand Down
7 changes: 7 additions & 0 deletions Source/SHACL/RealEstateCore/rec.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -2916,6 +2916,13 @@ rec:WasteManagementRoom
rdfs:label "Waste management room" ;
rdfs:subClassOf rec:Room ;
.
rec:Wing
rdf:type rdfs:Class ;
rdf:type sh:NodeShape ;
rdfs:comment "Introduced in REC as Brick is deprecating their location domain. A building may comprise quite many elements such as towers, annexes, rotundas etc. As well as wings. It's difficult to capture all variations in the ontology and REC recommend to use the generalization sub building if possible." ;
rdfs:label "Wing" ;
rdfs:subClassOf rec:SubBuilding ;
.
rec:Window
rdf:type rdfs:Class ;
rdf:type sh:NodeShape ;
Expand Down
Loading