Skip to content
This repository was archived by the owner on Nov 27, 2025. It is now read-only.

Commit 21f6a2b

Browse files
Merge branch 'openscd:main' into main
2 parents b886038 + 53f24cb commit 21f6a2b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+5523
-4124
lines changed

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CHROME_PATH=
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
on:
2+
release:
3+
types: [published] # This triggers when a new release is published
4+
5+
permissions:
6+
contents: write
7+
8+
name: attach-release-assets
9+
10+
jobs:
11+
attach-assets:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout
15+
uses: actions/[email protected]
16+
- name: Use Node.js 18.x
17+
uses: actions/setup-node@v1
18+
with:
19+
node-version: "18.x"
20+
- name: Install and Build OpenSCD
21+
run: |
22+
npm i @nx/nx-linux-x64-gnu
23+
npm clean-install
24+
npm run-script build
25+
npm run-script doc
26+
- name: Copy Core Docs to OpenSCD
27+
run: cp -R packages/core/doc packages/distribution/build/core-doc
28+
29+
- name: Copy Plugin Docs to OpenSCD
30+
run: cp -R packages/plugins/doc packages/distribution/build/plugin-doc
31+
32+
- name: Compress files
33+
run: tar -czf open-scd.tar.gz -C packages/distribution/build
34+
35+
- name: Upload release files
36+
run: gh release upload ${{ steps.release.outputs.tag_name }} open-scd.tar.gz
37+
env:
38+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release-please.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ on:
22
push:
33
branches:
44
- main
5-
paths:
6-
- "packages/core/**"
75

86
permissions:
97
contents: write

.github/workflows/save-pr-data-to-file.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
run: echo ${{ github.event.pull_request.node_id }} > PR_NODE_ID.txt && echo ${{ github.event.action }} > EVENT_ACTION.txt
1919
- name: Archive PR node_id and event_action
2020
if: github.event_name == 'pull_request' || github.event_name == 'pull_request_target'
21-
uses: actions/upload-artifact@v3
21+
uses: actions/upload-artifact@v4
2222
with:
2323
name: PR_DATA
2424
path: |
@@ -29,7 +29,7 @@ jobs:
2929
run: echo ${{ github.event.pull_request.node_id }} > PR_NODE_ID.txt && echo ${{ github.event.review.state }} > REVIEW_STATE.txt
3030
- name: Archive PR and review_state
3131
if: github.event_name == 'pull_request_review'
32-
uses: actions/upload-artifact@v3
32+
uses: actions/upload-artifact@v4
3333
with:
3434
name: REVIEW_DATA
3535
path: |

.github/workflows/test-and-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on: pull_request
33

44
jobs:
55
test-and-build:
6-
runs-on: ubuntu-latest
6+
runs-on: ubuntu-22.04
77
steps:
88
- name: Checkout
99
uses: actions/[email protected]

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
test:
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-22.04
1212
steps:
1313
- name: Checkout
1414
uses: actions/[email protected]

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,6 @@ node_modules/
2525
/lerna-debug.log
2626

2727
.nx/cache
28+
29+
# environment variables
30+
.env

.release-please-manifest.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"packages/openscd": "0.35.0",
3-
"packages/core": "0.1.2",
4-
".": "0.35.0"
2+
"packages/openscd": "0.37.0",
3+
"packages/core": "0.1.4",
4+
".": "0.37.1"
55
}

CHANGELOG.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,43 @@
11
# Changelog
22

3+
## [0.37.1](https://github.com/openscd/open-scd/compare/v0.37.0...v0.37.1) (2025-02-04)
4+
5+
6+
### Features
7+
8+
* Programatic Plugin Activation ([#1611](https://github.com/openscd/open-scd/issues/1611)) ([d3b2a0a](https://github.com/openscd/open-scd/commit/d3b2a0a7b2d08d0ce5484567ebfe6c6d4e548c5e))
9+
10+
## [0.37.0](https://github.com/openscd/open-scd/compare/v0.36.0...v0.37.0) (2025-01-27)
11+
12+
13+
### Features
14+
15+
* Edit api v3 ([#1615](https://github.com/openscd/open-scd/issues/1615)) ([ce39e2b](https://github.com/openscd/open-scd/commit/ce39e2b7bfcda40659f36e40659b1efd571f2a53))
16+
* **monorepo:** Add contributing guide ([#1588](https://github.com/openscd/open-scd/issues/1588)) ([dd692a8](https://github.com/openscd/open-scd/commit/dd692a8d9784aaf5f8509fdad5298293195d1465))
17+
18+
## [0.36.0](https://github.com/openscd/open-scd/compare/v0.35.0...v0.36.0) (2024-11-14)
19+
20+
21+
### ⚠ BREAKING CHANGES
22+
23+
* Edit API v1 validation is no longer supported (e.g. edit api v1 checked if an elements id was unique in the document)
24+
* Edit event v1 properties `derived` and `checkValidity` will be ignored
25+
26+
### Features
27+
28+
* Allow .fsd file creation ([d9a4a0c](https://github.com/openscd/open-scd/commit/d9a4a0c6f6a0c9c86927d80bf5c81b4e9f6fc6d5))
29+
* Edit events v1 will be converted event v2 ([14e933e](https://github.com/openscd/open-scd/commit/14e933ed776ec5592c3c38e84b9884fa41a05e81))
30+
* Editor plugins can be rendered without an active document ([8b06a37](https://github.com/openscd/open-scd/commit/8b06a375ecfbc6275c5238d4a95383f4e80449b8))
31+
* Handle Config Plugin Events ([a510664](https://github.com/openscd/open-scd/commit/a5106648367dad831a248b734cd5c34aa1043d89))
32+
* render plugin download UI on event ([44a51f0](https://github.com/openscd/open-scd/commit/44a51f05797e8dd6345215c177a2e7b68e189d69))
33+
* Support edit api v2 ([#1581](https://github.com/openscd/open-scd/issues/1581)) ([14e933e](https://github.com/openscd/open-scd/commit/14e933ed776ec5592c3c38e84b9884fa41a05e81))
34+
35+
36+
### Bug Fixes
37+
38+
* 1553 LN LN0 wizards read only attributes ([#1568](https://github.com/openscd/open-scd/issues/1568)) ([87aa759](https://github.com/openscd/open-scd/commit/87aa75961c7ef0bfe11810d2fa5d4e08704da033)), closes [#1553](https://github.com/openscd/open-scd/issues/1553)
39+
* correct plug-ins' paths ([a7a14ce](https://github.com/openscd/open-scd/commit/a7a14ced59294d8a24daabf5ecdc76a5dbb75237))
40+
341
## [0.35.0](https://github.com/openscd/open-scd/compare/v0.34.0...v0.35.0) (2024-07-17)
442

543
### Features

0 commit comments

Comments
 (0)