Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: talyssonoc/structure

Tags

v2.0.1

Toggle v2.0.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix deep nested dynamic types validation (#138)

* Fix deep nested dynamic types validation

* Address PR comments

v2.0.0

Toggle v2.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Structure 2 (#130)

* Bump major to alpha

* Move Node version to 10

* Replace Object.assign with spread

* Replace every var with let or const

* Migrate tests that run on Node to use Jest

* Update Node version on Travis

* Base on Node 8 instead of 10

* Change linter to accept jest tests

* Update joi without considering cases where lazy schema is needed

* Handle dynamic types validations with link + shared API

* Begin to refactor to a new internal structure

* Rename descriptors concept to definitions

* Implement initialization

* Implement coercion for non-array types

* Adjust tests to coercion without considering nested

* Implement coercion for array types

* Allow to subclass structures and inherit attributes

* Implement strict mode (missing validation)

* Implement validation to new core (#102)

* Implement validation

* Implement serialization (#101)

* Implement validation for nested types

* Implement clone to the new core (#103)

* Implement clone to the new core

* Make linter happy

* Increase coverage

* Refactors Descriptors to be a function instead of a class

* Improve function naming for better debugging

* Ensure that when reusing an attribute, it uses the new schema

* Reformat according to prettier

* Upgrade browser build (#105)

* Webpack setup and begin to setup tests

* Add electron to dev dependencies

* Improve Webpack output during tests

* Add browser tests to Travis

* Remove unecessary dependencies

* Update readme about browser and support

* Separate travis lifecycles

* Attempt to avoid hanging electron test

* Update coveralls

* Move to lerna (#106)

* Move current code to packages

* Share prettier config

* Add coveralls to root package

* Fix Coveralls script

* Add coverage to root package

* Create jest structure (#107)

* Begin to implement assertions

* Migrate boolean validation assertions to use jest-structure

* Assert no expected for valid/invalid matchers

* Assert attribute path is passed

* Add package to automatically add assertions to jest

* Begin to write tests

* Add tests for validating error messages

* Reorganize and begin to write toHaveInvalidAttributes

* Implement toHaveInvalidAttributes and cover with tests

* Rename auto.js to extend-expect.js

* Refactor checking of path presence and usage hint

* Refactor and remove hint from validity check of toHaveInvalidAttributes

* Remove hint from validity check of toHaveInvalidAttribute

* Refactor checking of attribute validity

* Refactor usage error and remove hint for non-usage-related errors

* Replace usage of assertValid with expect().toBeValid()

* Replace validitationMatchers with jest-structure in array specs

* Migrate whole structure spec to use jest-structure

* Rename validity assertions to contain 'structure' in the name

* Fix coverage script

* Add tests for when using arrayContaining with jest-structure

* Add readme

* Allow defaulting when null and not nullable (#108)

* Fallback to default when value is null and not nullable

* Update changelog

* Update docs about nullable attributes

* Refactor name of dynamic default instance variable

* Update changelog (#109)

* Allow to pass custom identifier for dynamic types (#111)

* Allow to pass custom identifier for dynamic types

* Improve documentation wording

* Improve changelog wording

* Apply suggestions from code review

Co-Authored-By: Leonardo Negreiros de Oliveira <[email protected]>

* Update docs/schema-concept/circular-references-and-dynamic-types.md

Co-Authored-By: Leonardo Negreiros de Oliveira <[email protected]>

* Allow to declare custom setter and getter (#112)

* Allow to use custom setters and getters to attributes

* Add docs about custom getters and setters

* Allow to inherit custom accessors

* reduce function complexity

* Add docs about custom accessors and inheritance

* update joi (#114)

* Add alpha patch (#115)

* Make versioning consistent (#116)

* Update dependencies node and generate build (#117)

* Update dependencies and Node

* Generate build

* Remove Node 8 from Travis build

* Make linter happy

* Add missing symlinks (#118)

* Invert symlinks (#119)

* Invert symlinks

* Bump alpha patch

* Gix Gitbook refs (#120)

* Gix Gitbook refs

* New organization

* Remove introduction duplicate link

* Prepare to release new alpha

* Gitbook testing docs (#124)

* Add testing to docs and prettify md files

* Fix formatting

* Publish only src folder for jest-structure (#125)

* Update Joi links (#126)

* Allow to disable coercion (#127)

* Update paths and messages of errors in docs (#128)

* Improve docs (#129)

* Improve docs

* Improve verbiage

* Update build

* Bump version to 2.0.0

* Point links to master docs

* Update changelog and add migration guide

* Point CodeClimate to use eslint 6

* Use normal quotes where needed

Co-authored-by: Leonardo Negreiros de Oliveira <[email protected]>

v2.0.0-alpha.3

Toggle v2.0.0-alpha.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Gix Gitbook refs (#120)

* Gix Gitbook refs

* New organization

* Remove introduction duplicate link

* Prepare to release new alpha

v2.0.0-apha.1

Toggle v2.0.0-apha.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add missing symlinks (#118)

v2.0.0-apha.0

Toggle v2.0.0-apha.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Update dependencies node and generate build (#117)

* Update dependencies and Node

* Generate build

* Remove Node 8 from Travis build

* Make linter happy

v2.0.0-apha.4

Toggle v2.0.0-apha.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Bump minor to 1.8.0 (#99)

v1.8.0

Toggle v1.8.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Bump minor to 1.8.0 (#99)

v1.7.0

Toggle v1.7.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Implement clone method (#97)

* Add clone method

* Update dist

* Add docs about cloning

* Move attribute setters/getters to the final so methods won't override them

* Update dist

* Bump minor

v1.6.0

Toggle v1.6.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add custom error for strict mode (#95)

* Allow custom error class for strict mode

* Cover custom error class with tests

* Make linter happy

* Bump minor

* Move validation error class decision

v1.5.0

Toggle v1.5.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Bump to 1.5.0 (#93)

* Bump to 1.5.0

* Update changelog