2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -5,24 +5,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5
5
6
6
## [ Unreleased]
7
7
8
+ ## [ 0.2.0] - 2024-04-11
9
+
8
10
### Added
9
11
10
12
- Compile an ESM version of this codebase for Node.JS v18.
11
13
- 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.
13
15
- Add ` MermaidChart#setDocument(document) ` function to update a diagram.
14
16
- Add ` MermaidChart#deleteDocument(documentID) ` function to delete a diagram.
15
17
16
18
### Fixed
17
19
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.
23
22
- ` MermaidChart#getAuthorizationData() ` now correctly sets ` state ` in the URL
24
23
by default.
25
24
- ` MermaidChart#handleAuthorizationResponse() ` now supports relative URLs.
26
25
27
26
## [ 0.1.1] - 2023-09-08
27
+
28
28
- Browser-only build.
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @mermaidchart/sdk" ,
3
- "version" : " 0.1.1 " ,
3
+ "version" : " 0.2.0 " ,
4
4
"description" : " Access the MermaidChart services with OAuth and type safety." ,
5
5
"browser" : " dist/bundle.iife.js" ,
6
6
"types" : " dist/index.d.ts" ,
0 commit comments