protagonist
Advanced tools
Comparing version 2.0.0-pre.1 to 2.0.0-pre.2
# Protagonist Changelog | ||
## 2.0.0-pre.2 | ||
This update now uses Drafter 4.0.0-pre.2. Please see [Drafter | ||
4.0.0-pre.2](https://github.com/apiaryio/drafter/releases/tag/v4.0.0-pre.2) for | ||
the list of changes. | ||
## 2.0.0-pre.1 | ||
This update now uses Drafter 4.0.0-pre.1. Please see [Drafter | ||
4.0.0-pre.1](https://github.com/apiaryio/drafter/releases/tag/v4.0.0-pre.1) for | ||
the list of changes. | ||
## 2.0.0-pre.0 | ||
@@ -4,0 +16,0 @@ |
# Drafter Changelog | ||
## master | ||
## 4.0.0-pre.2 | ||
### Bug Fixes | ||
* Parameters which are of `enum` type will now have their `default` values | ||
correctly serialized in the output using `enum` type | ||
### Enhancements | ||
* Add column/line info to anotations source maps | ||
## 4.0.0-pre.1 | ||
### Breaking | ||
* changes in Enumeration implemetation | ||
* samples are now collected as collection of individual elements | ||
* warning on multiple default definitions | ||
* This release contains numerous changes to enumerations which affect how | ||
enumerations are serialised in API Elements. | ||
* See [API Elements 1.0](http://apielements.org/) for further specification | ||
on the format of the enumerations. | ||
* Samples are now collected as collection of individual elements. | ||
* The parser will now emit a warning when you define multiple default | ||
values for an enumeration. | ||
## 4.0.0-pre0 | ||
* Descriptions for MSON structures are no longer found in generated JSON Schemas. | ||
### Enhancements | ||
* Significant performance improvements have been made to this release and | ||
parse times for API Blueprints are halved. | ||
### Bug Fixes | ||
* Large numbers will no longer be clipped and numbers will be rendered how | ||
they was described. For example `10.00` will be rendered as `10.00` and not `10`. | ||
[#443](https://github.com/apiaryio/drafter/issues/443) | ||
* JSON Schema will no longer contain redundant anyOf entries when using | ||
fixed-type arrays. | ||
[#566](https://github.com/apiaryio/drafter/issues/566) | ||
* Restored handling API Blueprints where referencing an unknown type inside an | ||
`array[]` would cause an assertion failure instead of a parsing error. | ||
[#556](https://github.com/apiaryio/drafter/issues/556) | ||
* Fix parsing MSON object structures where a property is declared without a | ||
key. This was causing an assertion failure instead of a parse error. | ||
[#547](https://github.com/apiaryio/drafter/issues/547) | ||
* JSON Schema generation will no longer include duplicate required properties | ||
when a property in MSON structure is duplicated. | ||
[#493](https://github.com/apiaryio/drafter/issues/493) | ||
## 4.0.0-pre.0 | ||
### Breaking | ||
@@ -32,3 +76,3 @@ | ||
## Bug Fixes | ||
### Bug Fixes | ||
@@ -40,3 +84,3 @@ * Fix JSON Schema "required" for multiple defined members | ||
## Bug Fixes | ||
### Bug Fixes | ||
@@ -43,0 +87,0 @@ * Fix JSON Schema for OneOf when required is present. |
{ | ||
"name": "protagonist", | ||
"version": "2.0.0-pre.1", | ||
"version": "2.0.0-pre.2", | ||
"description": "API Blueprint Parser", | ||
@@ -15,3 +15,4 @@ "author": "Apiary.io <support@apiary.io>", | ||
"dependencies": { | ||
"nan": "^2.11.0" | ||
"nan": "^2.11.0", | ||
"node-gyp": "^3.8.0" | ||
}, | ||
@@ -21,3 +22,2 @@ "devDependencies": { | ||
"chai": "^4.1.2", | ||
"coffee-script": "~1.6.0", | ||
"glob": "^7.1.2", | ||
@@ -27,5 +27,8 @@ "mocha": "^5.2.0" | ||
"scripts": { | ||
"test": "mocha --compilers coffee:coffee-script -R spec test" | ||
"build": "node-gyp build", | ||
"test:exclude-await": "mocha --exclude test/await-test.js", | ||
"test:await": "mocha", | ||
"test": "node --version | grep -q -E \"v(4|6)\" && npm run test:exclude-await || npm run test:await" | ||
}, | ||
"license": "MIT" | ||
} |
@@ -5,3 +5,3 @@ const fs = require('fs'); | ||
const protagonist = require('./protagonist'); | ||
const protagonist = require('./helpers/protagonist'); | ||
@@ -8,0 +8,0 @@ describe('Parsing Drafter Test Fixtures', () => { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
11486120
4
1638
2972
2
11
2
+ Addednode-gyp@^3.8.0
+ Addedabbrev@1.1.1(transitive)
+ Addedajv@6.12.6(transitive)
+ Addedansi-regex@2.1.1(transitive)
+ Addedaproba@1.2.0(transitive)
+ Addedare-we-there-yet@1.1.7(transitive)
+ Addedasn1@0.2.6(transitive)
+ Addedassert-plus@1.0.0(transitive)
+ Addedasynckit@0.4.0(transitive)
+ Addedaws-sign2@0.7.0(transitive)
+ Addedaws4@1.13.1(transitive)
+ Addedbalanced-match@1.0.2(transitive)
+ Addedbcrypt-pbkdf@1.0.2(transitive)
+ Addedblock-stream@0.0.9(transitive)
+ Addedbrace-expansion@1.1.11(transitive)
+ Addedcaseless@0.12.0(transitive)
+ Addedcode-point-at@1.1.0(transitive)
+ Addedcombined-stream@1.0.8(transitive)
+ Addedconcat-map@0.0.1(transitive)
+ Addedconsole-control-strings@1.1.0(transitive)
+ Addedcore-util-is@1.0.21.0.3(transitive)
+ Addeddashdash@1.14.1(transitive)
+ Addeddelayed-stream@1.0.0(transitive)
+ Addeddelegates@1.0.0(transitive)
+ Addedecc-jsbn@0.1.2(transitive)
+ Addedextend@3.0.2(transitive)
+ Addedextsprintf@1.3.0(transitive)
+ Addedfast-deep-equal@3.1.3(transitive)
+ Addedfast-json-stable-stringify@2.1.0(transitive)
+ Addedforever-agent@0.6.1(transitive)
+ Addedform-data@2.3.3(transitive)
+ Addedfs.realpath@1.0.0(transitive)
+ Addedfstream@1.0.12(transitive)
+ Addedgauge@2.7.4(transitive)
+ Addedgetpass@0.1.7(transitive)
+ Addedglob@7.2.3(transitive)
+ Addedgraceful-fs@4.2.11(transitive)
+ Addedhar-schema@2.0.0(transitive)
+ Addedhar-validator@5.1.5(transitive)
+ Addedhas-unicode@2.0.1(transitive)
+ Addedhttp-signature@1.2.0(transitive)
+ Addedinflight@1.0.6(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedis-fullwidth-code-point@1.0.0(transitive)
+ Addedis-typedarray@1.0.0(transitive)
+ Addedisarray@1.0.0(transitive)
+ Addedisexe@2.0.0(transitive)
+ Addedisstream@0.1.2(transitive)
+ Addedjsbn@0.1.1(transitive)
+ Addedjson-schema@0.4.0(transitive)
+ Addedjson-schema-traverse@0.4.1(transitive)
+ Addedjson-stringify-safe@5.0.1(transitive)
+ Addedjsprim@1.4.2(transitive)
+ Addedmime-db@1.52.0(transitive)
+ Addedmime-types@2.1.35(transitive)
+ Addedminimatch@3.1.2(transitive)
+ Addedminimist@1.2.8(transitive)
+ Addedmkdirp@0.5.6(transitive)
+ Addednode-gyp@3.8.0(transitive)
+ Addednopt@3.0.6(transitive)
+ Addednpmlog@4.1.2(transitive)
+ Addednumber-is-nan@1.0.1(transitive)
+ Addedoauth-sign@0.9.0(transitive)
+ Addedobject-assign@4.1.1(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedos-homedir@1.0.2(transitive)
+ Addedos-tmpdir@1.0.2(transitive)
+ Addedosenv@0.1.5(transitive)
+ Addedpath-is-absolute@1.0.1(transitive)
+ Addedperformance-now@2.1.0(transitive)
+ Addedprocess-nextick-args@2.0.1(transitive)
+ Addedpsl@1.9.0(transitive)
+ Addedpunycode@2.3.1(transitive)
+ Addedqs@6.5.3(transitive)
+ Addedreadable-stream@2.3.8(transitive)
+ Addedrequest@2.88.2(transitive)
+ Addedrimraf@2.7.1(transitive)
+ Addedsafe-buffer@5.1.2(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedsemver@5.3.0(transitive)
+ Addedset-blocking@2.0.0(transitive)
+ Addedsignal-exit@3.0.7(transitive)
+ Addedsshpk@1.18.0(transitive)
+ Addedstring-width@1.0.2(transitive)
+ Addedstring_decoder@1.1.1(transitive)
+ Addedstrip-ansi@3.0.1(transitive)
+ Addedtar@2.2.2(transitive)
+ Addedtough-cookie@2.5.0(transitive)
+ Addedtunnel-agent@0.6.0(transitive)
+ Addedtweetnacl@0.14.5(transitive)
+ Addeduri-js@4.4.1(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
+ Addeduuid@3.4.0(transitive)
+ Addedverror@1.10.0(transitive)
+ Addedwhich@1.3.1(transitive)
+ Addedwide-align@1.1.5(transitive)
+ Addedwrappy@1.0.2(transitive)