Release 0.1.2
Changelog
All notable changes to this project will be documented in this file. Dates are displayed in UTC.
Generated by auto-changelog.
Unreleased
- Various improvements
#9 - Simplify CONTRIBUTING.md
4b3e631 - Fix tests for missing strategy methods
3ab14c8 - Remove interface method getOnlineSchemaUri()
e91565c - Move array-check for the 'examples' property to the TypeMapper
eb3edf0 - Do not use abbreviations
0241356 - Start using automated CHANGELOG.md
ec0c345 - Move jest coverage include paths to package.json
a9088cc - Limit coverage report to ./lib
27771d8
0.1.1
24 August 2019
- Refactor + initial test for the StrategyInterface
#8 - Test: adds tests for the StrategyInterface
9ddd214 - Refactor: simplify STRING(1234) and STRING.BINARY. maxLength for strubg MUST be an integer, see https://json-schema.org/latest/json-schema-validation.html#rfc.section.6.3.1
919b063 - Refactor: better error messages for non-implemented DataTypes
9de187f - Use ANY for unrecgonized types
48d6072 - Release 0.1.1
7ec2ac6
0.1.0
23 August 2019
- Release 0.1.0
d9a954d
0.0.6
23 August 2019
- Update dependencies to enable Greenkeeper 🌴
#7 - Various improvements
#5 - Adds support for associations (HasOne, HasMany), closes #3
#3 - Initial commit
939fb5a - Refactors for readability and strategy simplification
2cae808 - Initial version of the TypeMapper class
490e983 - Make tests independent of sequelize versions (only test available DataTypes)
7c161e8 - Refactors to support user-defined attribute properties (like description and examples)
af3ce20 - Refactors for readability, adds @todos for unimplemented DataTypes
ebc736d - Refactor nullable types
3375ddc - Refactors to non-static methods, enabled schema validation test, strategy based 'allowNull' mapping
7a86654 - Introduces models object for simplified model loading with associations
a797e35 - Initial version of the OpenApi schema-validation-wrapper
7595d7b - Rename model property names to improve test readability
1049738 - Adds a test for the SchemaManager
dedfcdd - First test for the json-schema-v7 strategy
57ab677 - Cleanup and refactoring for improved readability and more logical order
35661af - Adds generator() options for model title, model description and attribute exclude-list
488647e - Adds a test validating the generated schema against Swagger Parser
ac09f68 - Adds model property 'schema'
693acff - Stop using Symbols for private functions
f4c997d - Renames schema to result for readability
b91172d - Adds attribute exclusion/inclusion
1106e99 - Use strategies to generate (or omit) the identifier property
42d3038 - Re-order tests for a more logical flow
2477a96 - Refactor checks into separate methods
eb919b3 - Use strategies to generate (or omit) the schema property
17df0ad - Fixes DataTypes CITEXT and TEXT
a65f4fb - Adds configuration examples
20007fd - First test
f94c0b1 - Refactor for consistency
a1cef4f - Adds a test for STRING_ALLOWNULL
2efa38c - Prettier, eslint
679d8a7 - Adds the document model for testing hasMany
e920394 - Adds travis CI matrix
505707d - Adds a test for the user-definable attribute properties
96f249b - Adds tests for STRING and STRING_1234
58f554c - Improve readability
a4e7add - Remove unneeded tests
ea37120 - Renames JsonSchema6 to JsonSchema7
e35b38b - Prepare for first npm release
7539121 - jsdoc
0af3609 - Adds _getRawAttributes()
fc3b89d - Fixes DataType STRING.BINARY
7972ed9 - Adds an example
b35030d - Adds ajv validation of generated JSON Schema
ddecb9e - Fix incorrect resolving of model name
b98a3b1 - Adds SchemaManager configuration option 'relativePaths'
38be2e5 - Consistent package description
23969e7 - Use absolute paths as default
32123dc - Simplify example, remove skeleton notes
bfdeceb - Include /lib in the npm release
d5a2f2f - Refactor for readability
c4d09e7 - Remove more properties not required for validating as OpenAPI 3.0
836f32d - Fix npm main script
e389cb9 - Destructure variable, improve readability
c125e84 - chore(package): update dependencies
53c161c - Throw an error when receiving non-sequelize Datatypes
fa0de7b - Cleanup
38b0026 - jsdoc
edfcbf8 - Stop using Symbols for the private methods
af38eb8 - jsdoc copyright and license
a3bc0e7 - Use strategies to generate (or omit) the schema property
ce9f8c6 - Simplify folder structure
529a832 - Fix binary format for STRING
a518998 - Adds test:watch for developing jest tests
86277a6 - Adds release-it
75d1cdc - Add links to the badges
05da44e - More recognizable attribute names
776af28 - Rename to getOnlineSchemaUri()
5442b17 - Prepare getModelPropertyTitle to (association) re-use
5dd5431 - Remove orphaned check
355c509 - First jest tests
72f0377 - Remove tags not required for passing validation
86e1918 - Adds support for STRING.BINARY
7bcbc48 - Refactor to _getModelUri()
b3f457c - jsdoc
a5d2e61 - Rename getModelPath() to getModelFilePath()
959bc55 - Move badges above title
ea93aaa - Change badge order
fb3dcfa - Adds npm run test:integration and test:unit (using jest tags)
162aef7 - Adds the npm version badge
5e7549b - Only run travis for commits pushed directly into master
4e10bbd - Cleanup
527ba51 - Adds pluralize
d7b696a - More badges
0d934c1 - Return an object instead of a JSON string
2b7c2fd - Use sequelize v4 or higher when developing
8b6b6aa - Back to sequelize 5
f3fcfb0 - Move TypeMapper to ./lib
8cb9f05 - Fix typo
36accb7 - Use sequelize v5 for developing (since it contains all DataTypes)
6765f38 - Replace incorrect online schema URI
1e0ce00 - Bumps to 0.0.2
6c66000 - Release 0.0.6
c287c85 - Adds the build status badge
2b93fea - chore(travis): whitelist greenkeeper branches
37268a1 - Disable jsdoc linting for now
61c13c2 - Remove orphaned file
c05486d - Rename development test runner
a252698