tag:github.com,2008:https://github.com/ezSQL/ezsql/releases Release notes from ezsql 2025-10-30T14:11:18Z tag:github.com,2008:Repository/3337723/5.1.2 2025-10-30T14:13:24Z 5.1.2 <h2>What's Changed</h2> <ul> <li>Example usage fixed by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/if3lc/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/if3lc">@if3lc</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1533394310" data-permission-text="Title is private" data-url="https://github.com/ezSQL/ezsql/issues/221" data-hovercard-type="pull_request" data-hovercard-url="/ezSQL/ezsql/pull/221/hovercard" href="https://github.com/ezSQL/ezsql/pull/221">#221</a></li> <li>Fix Error: Uncaught TypeError: Argument 1 passed by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/kazimolmez/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/kazimolmez">@kazimolmez</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3029882383" data-permission-text="Title is private" data-url="https://github.com/ezSQL/ezsql/issues/223" data-hovercard-type="pull_request" data-hovercard-url="/ezSQL/ezsql/pull/223/hovercard" href="https://github.com/ezSQL/ezsql/pull/223">#223</a></li> <li>Update Constants.php by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/dpDesignz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dpDesignz">@dpDesignz</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1125714943" data-permission-text="Title is private" data-url="https://github.com/ezSQL/ezsql/issues/213" data-hovercard-type="pull_request" data-hovercard-url="/ezSQL/ezsql/pull/213/hovercard" href="https://github.com/ezSQL/ezsql/pull/213">#213</a></li> <li>Fix reference to argument in closure for params by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/zag2me/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/zag2me">@zag2me</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3570432362" data-permission-text="Title is private" data-url="https://github.com/ezSQL/ezsql/issues/225" data-hovercard-type="pull_request" data-hovercard-url="/ezSQL/ezsql/pull/225/hovercard" href="https://github.com/ezSQL/ezsql/pull/225">#225</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/if3lc/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/if3lc">@if3lc</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1533394310" data-permission-text="Title is private" data-url="https://github.com/ezSQL/ezsql/issues/221" data-hovercard-type="pull_request" data-hovercard-url="/ezSQL/ezsql/pull/221/hovercard" href="https://github.com/ezSQL/ezsql/pull/221">#221</a></li> <li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/kazimolmez/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/kazimolmez">@kazimolmez</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3029882383" data-permission-text="Title is private" data-url="https://github.com/ezSQL/ezsql/issues/223" data-hovercard-type="pull_request" data-hovercard-url="/ezSQL/ezsql/pull/223/hovercard" href="https://github.com/ezSQL/ezsql/pull/223">#223</a></li> <li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/zag2me/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/zag2me">@zag2me</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3570432362" data-permission-text="Title is private" data-url="https://github.com/ezSQL/ezsql/issues/225" data-hovercard-type="pull_request" data-hovercard-url="/ezSQL/ezsql/pull/225/hovercard" href="https://github.com/ezSQL/ezsql/pull/225">#225</a></li> </ul> <p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/ezSQL/ezsql/compare/5.1.1...5.1.2"><tt>5.1.1...5.1.2</tt></a></p> TheTechsTech tag:github.com,2008:Repository/3337723/5.1.1 2021-02-22T20:29:58Z 5.1.1 <p>update version, removed unrelated methods from ezQuery class to globa…</p> <p>…l functions only</p> <p>- added/tested two additional security related functions, `is_traversal` and `sanitize_path` to go along with `clean_string`</p> TheTechsTech tag:github.com,2008:Repository/3337723/5.1.0 2021-02-20T01:24:19Z minor bc, update docs/doc-blocks, new functions <ul> <li>renamed cleanInput to clean_string</li> <li>renamed createCertificate to create_certificate</li> <li>added global get_results to return result sets in different formats</li> <li>added alter, altering shortcuts to modify table columns</li> <li>tests/code coverage updates</li> <li>many docs/doc-blocks corrections</li> </ul> TheTechsTech tag:github.com,2008:Repository/3337723/5.0.0 2021-02-16T19:48:12Z new version, major breacking changes, updated docs/doc-blocks <ul> <li> <p>The use of <code>namespace</code> in the <code>global</code> functions <strong>ezFunctions.php</strong> file.<br> Usage of the <strong>global</strong> functions will require the user to begin a <code>.php</code> file something like:</p> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="use function ezsql\functions\where; // Or use function ezsql\functions\{ getInstance, selecting, inserting, };"><pre><span class="pl-k">use</span> <span class="pl-k">function</span> <span class="pl-v">ezsql</span>\<span class="pl-v">functions</span>\<span class="pl-en">where</span>; <span class="pl-c">// Or</span> <span class="pl-k">use</span> <span class="pl-k">function</span> <span class="pl-v">ezsql</span>\<span class="pl-v">functions</span>\{ <span class="pl-smi">getInstance</span>, <span class="pl-smi">selecting</span>, <span class="pl-smi">inserting</span>,<span class="pl-smi"></span> };</pre></div> </li> <li> <p>Class properties that was accessible by magic methods <code>get/set</code>, now PSR 1 camelCase.</p> </li> <li> <p>update class libraries and tests to match PSR 1, but still backwards with previous way.</p> </li> <li> <p>Renamed <code>select</code> of <code>ez_mysqli</code> to <code>dbSelect</code>.</p> </li> <li> <p>Renamed class method and behavior of <code>selecting</code> to <code>select</code>.</p> </li> <li> <p><code>selecting</code>, and new <code>inserting</code> methods, can be called without table name, only the other necessary parameters:</p> <ul> <li>The table <em>name</em> with <em>prefix</em>, can be preset/stored with methods <code>tableSetup(name, prefix), or setTable(name), setPrefix(append)</code>, if called without presetting, <code>false</code> is returned.</li> <li>This <strong>feature</strong> will be added to <strong>all</strong> database <em>CRUD</em> access methods , each method name will have an <code>ing</code> ending added.</li> </ul> </li> <li> <p>Removed global functions where <code>table</code> name passed in, use functions as outlined above using preset table names ending with <code>ing</code>.</p> </li> </ul> TheTechsTech tag:github.com,2008:Repository/3337723/4.0.12 2021-02-12T00:09:44Z Updates for PHP 8 compatibility, add GitHub Actions for macOS CI, doc-block fixes/updates <ul> <li>some unknown phpunit configuration issue causing macOS CI error, otherwise test passes</li> <li>unable to include Microsoft Sql Server, docker throws:<br> Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?</li> </ul> TheTechsTech tag:github.com,2008:Repository/3337723/4.0.11 2021-02-08T18:27:45Z Code cleanup, refactor for PHP 8 compatibility, and bug fixes discovered in doing so <ul> <li>bug fixes, prior to PHP 8, <code>**@**</code> silenced errors which this library used to return <code>**false**</code> instead, that is not no longer possible with PHP 8</li> <li>Linux and Windows CI tests move to GitHub Actions</li> <li>General code style fixes</li> <li>merged bug fix <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="798918491" data-permission-text="Title is private" data-url="https://github.com/ezSQL/ezsql/issues/199" data-hovercard-type="pull_request" data-hovercard-url="/ezSQL/ezsql/pull/199/hovercard" href="https://github.com/ezSQL/ezsql/pull/199">#199</a></li> <li>fixed tests in issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="802384229" data-permission-text="Title is private" data-url="https://github.com/ezSQL/ezsql/issues/200" data-hovercard-type="issue" data-hovercard-url="/ezSQL/ezsql/issues/200/hovercard" href="https://github.com/ezSQL/ezsql/issues/200">#200</a>, and corrections for PR <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="802470279" data-permission-text="Title is private" data-url="https://github.com/ezSQL/ezsql/issues/201" data-hovercard-type="pull_request" data-hovercard-url="/ezSQL/ezsql/pull/201/hovercard" href="https://github.com/ezSQL/ezsql/pull/201">#201</a></li> </ul> TheTechsTech tag:github.com,2008:Repository/3337723/4.0.10 2020-04-27T02:29:13Z Added features, and bug fixes <ul> <li>merged <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="585785536" data-permission-text="Title is private" data-url="https://github.com/ezSQL/ezsql/issues/183" data-hovercard-type="pull_request" data-hovercard-url="/ezSQL/ezsql/pull/183/hovercard" href="https://github.com/ezSQL/ezsql/pull/183">#183</a> fixes exhausting memory issue</li> <li>merged <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="603694191" data-permission-text="Title is private" data-url="https://github.com/ezSQL/ezsql/issues/185" data-hovercard-type="pull_request" data-hovercard-url="/ezSQL/ezsql/pull/185/hovercard" href="https://github.com/ezSQL/ezsql/pull/185">#185</a> <code>where()</code> was not handling additional <code>_OR</code> conditions</li> <li>merged <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="603737233" data-permission-text="Title is private" data-url="https://github.com/ezSQL/ezsql/issues/186" data-hovercard-type="pull_request" data-hovercard-url="/ezSQL/ezsql/pull/186/hovercard" href="https://github.com/ezSQL/ezsql/pull/186">#186</a> added feature <code>where()</code> conditional <code>grouping()</code></li> </ul> TheTechsTech tag:github.com,2008:Repository/3337723/4.0.9 2020-02-02T13:01:13Z 4.0.9: Merge pull request #180 from dpDesignz/table-joins <p>Merge pull request <a class="issue-link js-issue-link" href="https://github.com/ezSQL/ezsql/pull/180">#180</a> from dpDesignz/table-joins</p> <p>fixBug: Conditional Stacked Functions in selecting</p> TheTechsTech tag:github.com,2008:Repository/3337723/4.0.8 2019-08-31T01:43:20Z 4.0.8: Merge pull request #170 from dpDesignz/master <p>Merge pull request <a class="issue-link js-issue-link" href="https://github.com/ezSQL/ezsql/pull/170">#170</a> from dpDesignz/master</p> <p>continue fixBug: Error when trying to use $db-&gt;vardump()</p> TheTechsTech tag:github.com,2008:Repository/3337723/4.0.7 2019-08-19T17:08:37Z 4.0.7: Merge pull request #166 from dpDesignz/master <ul> <li>bug fix <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="479943779" data-permission-text="Title is private" data-url="https://github.com/ezSQL/ezsql/issues/163" data-hovercard-type="issue" data-hovercard-url="/ezSQL/ezsql/issues/163/hovercard" href="https://github.com/ezSQL/ezsql/issues/163">#163</a></li> <li>added <code>debugOn()</code> and <code>debugOff()</code> methods for simpler way to turn On/Off echoing output for <code>varDump()</code></li> </ul> TheTechsTech