Skip to content

Commit 8486f32

Browse files
committed
Publish v0.31.0
1 parent 7d8b6b9 commit 8486f32

File tree

4 files changed

+17
-5
lines changed

4 files changed

+17
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ All notable changes to the Reactodia will be documented in this document.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).
55

66
## [Unreleased]
7+
8+
## [0.31.0] - 2025-11-15
79
#### 🚀 New Features
810
- Simplify canvas widgets placement at one or multiple layers:
911
* Canvas children are always assumed to be viewport widgets;
@@ -564,7 +566,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
564566
- Use RDF/JS-compatible IRI and literal terms.
565567
- Removed blank nodes discovery support from `SparqlDataProvider` (might be reimplemented in the future).
566568

567-
[Unreleased]: https://github.com/reactodia/reactodia-workspace/compare/v0.30.1...HEAD
569+
[Unreleased]: https://github.com/reactodia/reactodia-workspace/compare/v0.31.0...HEAD
570+
[0.31.0]: https://github.com/reactodia/reactodia-workspace/compare/v0.30.1...v0.31.0
568571
[0.30.1]: https://github.com/reactodia/reactodia-workspace/compare/v0.30.0...v0.30.1
569572
[0.30.0]: https://github.com/reactodia/reactodia-workspace/compare/v0.29.1...v0.30.0
570573
[0.29.1]: https://github.com/reactodia/reactodia-workspace/compare/v0.29.0...v0.29.1

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function BasicExample() {
4747
for (const {element} of await dataProvider.lookup({elementTypeId})) {
4848
model.createElement(element);
4949
}
50-
await model.requestLinks();
50+
await model.requestData();
5151

5252
// Layout elements on canvas
5353
await performLayout({signal});
@@ -65,10 +65,19 @@ Look for more examples in the [documentation](https://reactodia.github.io/docs/c
6565

6666
## Development
6767

68+
### Build
69+
70+
The library uses [Vite](https://vite.dev/) for local development and to build the output bundles:
71+
72+
* Run `npm run start` to serve examples locally.
73+
* Run `npm run build && npm run typings` to build the `dist` folder with output bundles and library TypeScript typings.
74+
6875
### Tests
6976

7077
The library uses [Vitest](https://vitest.dev/) as a testing framework: run `npm run test` to execute all tests.
7178

79+
The tests use [Vitest Browser Mode](https://vitest.dev/guide/browser/) so the following command should be executed first to download browser binaries for the [Playwright]: `npx playwright install chromium`.
80+
7281
See [Vitest Debugging](https://vitest.dev/guide/debugging) documentation page for an integrated debugger setup for the tests (e.g. VSCode debugger).
7382

7483
## License

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@reactodia/workspace",
3-
"version": "0.31.0-dev",
3+
"version": "0.31.0",
44
"description": "Reactodia Workspace -- library for visual interaction with graphs in a form of a diagram.",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)