This repository has been archived by the owner on Jun 17, 2023. It is now read-only.
Releases: julienvincent/modelizr
Releases · julienvincent/modelizr
v1.0.0
- Added support for
name
property in a schema for overwriting the default given name - Added union inference based on schema structure. This removes need for the
union()
helper function - Fixed issue with model modifiers not returning new instances, but rather modifying themselves
- Wrong basic query generation and mock generation tests
v1.0.0-beta.12
- Added support for the
min
max
quantity
anddecimal
properties on a schema - Fixed a bug preventing
.only
and.empty
from working correctly
v1.0.0-beta.11
- Changed how field types are managed internally
- Object type fields now need to have their properties declared explicitly
- ModelBuilder now only appends root children
- Rewrote documentation
v1.0.0-beta.10
Changed GraphQLError
class to no longer extend Error
to allow for instanceof checks to function correctly.
v1.0.0-beta.9
- Fixed
Array(Object)
type fields from generating incorrectly nested GraphQL queries. - Added ability to parameterize fields that are not models via the
.fields()
modifier. - Removed flow-types from npm build in favor for upcoming experimental flow-type libs.
v1.0.0-beta.8
- Debugging is now off by default.
- QueryGeneration now correctly supports empty fields.
- Can now alias field names using the
__alias
property.
v1.0.0-beta.7
- Moved non-production dependencies into
devDependencies
. - Fixed naming reference that stopped
.headers()
from mutating the correct property.
v1.0.0-beta.6
Worked flow-types into the npm release.
v1.0.0-beta.5
Fixed bugs in the QueryGenerator and completely reworked the ModelBuilder to allow merge-first model editing. This makes creating fragments very easy.
v1.0.0-beta.4
Added two more types namely:
Boolean
['boolean'
]'float'
Added type generator to mocks that generates data based on field types.