Releases: mnfst/manifest
4.0.1 "Spectral"
🌟 Highlights
📝 Validation
Server-side validation for your individual properties:
entities:
Dog:
properties:
- name
- { name: age, type: number }
validation:
name: { minLength: 3 } # The name should have at least 3 characters.
age: { min: 1, max: 30 } # Age should be a number between 1 and 30.
🔗 Many-to-many relationships
They are finally here !
Player 🤾:
properties:
- name
belongsTo:
- Team
belongsToMany:
- Skill
📤 Uploads
File and image upload, including built-in image optimization and resize feature. Checkout the docs.
What's Changed
- 📝 Validation by @brunobuddy in #142
- feat: use @use rule instead of @import on side-menu component by @SebConejo in #151
- Fixes 'Trailing whitespace by @DhanushNehru in #184
- 🔗 Many-to-many relationships by @brunobuddy in #185
- Fix readme typos by @LuciaSheel in #188
- Uploads by @brunobuddy in #189
New Contributors
- @DhanushNehru made their first contribution in #184
- @LuciaSheel made their first contribution in #188
Full Changelog: 4.0.0-beta...4.0.1
4.0.0-beta "Siren"
🌟 Highlights
🪪 Authentication
Create authenticable entities to login with. Use it for custom access polices.
# manifest/backend.yml
entities:
🤒 Patient:
authenticable: true # Makes entity authenticable.
properties:
- name
⚡ Instant stackblitz demo
Start coding in seconds with https://manifest.new demo.
❤️ Contributing
A new contributing guide has been created for new contributors. Wanna be part a project ? Let us know as we are looking for new contributors.
What's Changed
- Add contributing.md by @brunobuddy in #134
- build(deps): bump the npm_and_yarn group across 1 directory with 3 updates by @dependabot in #129
- build(deps): bump the npm_and_yarn group across 1 directory with 2 updates by @dependabot in #138
- ⚡ Instant stackblitz demo by @brunobuddy in #136
- 🪪 Auth by @brunobuddy in #131
Full Changelog: 4.0.0-alpha.4...4.0.0-beta
4.0.0-alpha.4
🌟 Highlights
📖 Swagger API Doc
An API doc is now available on serve at http://localhost:1111/api
⏱️ Timestamp property type
A Timestamp type is now available to provide a time.
- { name: birthdate, type: date } # Just date
- { name: aquiredAt, type: timestamp } # Date and time
⚙️ Filter by relation
You can now filter by a property of a relation when fetching a list:
# REST API
GET http://localhost:1111/api/dynamic/cats?relations=owner&owner.id_eq=1
GET http://localhost:1111/api/dynamic/cats?relations=owner&owner.name_eq=Jorge
// JS SDK
const cats = await manifest
.from('cats')
.with(['owner', 'store']) // Load relation first if not eager.
.where(`owner.id in 1,2,3`)
.andWhere(`store.name = CatLand`)
.find()
🙏 Special thanks
- @RantingHuman for feedback on JS SDK usage
- @caeg0n for feedback with Astro framework
🪲 Bug fixes
👉 What's Changed
- build(deps): bump the npm_and_yarn group across 3 directories with 2 updates by @dependabot in #121
- Display API Documentation (Swagger UI) by @brunobuddy in #124
- Timestamp property type by @brunobuddy in #126
- feat(crud): filter by relation, Closes #127 by @brunobuddy in #128
Full Changelog: 4.0.0-alpha.3...4.0.0-alpha.4
v4.0.0-alpha.3
Highlights
Testing
This version adds unit tests and e2e tests with Jest to the Manifest core package.
cd packages/core/manifest
npm run test
npm run test:e2e
What's Changed
- E2E Tests by @brunobuddy in #120
Full Changelog: 4.0.0-alpha.2...4.0.0-alpha.3
v4.0.0-alpha.2 "Nomai"
🌞 A backend so simple that it fits in a YAML file
CASE is now Manifest ! This version is the Proof-of-Concept (POC) version that aims to validate a new approach to the backend.
Website: https://manifest.build
Discussion on Hacker News: https://news.ycombinator.com/item?id=40544770
Discord: https://discord.com/invite/FepAked3W7
So much more to come.
2.1.0
2.0.1
What's Changed
- truncate text yields by @brunobuddy in #32
- feat (dynamic-entity-list): add logical condition to loader by @ismaelguerrib in #46
- Feature/style mvp by @SebConejo in #48
- Add ENUM as property type for dynamic entity by @ismaelguerrib in #47
New Contributors
- @SebConejo made their first contribution in #48
Full Changelog: 2.0.0...2.0.1
2.0.0
What's Changed
- Documentation : fixing create resource CLI command & fixing a link on overview by @ismaelguerrib in #28
- Feature/doc many to many by @ismaelguerrib in #29
- Feat : handle the types in CASE POC by @ismaelguerrib in #30
Full Changelog: 1.0.0...2.0.0 by @ismaelguerrib , @brunobuddy and @SebConejo
1.0.0
What's Changed
- Prepare for POC 1 by @brunobuddy in #17
- feat: standardize infos on CASE, replace broken image & delete unused infos by @ismaelguerrib in #22
- Product milestone 1 by @brunobuddy in #21
Full Changelog: 0.7.3...1.0.0 by @brunobuddy, @SebConejo and @ismaelguerrib