The change log describes what is "Added", "Removed", "Changed" or "Fixed" between each release.
Version 2 comes with a new definition was a DSN really is. It supports functions and a greater variety of DSN formats.
The Nyholm\Dsn
class has been replaced with Nyholm\Dsn\DsnParser
. To get a Dsn
object:
// Before
$dsn = new \Nyholm\DSN('mysql://localhost');
// After
$dsn = new \Nyholm\Dsn\DsnParser::parse('mysql://localhost');
No changes since 0.1.1.
Support for PHP 7.3.
Initial release.