Releases: EFTEC/BladeOne
Releases · EFTEC/BladeOne
3.44.2
3.44.2 It used a base 1 index to compare if the value was the last one. Now, it is fixed: $loop->last returns true if it is the last value (@foreach)
3.44.1
3.44.1 if the view file is not found then it shows the full path.
3.44
- 2020-05-08 3.44
- It is important: The tags {{ }} and @foreach are heavily optimized.
- {{$variable}} will fail if $variable is an array or object. Previously, it was turned into a json_encode. Why it was changed? Because it affected the performance. Solution: You could use @JSON() or @Dump()
- {{$variable}} used to generate a static call: static::e($variable). Now it calls \htmlentities() directly
- @foreach was also optimized.
- The library was re-optimized. $this->phpTag and $this->phpTagEcho are used everywhere in the code.
3.43
3.43 parseArgs() (it is an internal function), now considers empty arguments. It is used by eftec/BladeOneHtml.
3.42
Updated BladeOneCache.
Added feature to add logcache (to know if the cache is working and how)
3.41.1
- updated BladeOneCache.php
3.41
3.41 update BladeOneCache.php
3.40
- 2020-04-22 3.40
- Lots of cleanups.
- new method getArgs() (protected). It is used for named parameters.
- This library will never ever pass code-sniffing (we have a method called _e for a purpose).
- It adds a constructor feature for every trait.
3.39
- 2020-04-21 3.39
- fix method isQuoted() when the string is fewer than 2 chars.
- new method isVariablePHP()
3.38.1
- 2020-04-20 3.38.1
- fix in method parseArgs() when it returns a single array It is an internal function (used for new functionality).