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

Mermaidjs seems to be outdated #414

Closed
aleks3fs opened this issue Sep 2, 2022 · 5 comments
Closed

Mermaidjs seems to be outdated #414

aleks3fs opened this issue Sep 2, 2022 · 5 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@aleks3fs
Copy link

aleks3fs commented Sep 2, 2022

When using mermaid charts in retype, I cannot use new chart types like gitgraph.

It seems like mermaid version is 8.13.10, latest is 9.1.6.

Could we get an upgrade?

@geoffreymcgill geoffreymcgill self-assigned this Sep 2, 2022
@geoffreymcgill geoffreymcgill added the enhancement New feature or request label Sep 2, 2022
@geoffreymcgill geoffreymcgill added this to the v3.0 milestone Sep 2, 2022
@geoffreymcgill
Copy link
Collaborator

Thanks for letting us know. We do not have an automated process for updating the Mermaid library, so this was missed in the recent releases.

I will ensure the Mermaid library is upgraded for the next Retype release, which will be v3.0. At the moment, we do not have a release date for Retype v3.0, but we are working on it and it will be the next release.

@aleks3fs
Copy link
Author

aleks3fs commented Sep 5, 2022

Great! Amazing, thanks 🙏.

I'm wondering would it make sense to expose version of mermaidjs (and maybe other libs) as config? That way customers could use whatever is packages originally, or try their preferred one.

@ChuckMN
Copy link

ChuckMN commented Jan 25, 2023

@geoffreymcgill any sneak peak on when the 3.0 release will be? I have some exciting new graphs I would like to include leveraging the latest version of mermaid.

Thanks for making an awesome resource that helps make the world a better place!

@maulemon
Copy link

Hi @geoffreymcgill, it's been a while now and we are seeing inconsistencies in how Mermaid renders directly on GitHub vs version used by retype. Have you got any estimated timeline for releasing v3.0 ?

@geoffreymcgill
Copy link
Collaborator

We have updated Retype to Mermaid 9.3.0 and the update will be available in the upcoming Retype v3.0 release. No firm release date at the moment, but we are making good progress and want to get it released ASAP. Shouldn't be long now.

The latest public release of Mermaid is actually 10.0.2 but we (and others) have run into an issue with how huge the new Mermaid build is. Our install went from ~1 MB to ~2.5 MB of minified JS code for Mermaid. Others are reporting much larger increases in size.

We don't know what's going on with the Mermaid 10.0.2 release, so we're avoiding for now. Retype v3.0 will ship with Mermaid v9.3.

Hope this helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants