Skip to content

Releases: dakujem/cumulus

v2.0.2

24 Apr 14:46
1b71bc9
Compare
Choose a tag to compare

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

24 Apr 09:08
836bd3f
Compare
Choose a tag to compare

Version bump - no code changes.

Tested for PHP 8.0 - 8.3.

v2.0

12 Dec 19:05
Compare
Choose a tag to compare

Supports PHP 8.1 and drops PHP 7 support. Dsn is now final. Full changelog.

v1.6

10 Dec 13:20
Compare
Choose a tag to compare

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

02 Oct 17:22
866f2c0
Compare
Choose a tag to compare

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

14 Jul 11:46
a78d7ce
Compare
Choose a tag to compare

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

14 Oct 09:09
231f05e
Compare
Choose a tag to compare
  • Travis CI included to properly test all supported PHP versions
  • dropped support for PHP 7.0

v1.2.1

26 Sep 10:01
Compare
Choose a tag to compare

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

09 Sep 15:49
Compare
Choose a tag to compare

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

09 Sep 08:40
Compare
Choose a tag to compare
  • added LazyIterator
  • fixed bug in PDO string returned by UrlConfig::getPdoDsn