Vapor: 4.30.0 Release

Release date:
October 1, 2020
Previous version:
4.29.4 (released September 30, 2020)
Magnitude:
90 Diff Delta
Contributors:
1 total committer
Data confidence:
Commits:

Top Contributors in 4.30.0

JaapWijnen

Directory Browser for 4.30.0

We haven't yet finished calculating and confirming the files and directories changed in this release. Please check back soon.

Release Notes Published

This patch was authored and released by @JaapWijnen.
  • DotEnv files can be loaded before initializing application
  • Reduces boilerplate code when you want to bootstrap logging with environment variables loaded from a .env file
  • Can be loaded in similar fashion as Application or provide absolute and relative .env file locations using DotEnvFile.load(path: ...)
let env = try Environment.detect()
DotEnvFile.load(for: env)
LoggingSystem.bootstrap { label in 
   // use environment variables here (before application is initialized)
}
let app = Application(env)