Skip to content
This repository has been archived by the owner on Nov 16, 2020. It is now read-only.

Releases: vapor/database-kit

DatabaseKit 1.3.3

07 Feb 22:57
8f352c8
Compare
Choose a tag to compare

Fixed:

  • KeyedCache.get(_:) is no longer internal. (#50, #57)

DatabaseKit 1.3.2

17 Jan 18:24
3557894
Compare
Choose a tag to compare

Fixed:

  • Fixed an error that could cause connection pool to be exhausted when creating new connections failed. (#51)

DatabaseKit 1.3.1

27 Aug 19:31
3a17dbb
Compare
Choose a tag to compare

Fixed:

  • DatabaseConnectionPoolConfig now defaults to a max of 10 connections per pool. (#47, #45, #48)

Previously, the max connections per pool would default to System.coreCount. This could create hanging request issues on some Linux deploys where the core count was 1.

If a max of 10 is too high, you can still of course configure this to any value you want using the following snippet during service configuration.

services.register { container in
    return DatabaseConnectionPoolConfig(maxConnections: 5)
}

DatabaseKit 1.3.0

25 Jul 19:20
7a01659
Compare
Choose a tag to compare

New:

  • Adds a new connectionPool parameter when requesting a cached connection from a container. (#43, #44).

DatabaseKit 1.2.0

19 Jun 22:30
acdd4d3
Compare
Choose a tag to compare

New:

DatabaseKit 1.1.0

15 Jun 03:14
Compare
Choose a tag to compare

New:

  • DatabaseConnection now has an associated database type (#38).

Database Kit 1.0.1

30 Apr 17:56
0db3034
Compare
Choose a tag to compare

Fixed:

  • Added deprecations for requestConnection(...) and releaseConnection(...) extensions on Container.

Milestone:
1.0.1

Database Kit 1.0.0

25 Apr 22:59
Compare
Choose a tag to compare

Introducing Database Kit 1.0 馃帀
馃梽 Core services for creating database integrations.

Docs:
https://docs.vapor.codes/3.0/database-kit/getting-started/

API Docs:
https://api.vapor.codes/database-kit/latest/DatabaseKit


Changes since last RC:

New:

  • ConfiguredDatabase type for more consistent connection configuration.
  • DatabaseKeyedCache type replaces Fluent keyed cache.

Fixed:

  • DatabaseConfig renamed to DatabasesConfig to make it clear that it is for configuring multiple dbs.
  • withConnection(...) renamed to withNewConnection(...) to better distinguish it from the pooled methods.

Milestone:
1.0.0

DatabaseKit 1.0.0 RC 2.2.1

29 Mar 04:17
Compare
Choose a tag to compare

Database Kit 1.0.0 RC 2.1.1

26 Mar 00:50
ce82abe
Compare
Choose a tag to compare
Pre-release

Fixed:

  • Fixed an issue where IN/NOT-IN predicates with 0 or 1 values would serialize incorrectly.

Milestone:
1.0.0-rc.2.1.1