Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(sdk): publish @mermaidchart/sdk v0.2.0 #23

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

aloisklink
Copy link
Contributor

Release v0.2.0 of the @mermaidchart/sdk.

CHANGELOG

Added

  • Compile an ESM version of this codebase for Node.JS v18.
  • Add MermaidChart#getDiagram(diagramID) function to get a diagram.
  • Add MermaidChart#createDocument(projectID) function to create a diagram in a project.
  • Add MermaidChart#setDocument(document) function to update a diagram.
  • Add MermaidChart#deleteDocument(documentID) function to delete a diagram.

Fixed

  • BREAKING: Fix MCDocument major/minor type to number.
  • Add code field to MCDocument type.
  • MermaidChart#getAuthorizationData() now correctly sets state in the URL by default.
  • MermaidChart#handleAuthorizationResponse() now supports relative URLs.

E2E tests are failing since my account on https://test.mermaidchart.com is only a free account, and due to Stripe issues, I can't upgrade it to a paid account.

Added
-----

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

Fixed
-----

- **BREAKING**: Fix `MCDocument` `major`/`minor` type to `number`.
- Add `code` field to `MCDocument` type.
- `MermaidChart#getAuthorizationData()` now correctly sets `state` in
  the URL by default.
- `MermaidChart#handleAuthorizationResponse()` now supports relative URLs.
@aloisklink aloisklink requested a review from sidharthv96 April 11, 2024 09:52
Copy link

vercel bot commented Apr 11, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated (UTC)
office-plugin-site ⬜️ Ignored (Inspect) Apr 11, 2024 9:52am

@aloisklink aloisklink merged commit 5be5e51 into main Apr 11, 2024
4 checks passed
@aloisklink aloisklink deleted the chore/release-v0.2.0-of-the-@mermaidchart/sdk branch April 11, 2024 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant