Releases: dakujem/cumulus
Releases · dakujem/cumulus
v2.0.2
Version bump - no code changes.
(This release actually removes test and build files and from the archives)
Tested for PHP 8.0 - 8.3.
v2.0.1
Version bump - no code changes.
Tested for PHP 8.0 - 8.3.
v2.0
Supports PHP 8.1 and drops PHP 7 support. Dsn
is now final. Full changelog.
v1.6
Dsn
: PDO now contains port number, if present in the URL.
$dsn = new Dsn('mysql://localhost:3306/my_db');
$dsn->pdo; // mysql:host=localhost;port=3306;dbname=my_db
v1.5
Pipelines
Added Pipeline
class for easy building of middleware and pipelines.
Dropped PHP 7.1 support.
⚖
License changed to simpler and even more permissive Unlicense.
This change implies no change to usage of the package,
commercial and non-commercial alike.
v1.4
Added trim
to prevent adding _
char instead of unintentional white space chars by parse_url
. This potentially changes behaviour (albeit incorrect one), thus a new minor release and not a patch.
v1.3
- Travis CI included to properly test all supported PHP versions
- dropped support for PHP 7.0
v1.2.1
Backward compatibility fix:
Any type of value is now accepted by Dsn
as a URL, but will be ignored, instead of throwing a runtime exception.
v1.2
The usage has not changed in a backward-incompatible way, however, if you extend the UrlConfig
class, see below.
Changes:
- the
UrlConfig
class has been replaced by Dsn
class and is now deprecated
- you can keep using
UrlConfig
, it extends Dsn
now
- added support for query parameters and fragment
- added option to pass custom mappings as argument to
Dsn
constructor
- added possibility to access configuration using array access and magic props
- added value mapping helper
Warning
Note that the internal structure has changed.
In case you extend UrlConfig
class yourself, you should update your implementation.
v1.1 LazyIterator
- added
LazyIterator
- fixed bug in PDO string returned by
UrlConfig::getPdoDsn