Skip to content

Commit 5be5e51

Browse files
authoredApr 11, 2024
Merge pull request #23 from Mermaid-Chart/chore/release-v0.2.0-of-the-@mermaidchart/sdk
chore(sdk): publish @mermaidchart/sdk v0.2.0
2 parents e493dca + 8a8eeb4 commit 5be5e51

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed
 

‎packages/sdk/CHANGELOG.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
55

66
## [Unreleased]
77

8+
## [0.2.0] - 2024-04-11
9+
810
### Added
911

1012
- Compile an ESM version of this codebase for Node.JS v18.
1113
- Add `MermaidChart#getDiagram(diagramID)` function to get a diagram.
12-
- Add `MermaidChart#createDocument(projectID)` function to create a digram in a project.
14+
- Add `MermaidChart#createDocument(projectID)` function to create a diagram in a project.
1315
- Add `MermaidChart#setDocument(document)` function to update a diagram.
1416
- Add `MermaidChart#deleteDocument(documentID)` function to delete a diagram.
1517

1618
### Fixed
1719

18-
- Fix `MCDocument` `major`/`minor` type to `number`.
19-
- Add `code` field to `MCDocument` type
20-
21-
### Fixed
22-
20+
- **BREAKING:** Fix `MCDocument` `major`/`minor` type to `number`.
21+
- Add `code` field to `MCDocument` type.
2322
- `MermaidChart#getAuthorizationData()` now correctly sets `state` in the URL
2423
by default.
2524
- `MermaidChart#handleAuthorizationResponse()` now supports relative URLs.
2625

2726
## [0.1.1] - 2023-09-08
27+
2828
- Browser-only build.

‎packages/sdk/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mermaidchart/sdk",
3-
"version": "0.1.1",
3+
"version": "0.2.0",
44
"description": "Access the MermaidChart services with OAuth and type safety.",
55
"browser": "dist/bundle.iife.js",
66
"types": "dist/index.d.ts",

0 commit comments

Comments
 (0)
Failed to load comments.