GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||
GeezerVison is showing github.com — doc: improvements to crypto.markdown copy by estliberitas · Pull Request #5230 · nodejs/node Conversation
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
|
|
LGTM |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Guys, can anyone answer question above? Or should I create separate issue for this q? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Personally, I'd open a separate Issue for it. That way someone will get to it faster & I'd cc some of the guys who worked on the crypto doc. But someone should get to it here, as well. This issue does have a |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@nodejs/crypto |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
No reason except that it follows how other types are implemented. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@bnoordhuis Would it be a good idea to simplify things and, for example, put |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
If it was new code, I would have pushed to implement it as static methods. But it's existing, working code; it would basically be an aesthetic change. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Then again, maybe not. Implementing it as static methods would eliminate the need for a persistent handle and that's never a bad thing. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@bnoordhuis if it would be a change for the good of everyone, I'd like to implement it and let others judge it. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Go ahead, I'll review it. Please make sure you read CONTRIBUTING.md first and that |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
We should first attempt to see how extensively the current API is used (cc @ChALkeR). The current API form would need to be deprecated. Seems like a good change to make. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@estliberitas Can you split the actual (non-doc) change proposal into a separate issue, please? @jasnell This is everything that I found for The first line actually looks as a Even given the false negatives, the usage looks very low, so I think that the change is possible here. It would still require several major releases, of course. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Cool, okay, I'll be working on it today. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@ChALkeR +1 thank you for that. So yeah @estliberitas, The existing API would need to go through a deprecation cycle (do a quick search for "deprecated" in the source to see how that's handled in code). The documentation would also need to be updated to show that. Deprecations are a semver-major change so it would hit as part of v6. You can introduce the revamped API alongside the deprecation but the existing stuff cannot be removed until at least v7 or v8. If you need any help, let one of us know! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@jasnell Okay, I want to walk the whole way to the new API even if it will be released with v8 or so. I'll check soon how deprecations were handled previously. I guess, it is to be a series of 2 PRs:
Correct? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Indeed. Should be fixed in version 2.0.1 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Maybe I didn't make myself clear but I wouldn't change the public API, just the implementation details so the persistent handle is no longer necessary. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
So this is about binding implementation? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Correct. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
I'd go with a documentation-only deprecation in v6, actual deprecation in v7 (perhaps), and possible removal at some point after that (in v8 or later). These We should take into account that |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Would it be |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
It could be semver-patch but because it's not a real bug fix, I'd be conservative and label it semver-minor. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
where does this writable-write link to?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Oh, found it. maybe name it stream-writable-write for clarity?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
@silverwind done
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
LGTM except suggestion above. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@estliberitas still not applying cleanly here: |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Fix several typos. Add missing links.
|
@silverwind Done. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Fix several typos. Add missing links. PR-URL: #5230 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Kelvin Knighton <[email protected]> Reviewed-By: Roman Reiss <[email protected]>
|
Thanks! Landed in f0c0614. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Fix several typos. Add missing links. PR-URL: #5230 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Kelvin Knighton <[email protected]> Reviewed-By: Roman Reiss <[email protected]>
Fix several typos. Add missing links. PR-URL: #5230 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Kelvin Knighton <[email protected]> Reviewed-By: Roman Reiss <[email protected]>
Fix several typos. Add missing links. PR-URL: #5230 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Kelvin Knighton <[email protected]> Reviewed-By: Roman Reiss <[email protected]>
Fix several typos. Add missing links. PR-URL: #5230 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Kelvin Knighton <[email protected]> Reviewed-By: Roman Reiss <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.