All notable changes to Config will be documented in this file
- Serialization support (#127)
- Support for Properties files (#128)
- Test enhancement (#126)
- Typehint on Xml parser, parse method (#130)
- Support for writing configuration back to file and string (#122)
- Implementations of
ParserInterfaceand cleanup (#120) - Tests for PHP 7
- Parsing PHP file (#114)
- Parsing PHP string with
$configvariable (#118)
- Usage of short array syntax (#109)
- Support for string parsers (#111)
- Changes of interface and parsers
- Added support for PHP constants in YAML (#112)
- Possibility to use an own file parser (#103)
- Merge support (#96)
- Set PHP 5.5.9 as minimum required version (#75 and #99)
- Fix PHP 5.6 test (#100)
- Edit PHP versions tested on Travis (#101)
- Add more info about the symfony/yaml requirement (#97 and #102)
- PHP 5.3 and 5.4 are no longer supported.
- Package-level exceptions so callers can catch exceptions at package-level
- Added support for files suffixed with the
.distextension
- Rearranged error-handling in
FileParser\Jsonfor better test coverage - Project-wide code style fixes to adhere to PSR-2
- Fixes
has()method returningfalseonnullvalues in a config field
- PHP 7.0 is now tested on Travis
- Added namespace to example in
README.md - Added
has()method toConfigInterfaceand implemented inAbstractConfig - Added
all()method toConfigInterfaceand implemented inAbstractConfig - Added documentation for new methods
AbstractConfignow implements theIteratorinterface
- PSR-2 compliance
- Give YamlParser file content instead of path
- Updated
AbstractConfigconstructor to only accept arrays - Removed check to fix loading an empty array
- Fix for #44: Warnings emitted if configuration file is empty
- Fix for #55: Unset cache after a set
- Some code smells in
Config - Updated README.md
- Various things relating to recent repo transfer
- Individual
FileParserclasses for each filetype, and aFileParserInterfaceto type-hint methods with - Optional paths; you can now prefix a path with '?' and
Configwill skip the file if it doesn't exist
- Made the Symfony YAML component a suggested dependency
- Parent constructor was not being called from
Config
- Moved file logic into file-specific loaders
- Corrected class name in README.md
- Removed kludgy hack for YAML/YML
- Can now extend
AbstractConfigto create simple subclasses without any file IO
- Moved file logic into file-specific loaders
- Cleaned up exception class constructors, PSR-2 compliance
- Moved file logic into file-specific loaders
- Created new classes
ConfigInterfaceandAbstractConfigto simplify code
- Array and directory support in constructor
- Corrected deprecated usage of
Symfony\Yaml
- Array and directory support in constructor
- Now can load .YAML and .YML files
- Uses PSR-4 for autoloading
- Supports YAML
- Now uses custom exceptions
- Tagged first release