Skip to content

Releases: PhpGt/Config

Better type safety & CI

30 Jan 14:28
805bba9
Compare
Choose a tag to compare

This patch release includes two improvements: 1) CI is handled by Github Actions now - you can check out the build history at https://github.com/PhpGt/Csrc/actions 2) PHPStan level 6 has been applied to the code, meaning certain type hints have been improved for greater readability and future maintainability.

Amongst these improvements is the introduction of the TypeSafeGetter interface which makes nullable type safe getters more consistent across PHP.Gt repositories.

Stable release

17 Jun 13:38
076635e
Compare
Choose a tag to compare

This repository has been in use within many WebEngine applications over the last few months without any change to functionality, so to aid the release of the stable v3 release of WebEngine, Config is getting its first stable release.

General improvements

19 Jul 08:42
Compare
Choose a tag to compare
General improvements Pre-release
Pre-release
  • Config generator script available to all dependent projects
  • Cross-platform compatibility

FileWriter Generator

10 Jun 21:01
Compare
Choose a tag to compare
FileWriter Generator Pre-release
Pre-release

Generating a config file can now be done via the CLI.

FileWriter

07 Jun 10:37
ab9fbd7
Compare
Choose a tag to compare
FileWriter Pre-release
Pre-release

Now the library reads in from .dev, .deploy and .prod ini files, it is possible to write to these files too, which is intended to enhance continuous deployment tasks.

Feature release

31 May 13:01
Compare
Choose a tag to compare
Feature release Pre-release
Pre-release
  • Underscores used in environment variables to separate section and key
  • ConfigSection made immutable
  • Load default configuration from file(s)
  • Load override configuration from file(s)
  • Strengthen tests

v0.1.0

30 May 11:21
Compare
Choose a tag to compare
v0.1.0 Pre-release
Pre-release
  • Implement key prefixes
  • Configurable separator
  • Allow passing existing array of config
  • Load in variables from the environment
  • Load in variables from ini

Flat ini file parser

16 Feb 18:17
Compare
Choose a tag to compare
Flat ini file parser Pre-release
Pre-release

This release parses a simple .ini file, as long as the path is known and the variables are not nested.