New Nette 2.4 is out
After a summer break, here comes a whole heap of news and info about what has
been going on and what is in the picture. The hottest piece of news is the new
version of Nette Framework 2.4. A complex overview of changes made to the
framework, including all novelties related to versioning, can be found on the
release webpage: https://forum.nette.org/…2-4-released.
In short, in the future only respective packages will be versioned (such as the
release described here: https://forum.nette.org/…4-2016-07-31).
Other big changes that should be mentioned is Nette/Object replacement with
traits, see David's talk from Hradec Králové: https://www.youtube.com/watch?…
and the fact the “guts” of Latte, a template system, have been rewritten (a
video from Plzeň will be published on YouTube soon). Here is also a post
bringing attention to what you need to be careful about when migrating: https://forum.nette.org/…nette-2-4-rc.
If you're still unsure whether you should use the latest version of Nette
Framework or not, why don't you read a short post from the Slevomat boys about
changin to 2.4: https://twitter.com/…122388672512,
there are more and more companies following the example. In case you run on
2.4 too, tweet with hashtag #nettefw.
Nette 2.4 is coming closer
At the last PoSobota meetup, David Grudl introduced the news waiting for us
in the version 2.4 which should become the LTS in Nette version 2. There are
big plans with Nette version 3, especially regarding PHP 7, therefore the
version 2.4 should most likely be the version for all Nette 2.x projects to
stick to for good, thus the prolonged support. As of today, the minimal support
of each .x version is 2 years, prolonged by at least a year in the LTS
Summer is coming! (pun intended) and the planned outing in the open is coming
with it. You can pre-register at www.nettecamp.cz. Together with Tomas Jacik,
we are preparing many new things and we will try to overcome the obstacles
exposed by last year’s 0th Camp. The date is 25 – 28 August 2016 and we
are moving the venue to Český ráj.
We Are Expanding
Our Czech mailing list community already counts more than 600 subscribers.
It is a shame that we are not able to gauge the exact count of newcomers who
decided to read this actual post. But I believe that this number is going to
rise at least as fast as the Czech, local one.
A new patch version of Nette Framework has just released. It brings a few
novelties that may be found at https://forum.nette.org/…3-9-released.
I cannot leave out, at least, one of them – it is now possible to turn off
the Tracy by
Debugger::$showBar = FALSE; The last stable versions
(2.3.9, 2.2.12 and even 2.1.12) are fully compatible with PHP 7 and, as a
bonus, version 2.3.9 is able to get use of PHP 7 features as argument type
hints and a return type of a generated factory.
We are starting something new
This article is a shortened translation of a Czech e-mail magazine. Honza started with
writing some news from our community and foundation. Because we want to talk to
you, no matter where you are, we have also turned this e-mail magazine into a
blog post. We are planning a new article delivery in every 2–3 weeks. However,
a brief delay might occur depending on a translation speed. If you'd like to
help us with a content and/or corrections, contact Honza for more information.
We are open for any help.
This Twitter hashtag stands for small repeated events and casual community
meetings. An English equivalent, #NetteFwBeer, will also be used. These casual
meetings take place every second Wednesday in a month. If you'd like to set up
your own local community event, just create an event at http://eventle.com/(or elsewhere) and promote
it on a Nette forum. We want the community to grow and this is a one of the ways
how we are able to make it happen.
Nette Tester 1.7.0 is out. I'll summarize the changes.
HtmlGenerator, which generates HTML code coverage report, now counts lines
from not evaluated files as not covered. The only impact is, that you can see
lower percentual coverage in report. Imagine the situation, that you have two
source files (same lenght for simplification), but only one of them is loaded by
tests. You got 100% coverage before, now you get only 50%.
If you are using TestCase test methods with
provider method can return
Traversable now. As a consequence of
this, you can use generator (
yield). It is handy for lazy data
loading, for example from remote API. Short example: