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

feat: faster overwrites and string min max length support #495

Merged
merged 2 commits into from
Jul 27, 2022

Conversation

vladfrangu
Copy link
Member

@vladfrangu vladfrangu commented Jul 26, 2022

I guess BREAKING CHANGE: RegisterBehavior.Overwrite is now the default behaviorWhenNotEqual, and it now uses object hashing instead of checking each property

@vladfrangu
Copy link
Member Author

@sapphiredev pack this

@sapphiredev
Copy link

sapphiredev bot commented Jul 26, 2022

Heya @vladfrangu, I've started to run the deployment workflow on this PR at 64f1b90. You can monitor the build here!

@sapphiredev
Copy link

sapphiredev bot commented Jul 26, 2022

Hey @vladfrangu, I've released this to NPM. You can install it for testing like so:

npm install @sapphire/framework@pr-495

Co-authored-by: Jeroen Claassens <support@favware.tech>
@favna favna merged commit f47e6f6 into main Jul 27, 2022
@favna favna deleted the feat/min-max-length-and-faster-overwrites branch July 27, 2022 19:00
@@ -36,7 +36,9 @@
"@sapphire/result": "^1.1.1",
"@sapphire/stopwatch": "^1.4.1",
"@sapphire/utilities": "^3.7.0",
"@types/object-hash": "^2.2.1",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

types in regular deps?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah otherwise people need to install them themselves or use skipLibCheck and seeing as we're a type-first framework that would be bad DX

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, thanks

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.

None yet

3 participants