• 1.0.3 5afae885db

    1.0.3 Stable

    netkas released this 2023-07-13 21:07:06 +00:00 | 191 commits to master since this release

    Fixed

    • Fixed Fatal error: Uncaught TypeError: array_replace_recursive(): Argument #1 ($array) must be of type array, null given in /var/ncc/packages/net.nosial.configlib=1.0.2/src/ConfigLib/Configuration.php:331
    Downloads
  • 1.0.2 4cffe41bf0

    1.0.2 Stable

    netkas released this 2023-07-12 02:35:00 +00:00 | 192 commits to master since this release

    Fixed

    • Fixed issue #1 in Configuration->__construct() where the name of
      an environment variable was being used instead of its value when determining the configuration file path. This
      incorrect handling resulted in warnings about non-existent files and hindered the proper loading of configuration
      files. With this fix, environment variables should now correctly guide the path to the desired configuration files,
      improving the flexibility and functionality of the configuration library.
    Downloads
  • 1.0.1 f7c64f4ba6

    1.0.1 Stable

    netkas released this 2023-07-11 18:38:45 +00:00 | 195 commits to master since this release

    Changed

    • Refactored codebase to be more maintainable, readable & more optimized

    Added

    • ConfigurationLib will now attempt to load configuration files from Environment Variables if they are set, for example,
      if com.example.application wants to load ExampleConfiguration it will first check if CONFIGLIB_EXAMPLECONFIGURATION
      is set, and if so, load that file instead of going through the default process of loading the default configuration file.
      If the file is not found, it will resort to its default behavior. You can either load an original json configuration
      file which is usually located at \var\ncc\data\net.nosial.configlib as one of the .conf files, or you can load a yml
      which is the same one you usually use to import or edit configurations. But the file extension must be either .yml
      or .yaml if you want ConfigLib to load it as a yml file, otherwise by default it assumes it is a json file.
    Downloads
  • 1.0.0 4d58db1ac0

    1.0.0 Stable

    netkas released this 2023-02-23 21:31:45 +00:00 | 209 commits to master since this release

    Added

    • First Release
    Downloads