Hi Folks,
This release is from Málaga, where I'm speaking at Wey Wey Web! It packs quite a few bug fixes and two new important features!
Full Release notes:
Full Changelog: github.com/platformatic/platformatic/compar..
Highlights
create-platformatic
interactive cli tool
This new tool for interactively initializing new Platformatic applications will supersede the old platformatic db init
command. It provides an interactive prompt that ask a few questions along the way.
This feature was developed by @marcopiraccini in github.com/platformatic/platformatic/pull/427
Migration Generation
Creating new migrations files was a bit boring. We now have an excellent command: platformatic db migrations generate
.
This feature was developed by @stanimirovv in github.com/platformatic/platformatic/pull/136.
Autotimestamp option and configuration
In Platformatic DB, timestamps can be set automatically if you have created_at
and updated_at
columns on your tables. This behavior can be configured with:
{
...
"core": {
"connectionString": "postgres://postgres:postgres@127.0.0.1/postgres",
"autoTimestamp": {
"createdAt": "inserted_at",
"updatedAt": "updated_at"
}
...
}
Or disabled with:
{
...
"core": {
"connectionString": "postgres://postgres:postgres@127.0.0.1/postgres",
"autoTimestamp": false
...
}
This feature was developed by @marcelom97 in github.com/platformatic/platformatic/pull/443.