-
Notifications
You must be signed in to change notification settings - Fork 3
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
Release 3.2.0 #107
Release 3.2.0 #107
Conversation
lib/Route.js
Outdated
@@ -31,7 +31,7 @@ Route.createRoute = function (patternConfig, schema, handlers, openApiDocs) { | |||
// Validate the schema | |||
var isSchemaValid = validateSchema(schema); | |||
if (!isSchemaValid) { | |||
throw new Error("Invalid schema"); | |||
throw new Error("Invalid schema" + JSON.stringify(schema)); // TODO revert |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is to help debugging for now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reverted, I was looking into the failure from updating the jsen patch version
===== | ||
|
||
+ Drop support for Node.js < 12. | ||
+ Hold back jsen dependency. See https://github.com/ifwe/monocle-api/issues/86 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why go to 4.0.0 now, if we're holding off on the breaking change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed, any applications that had failures due to using older Node.js versions should be pretty obvious, so a major version bump shouldn't be needed for that. The package.json "engines" change added after this also makes this obvious
1fd0d91
to
b3768af
Compare
Start setting up (failing) eslint rules Fix some occurrences of unused variables and harmless uses of hasOwnProperty (in hardcoded schema) Set up github workflows Drop use of bluebird because Node.js has efficient native Promises. Update CHANGELOG.md
b3768af
to
87791bf
Compare
No release of I haven't looked into the impact of switching to |
lgtm |
Start setting up (failing) eslint rules
Fix some occurrences of unused variables and harmless uses of
hasOwnProperty (in hardcoded schema)
Set up github workflows
Drop use of bluebird because Node.js has efficient native Promises.
Update CHANGELOG.md
Hold back jsen dependency. See #86