-
-
Notifications
You must be signed in to change notification settings - Fork 118
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
v2 Release #174
Comments
I will leave the API docs for later, the examples should be self-documenting. If anyone has suggestions for the examples, let me know. I will release v2 this weekend. |
I just started working on an upgrade to v2 today. Everything seems to have gone smoothly and it only took a few minutes 😄 The main thing I noticed with the migration is that some of the naming seems inconsistent now. For example, the change from Also related, I noticed you have Feel free to ignore this comment if it's still a work in progress. Looking forward to v2! |
hey @gschier, great to hear the upgrade was easy!
The newly introduced symbols will be in However, there are a few exceptions I made to that convention, they are:
Another point it's important to mention about the options, there is one place you are allowed to pass them in camel case, the new async/await wrapper node-libcurl/lib/generated/CurlOption.ts Line 1650 in 32647ac
The motivation behind that is that I really disliked passing UPPER_CASE string as object properties 😄 const { curly } = require('node-libcurl')
// ... async function context:
const { data, headers, statusCode } = await curly.get('https://www.google.com', {
followLocation: true,
})
// same than:
const { data, headers, statusCode } = await curly.get('https://www.google.com', {
FOLLOW_LOCATION: true,
}) |
any others suggestions / issues found during the upgrade @gschier (or anyone that have upgraded)? |
v2 has been released! 🎉 |
What is missing for v2 release:
Api Docs (probably can be added later on) - Depends on [api-documenter] Output files get overwritten for declarations with differences in character case microsoft/rushstack#1281using TypescriptThe text was updated successfully, but these errors were encountered: