Releases: freakzlike/vue-service-model
Releases · freakzlike/vue-service-model
v0.18.1
Fixes
- Bumps axios from 0.20.0 to 0.21.1. Because of Server-Side Request Forgery (SSRF)
v2.0.0-alpha.0
This is the first test version after porting to Vue.js 3.
Use with care!
v0.18.0
Breaking Changes
- The render logic from
Field
has been moved toRenderableField
- The
hint
property ofField
has been removed completely
Fields
- You can now use a
valueParser
to parse a raw value to an compatible data type of your field
v0.17.0
Features
Components
- You can now pass common input properties (
disabled
andreadonly
) toInputField
- You can now pass additional properties to
DisplayField
for rendering toprepareDisplayRender
- You can now pass additional properties to
InputField
for rendering toprepareInputRender
v0.16.0
Breaking Changes
- The dependency to
vue-async-computed
package is now optional. You need to activate it in the configuration withuseAsyncComputed: true
.
Features
Field types
- A new field type
ForeignKeyField
has been added
Fields
- You can now use a field without a model. See Standalone field
v0.15.0
Features
Components
- You can now pass a static model class to
FieldLabel
instead of a model instance
Model
- You can now retrieve a field instance from your static model class. See ServiceModel
v0.14.0
Features
Field types
- A new field type
DecimalField
has been added
Model
- You can now do a partial update request on your ServiceModel instance
myModel.update({ updateFields: ['field1'] })
v0.13.0
Features
Field types
- A new field type
IntegerField
has been added
Components
- A loading slot has been added to
DisplayField
component - A loading slot has been added to
InputField
component - A loading slot has been added to
FieldLabel
component
v0.12.0
Features
Field types
- A new field type
CharField
has been added - A new field type
BooleanField
has been added
Configuration
- A configuration for i18n translation keys has been added
Fixes
- Fix Typescript declaration for
config.js
v0.11.1
Fixes
- Fix compilation of
config.js