Releases: stackpress/idea
Releases · stackpress/idea
0.3.10
What's Changed
- test/idea:transformer by @RheillyAguilar in #5
New Contributors
- @RheillyAguilar made their first contribution in #5
Full Changelog: 0.3.6...0.3.10
0.3.7
Full Changelog: 0.2.6...0.3.7
0.3.6
0.2.6
Beta 2
Releasing candidate where all dependencies are now updated, dependabots resolved and overall working.
What's Changed
- Bump cross-spawn from 6.0.5 to 6.0.6 by @dependabot in #4
Full Changelog: 0.1.26...0.2.6
0.1.26
Full Changelog: 0.1.25...0.1.26
0.1.25 - Inheritance and Final
Inheritance
Before, the main idea completely overwritten types and models defined in other ideas imported by the main idea. Consider the following ideas.
//other.idea
model Profile {
id String @label("ID")
name String @label("Name")
roles String[] @label("Roles")
}
//main.idea
use "./other.idea"
model Profile {
name String @label("Full Name")
image String? @label("Image")
type String? @label("Type")
tags String[] @label("Tags")
}
With the new updates the following logic will occur.
idfromother.ideawill be added toProfileinmain.ideanamefromother.ideais overwritten bynameinProfileinmain.idea- This applies to
typeandmodel, whileenumandpropare final by default.
Final
Adding ! after the model name won't use imported models with the same name.
//main.idea
use "./other.idea"
model Profile! {
name String @label("Full Name")
image String? @label("Image")
type String? @label("Type")
tags String[] @label("Tags")
}
In the example above, if other.idea has a model Profile, it will be completely ignored.
Full Changelog: 0.1.22...0.1.25
0.1.22
Full Changelog: 0.1.21...0.1.22
0.1.21
Full Changelog: 0.1.19...0.1.21
0.1.19
Full Changelog: 0.1.18...0.1.19
0.1.18
Full Changelog: 0.1.17...0.1.18