Releases: ezSQL/ezsql
Releases · ezSQL/ezsql
5.1.2
What's Changed
- Example usage fixed by @if3lc in #221
- Fix Error: Uncaught TypeError: Argument 1 passed by @kazimolmez in #223
- Update Constants.php by @dpDesignz in #213
- Fix reference to argument in closure for params by @zag2me in #225
New Contributors
- @if3lc made their first contribution in #221
- @kazimolmez made their first contribution in #223
- @zag2me made their first contribution in #225
Full Changelog: 5.1.1...5.1.2
5.1.1
update version, removed unrelated methods from ezQuery class to globa…
minor bc, update docs/doc-blocks, new functions
- renamed cleanInput to clean_string
- renamed createCertificate to create_certificate
- added global get_results to return result sets in different formats
- added alter, altering shortcuts to modify table columns
- tests/code coverage updates
- many docs/doc-blocks corrections
new version, major breacking changes, updated docs/doc-blocks
-
The use of
namespacein theglobalfunctions ezFunctions.php file.
Usage of the global functions will require the user to begin a.phpfile something like:use function ezsql\functions\where; // Or use function ezsql\functions\{ getInstance, selecting, inserting, };
-
Class properties that was accessible by magic methods
get/set, now PSR 1 camelCase. -
update class libraries and tests to match PSR 1, but still backwards with previous way.
-
Renamed
selectofez_mysqlitodbSelect. -
Renamed class method and behavior of
selectingtoselect. -
selecting, and newinsertingmethods, can be called without table name, only the other necessary parameters:- The table name with prefix, can be preset/stored with methods
tableSetup(name, prefix), or setTable(name), setPrefix(append), if called without presetting,falseis returned. - This feature will be added to all database CRUD access methods , each method name will have an
ingending added.
- The table name with prefix, can be preset/stored with methods
-
Removed global functions where
tablename passed in, use functions as outlined above using preset table names ending withing.
Updates for PHP 8 compatibility, add GitHub Actions for macOS CI, doc-block fixes/updates
- some unknown phpunit configuration issue causing macOS CI error, otherwise test passes
- unable to include Microsoft Sql Server, docker throws:
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Code cleanup, refactor for PHP 8 compatibility, and bug fixes discovered in doing so
Added features, and bug fixes
4.0.9: Merge pull request #180 from dpDesignz/table-joins
fixBug: Conditional Stacked Functions in selecting
4.0.8: Merge pull request #170 from dpDesignz/master
continue fixBug: Error when trying to use $db->vardump()
4.0.7: Merge pull request #166 from dpDesignz/master
- bug fix #163
- added
debugOn()anddebugOff()methods for simpler way to turn On/Off echoing output forvarDump()