Week 21

News

Hello friends, Vapor 3.0.5 has been tagged. Quite a few improvements and new features. Fluent just keeps getting better and better.

New Features

Add DatabaseQueryable protocol

Adds a new protocol DatabaseQueryable which represents an object capable of executing a generic query.

vapor/database-kit#39

Add AlterTable to PostgreSQLQuery

Adds support for ALTER TABLE query to PostgreSQLQuery.

vapor/postgresql#77

Serialize migrations + convenience methods

vapor/fluent#507

Add CREATE and DROP INDEX queries

Adds SQLCreateIndex and SQLDropIndex protocols (and subprotocols). Related to vapor/sql#16 and vapor/fluent#515

vapor/sqlite#43

vapor/postgresql#84

vapor/mysql#192

Deletes MigrationLog migration when reverting all

vapor/fluent#527

Allow positioning of columns during ALTER TABLE

Allows ALTER TABLE `listings` ADD `client_id` INT NULL DEFAULT NULL AFTER `object_no`;. Implements vapor/fluent-mysql#41

vapor/fluent-mysql#121

vapor/mysql#184

Data Type improvements

Adds conveniences for creating instances of MySQLDataType. Fixes some serialization bugs.

Fixes vapor/mysql#185 and vapor/mysql#186

vapor/mysql#188

SQL protocols 2.0

Add groupBy support

vapor/fluent#521

NIO

Current version 1.8.0

Community Contributions

Ability to set custom createdAt/updatedAt on create

Set createdAt / updatedAt fields with custom values when seeding a DB.

vapor/fluent#520

Added PostgreSQLStringModel

vapor/fluent-postgresql#45

Conform Decimal to ReflectionDecodable

vapor/core#158

Tagged releases

Current Version 3.0.5

Articles

Deploying a Vapor App to Heroku

Brought to you by @anapaix

Deploying a Vapor App to Heroku

Awesome Vapor: Enhanced

Brought to you by @Cellane

Awesome Vapor

Want to know more or get inspired?

Take action

There are many ways you can contribute with Vapor

Vapor communities around the world

Vapor Berlin

Vapor London

Vapor Boston

Vapor Tokyo

Writing Credits

@frivas

@twof