Releases: design-first/system-runtime
Releases · design-first/system-runtime
System Runtime v2.7.0
Changelogs:
- Update System Runtime core model.
- Improve performance on collections.
- Improve returned type validation for behaviors.
- Improve model validation.
- Remove retro-compatibility with v1.X versions.
- Update dev dependencies.
System Runtime v2.6.2
Changelog:
- fix an issue with update admin extension.
System Runtime v2.6.1
Changelog:
- fix an issue with enumeration type.
- improve configuration generation for link.
System Runtime v2.6.0
Changelog:
- Simplify the way we create schemas, models and types. #62
We simplify the way we create schemas, models and types. It works well for defining simple classes and structure. Example:
const mm = runtime.require('metamodel');
// defining a schema
mm.schema('Person', {
firstName: 'property',
address: 'property'
});
// defining a new type
mm.type('address', {
street: 'string',
city: 'string'
});
// defining an enumeration type
mm.type('city', ['Paris', 'Rennes']);
// overriding the generated model
mm.model('Person', {
firstName: 'string',
address: 'address'
});
// model creation
mm.create();
// get the class
const Person = runtime.require('Person');
// create an instance
const person = new Person({
firstName: 'a name',
address: {
street: 'a street',
city: 'Rennes'
}
});
// use instance
person.address().street();
System Runtime v2.5.0
System Runtime v2.4.1
Changelog:
- Fix an issue with instance creation.
System Runtime v2.4.0
Changelog:
- Fix an issue with admin extension.
- Improve find api with
$qe
selector. - Update error message.
System Runtime v2.3.2
Changelog:
- Add query selectors and
sort
API. #60
System Runtime v2.3.1
Changelog:
- Change the context of the behavior. #59
System Runtime v2.3.0
Changelog:
- Removed a warning on Webpack. #58
- Improved use with Babel.
- Removed
global.require
API, we can now use directlyrequire
node API.