-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
doctrine
committed
Aug 21, 2023
1 parent
a5f53cd
commit 84a88c4
Showing
2,440 changed files
with
13,438 additions
and
13,144 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -192,6 +192,11 @@ | |
<main role="main" class="container-wrapper container"> | ||
<h1>Blog Archive</h1> | ||
|
||
<date>2023-08-21</date> <a href="/2023/08/21/doctrine-orm-team-meetup.html">Doctrine ORM Team Meetup in Bonn, Germany</a> | ||
|
||
by | ||
<a href="mailto:[email protected]">Benjamin Eberlei</a> | ||
<br/> | ||
<date>2022-11-04</date> <a href="/2022/11/04/annotations-to-attributes.html">From annotations to attributes</a> | ||
|
||
by | ||
|
@@ -347,12 +352,12 @@ <h1>Blog Archive</h1> | |
by | ||
<a href="mailto:[email protected]">Gianluca Arbezzano</a> | ||
<br/> | ||
<date>2016-01-05</date> <a href="/2016/01/05/orm-2-5-4.html">Doctrine ORM 2.5.4 Released</a> | ||
<date>2016-01-05</date> <a href="/2016/01/05/dbal-2-5-4-and-2-4-5.html">Doctrine DBAL 2.5.4 and 2.4.5 Released</a> | ||
|
||
by | ||
<a href="mailto:[email protected]">Marco Pivetta</a> | ||
<br/> | ||
<date>2016-01-05</date> <a href="/2016/01/05/dbal-2-5-4-and-2-4-5.html">Doctrine DBAL 2.5.4 and 2.4.5 Released</a> | ||
<date>2016-01-05</date> <a href="/2016/01/05/orm-2-5-4.html">Doctrine ORM 2.5.4 Released</a> | ||
|
||
by | ||
<a href="mailto:[email protected]">Marco Pivetta</a> | ||
|
@@ -475,12 +480,12 @@ <h1>Blog Archive</h1> | |
by | ||
<a href="mailto:[email protected]">Marco Pivetta</a> | ||
<br/> | ||
<date>2015-04-02</date> <a href="/2015/04/02/common-2-5-0.html">Doctrine Common 2.5.0 Release</a> | ||
<date>2015-04-02</date> <a href="/2015/04/02/orm-2-5-0.html">Doctrine ORM 2.5.0 Release</a> | ||
|
||
by | ||
<a href="mailto:[email protected]">Marco Pivetta</a> | ||
<br/> | ||
<date>2015-04-02</date> <a href="/2015/04/02/orm-2-5-0.html">Doctrine ORM 2.5.0 Release</a> | ||
<date>2015-04-02</date> <a href="/2015/04/02/common-2-5-0.html">Doctrine Common 2.5.0 Release</a> | ||
|
||
by | ||
<a href="mailto:[email protected]">Marco Pivetta</a> | ||
|
@@ -586,22 +591,22 @@ <h1>Blog Archive</h1> | |
<date>2014-09-12</date> <a href="/2014/09/12/dbal-250rc2.html">Doctrine DBAL 2.5 RC2</a> | ||
|
||
<br/> | ||
<date>2014-09-11</date> <a href="/2014/09/11/orm-244.html">ORM 2.4.4 released</a> | ||
<date>2014-09-11</date> <a href="/2014/09/11/instantiator-1-0-0.html">Doctrine Instantiator 1.0.0 released</a> | ||
|
||
by | ||
<a href="mailto:[email protected]">Marco Pivetta</a> | ||
<br/> | ||
<date>2014-09-11</date> <a href="/2014/09/11/instantiator-1-0-0.html">Doctrine Instantiator 1.0.0 released</a> | ||
<date>2014-09-11</date> <a href="/2014/09/11/orm-244.html">ORM 2.4.4 released</a> | ||
|
||
by | ||
<a href="mailto:[email protected]">Marco Pivetta</a> | ||
<br/> | ||
<date>2014-02-21</date> <a href="/2014/02/21/doctrine_2_5_beta3.html">Doctrine DBAL 2.5 BETA3</a> | ||
<date>2014-02-21</date> <a href="/2014/02/21/security_in_doctrine.html">Security in Doctrine</a> | ||
|
||
by | ||
default | ||
<br/> | ||
<date>2014-02-21</date> <a href="/2014/02/21/security_in_doctrine.html">Security in Doctrine</a> | ||
<date>2014-02-21</date> <a href="/2014/02/21/doctrine_2_5_beta3.html">Doctrine DBAL 2.5 BETA3</a> | ||
|
||
by | ||
default | ||
|
@@ -636,22 +641,22 @@ <h1>Blog Archive</h1> | |
by | ||
Benjamin Eberlei | ||
<br/> | ||
<date>2013-05-11</date> <a href="/2013/05/11/doctrine-2-4-beta2.html">Doctrine 2.4 Beta2 released</a> | ||
<date>2013-05-11</date> <a href="/2013/05/11/doctrine-2-3-4.html">Doctrine 2.3.4 released</a> | ||
|
||
by | ||
Benjamin Eberlei | ||
<br/> | ||
<date>2013-05-11</date> <a href="/2013/05/11/doctrine-2-3-4.html">Doctrine 2.3.4 released</a> | ||
<date>2013-05-11</date> <a href="/2013/05/11/doctrine-2-4-beta2.html">Doctrine 2.4 Beta2 released</a> | ||
|
||
by | ||
Benjamin Eberlei | ||
<br/> | ||
<date>2013-03-24</date> <a href="/2013/03/24/doctrine-2-3-3.html">Doctrine 2.3.3 released</a> | ||
<date>2013-03-24</date> <a href="/2013/03/24/doctrine-2-4-beta.html">Doctrine 2.4 Beta1 released</a> | ||
|
||
by | ||
Benjamin Eberlei | ||
<br/> | ||
<date>2013-03-24</date> <a href="/2013/03/24/doctrine-2-4-beta.html">Doctrine 2.4 Beta1 released</a> | ||
<date>2013-03-24</date> <a href="/2013/03/24/doctrine-2-3-3.html">Doctrine 2.3.3 released</a> | ||
|
||
by | ||
Benjamin Eberlei | ||
|
@@ -1221,22 +1226,22 @@ <h1>Blog Archive</h1> | |
by | ||
jwage | ||
<br/> | ||
<date>2009-06-21</date> <a href="/2009/06/21/doctrine-future-roadmap.html">Doctrine Future Roadmap</a> | ||
<date>2009-06-21</date> <a href="/2009/06/21/website-updates.html">Website Updates</a> | ||
|
||
by | ||
jwage | ||
<br/> | ||
<date>2009-06-21</date> <a href="/2009/06/21/website-updates.html">Website Updates</a> | ||
<date>2009-06-21</date> <a href="/2009/06/21/doctrine-future-roadmap.html">Doctrine Future Roadmap</a> | ||
|
||
by | ||
jwage | ||
<br/> | ||
<date>2009-06-19</date> <a href="/2009/06/19/cross-database-joins.html">Cross Database Joins</a> | ||
<date>2009-06-19</date> <a href="/2009/06/19/using-views-with-doctrine.html">Using Views with Doctrine</a> | ||
|
||
by | ||
jwage | ||
<br/> | ||
<date>2009-06-19</date> <a href="/2009/06/19/using-views-with-doctrine.html">Using Views with Doctrine</a> | ||
<date>2009-06-19</date> <a href="/2009/06/19/cross-database-joins.html">Cross Database Joins</a> | ||
|
||
by | ||
jwage | ||
|
@@ -1251,12 +1256,12 @@ <h1>Blog Archive</h1> | |
by | ||
jwage | ||
<br/> | ||
<date>2009-06-15</date> <a href="/2009/06/15/doctrine-1-0-10-and-1-1-2-released.html">Doctrine 1.0.10 and 1.1.2 Released</a> | ||
<date>2009-06-15</date> <a href="/2009/06/15/sensio-labs-training-sessions.html">Sensio Labs Training Sessions</a> | ||
|
||
by | ||
jwage | ||
<br/> | ||
<date>2009-06-15</date> <a href="/2009/06/15/sensio-labs-training-sessions.html">Sensio Labs Training Sessions</a> | ||
<date>2009-06-15</date> <a href="/2009/06/15/doctrine-1-0-10-and-1-1-2-released.html">Doctrine 1.0.10 and 1.1.2 Released</a> | ||
|
||
by | ||
jwage | ||
|
@@ -1406,12 +1411,12 @@ <h1>Blog Archive</h1> | |
by | ||
romanb | ||
<br/> | ||
<date>2008-10-02</date> <a href="/2008/10/02/first-symfony-1-1-workshop-in-atlanta-usa.html">First symfony 1.1 workshop in Atlanta, USA</a> | ||
<date>2008-10-02</date> <a href="/2008/10/02/doctrine-1-1-development-begins.html">Doctrine 1.1 Development Begins</a> | ||
|
||
by | ||
jwage | ||
<br/> | ||
<date>2008-10-02</date> <a href="/2008/10/02/doctrine-1-1-development-begins.html">Doctrine 1.1 Development Begins</a> | ||
<date>2008-10-02</date> <a href="/2008/10/02/first-symfony-1-1-workshop-in-atlanta-usa.html">First symfony 1.1 workshop in Atlanta, USA</a> | ||
|
||
by | ||
jwage | ||
|
@@ -1451,12 +1456,12 @@ <h1>Blog Archive</h1> | |
by | ||
jwage | ||
<br/> | ||
<date>2008-08-27</date> <a href="/2008/08/27/moving-quickly.html">Moving Quickly</a> | ||
<date>2008-08-27</date> <a href="/2008/08/27/release-candidate-2-available.html">Release Candidate 2 Available</a> | ||
|
||
by | ||
jwage | ||
<br/> | ||
<date>2008-08-27</date> <a href="/2008/08/27/release-candidate-2-available.html">Release Candidate 2 Available</a> | ||
<date>2008-08-27</date> <a href="/2008/08/27/moving-quickly.html">Moving Quickly</a> | ||
|
||
by | ||
jwage | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -198,6 +198,28 @@ | |
|
||
<main role="main" class="container-wrapper container"> | ||
<article> | ||
<header> | ||
<h2><a href="/2023/08/21/doctrine-orm-team-meetup.html">Doctrine ORM Team Meetup in Bonn, Germany</a></h2> | ||
</header> | ||
|
||
<p class="lead"> | ||
Posted on <date>August 21, 2023</date> | ||
by | ||
<a href="mailto:[email protected]">Benjamin Eberlei</a> | ||
</p> | ||
|
||
<hr /> | ||
|
||
<div> | ||
<p>We are organizing a Doctrine ORM Core Team Meetup in Bonn, Germany from Monday, | ||
9.10.2023 to Wednesday, 11.10.2023 at the offices of one of our primary | ||
sponsors Tideways GmbH.</p> | ||
<p>The goal is to get the current team together, discuss and work on the missing | ||
pieces for the long-awaited Doctrine ORM 3.0 release that is planned for later | ||
this year.</p> | ||
</div> | ||
</article> | ||
<article> | ||
<header> | ||
<h2><a href="/2022/11/04/annotations-to-attributes.html">From annotations to attributes</a></h2> | ||
</header> | ||
|
@@ -1000,66 +1022,6 @@ <h2>Coding Standard Support</h2> | |
all new violations in a PR get caught and inlined into the PR as comments.</p> | ||
</div> | ||
</article> | ||
<article> | ||
<header> | ||
<h2><a href="/2021/04/19/dbal-2.13.1-3.1.0.html">New Release: Doctrine DBAL 2.13.1 and 3.1.0 with important Forward Compatibility fix</a></h2> | ||
</header> | ||
|
||
<p class="lead"> | ||
Posted on <date>April 19, 2021</date> | ||
by | ||
<a href="mailto:[email protected]">Benjamin Eberlei</a> | ||
</p> | ||
|
||
<hr /> | ||
|
||
<div> | ||
<p>Last month <a href="https://www.doctrine-project.org/2021/03/29/dbal-2.13.html">we released DBAL | ||
2.13.0</a> as an | ||
important push for the ecosystem towards DBAL 3 with an extensive deprecation | ||
and forward compatibility layer.</p> | ||
<p>We made a few mistakes, given that the forward compatibility layer is quite complex. | ||
As such we have now released Doctrine DBAL 2.13.1 and 3.1.0 with two new APIs | ||
that improve the forward compatiblity.</p> | ||
<p>The problem lies in <code>Statement::execute()</code>: 2.13.0 would return a <code>bool</code> and | ||
3.0.0 would return a <code>Result</code> from this method. This kind of API change cannot | ||
be handled with a forward compatibility.</p> | ||
<p>As such we introduced two new APIs on <code>Statement</code> that replace <code>execute()</code>. | ||
When the old code was:</p> | ||
<pre><code class="language-php">$statement = $connection->prepare('SELECT * FROM tbl WHERE col = ?'); | ||
$statement->execute(); | ||
|
||
$rows = $statement->fetchAll();</code></pre> | ||
<p>Then the new code is now:</p> | ||
<pre><code class="language-php">$statement = $connection->prepare('SELECT * FROM tbl WHERE col = ?'); | ||
$result = $statement->executeQuery(); | ||
|
||
$rows = $result->fetchAllAssociative();</code></pre> | ||
<p>The DBAL 2.13 forward compatiblity layer supports both versions of all code and | ||
returns a Statement/Result hybrid that has all the APIs that the DBAL Statement | ||
had up until version 2.12. This way you can move at your own pace from the old | ||
to the new API in your code.</p> | ||
<p>Thank you again to <a href="https://github.com/mdumoulin">mdumoulin</a> for the work on | ||
improving the forward compatiblity and to <a href="https://twitter.com/srgmrzv">Sergei Morozov</a> | ||
for the thorough reviews and comments.</p> | ||
<p>Again I want to highlight the Runtime Deprecations library that we introduced | ||
to support this migration. You can integrate this with your log stack during | ||
development and testing:</p> | ||
<pre><code class="language-php">use Doctrine\Deprecations\Deprecation; | ||
use Monolog\Logger; | ||
use Monolog\Handler\StreamHandler; | ||
|
||
$log = new Logger('doctrine'); | ||
$log->pushHandler(new StreamHandler('deprecations.log', Logger::INFO)); | ||
|
||
Deprecation::enableWithPsrLogger($log);</code></pre> | ||
<p>Or alternatively using PHP's global error handler:</p> | ||
<pre><code class="language-php">Deprecation::enableWithTriggerError();</code></pre> | ||
<p>See the <a href="https://www.doctrine-project.org/2021/03/29/dbal-2.13.html">2.13 blog | ||
post</a> for more | ||
information about the migration to DBAL 3 and strategy recommendations.</p> | ||
</div> | ||
</article> | ||
|
||
<a href="/blog/archive.html" class="btn btn-primary">View Blog Archive</a> | ||
</main> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.