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

Revert "remove some lodash" to fix regressions #42

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

aloisklink
Copy link
Collaborator

This reverts commit 58b441f from PR #34.

I did a git bisect on #34, and I found that this commit was causing unintended visual changes (see #40 (comment)), and we're not 100% sure why.

Unfortunately, since that commit is so large, it's hard to tell exactly which change causes the regression, so for now, we'll just revert the entire commit. Later, we can try adding it back again, piece-by-piece (ideally with a unit test!).

Closes #41 (alternate PR that fixes the same issue).

This reverts commit 58b441f.

These changes are causing unintended visual changes, and we're not 100%
sure why.
@aloisklink aloisklink added the bug Something isn't working label Sep 30, 2024
@tbo47 tbo47 merged commit e20dc06 into tbo47:main Oct 1, 2024
2 checks passed
@tbo47
Copy link
Owner

tbo47 commented Oct 1, 2024

I double checked all the changes from last 7.0.10 and everything looks fine.

Can I release a 7.0.11? Or do you need more time for testing? @aloisklink

This can be the release note:

  • replace lodash _.has by Object.prototype.hasOwnProperty.call
  • add unit test from legacy project dagre-3d
  • code formatting with prettier
  • update dependency (notably vitest from 0.2 to 2.1)

Replacing _.has allows a better types generation from typescript.

@aloisklink
Copy link
Collaborator Author

Can I release a 7.0.11?

Sounds good to me!

I've already tested it with mermaid-js/mermaid and I didn't spot any issues! And considering the changes are so small now, I doubt there would be any issues for anybody else either.

@aloisklink aloisklink deleted the fix/revert-lodash-changes branch October 1, 2024 09:25
@tbo47
Copy link
Owner

tbo47 commented Oct 1, 2024

https://github.com/tbo47/dagre-es/releases/tag/7.0.11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants