These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

[PHP][API] Release: PhealNG 2.0.0

Author
Peter Powers
Terrorists of Dimensions
HORSE-KILLERS
#1 - 2014-12-29 13:33:27 UTC
Good day everyone!

it has been a while that Pheal(NG) has seen any larger changes, and I was holding back a community contribution as it is breaking backward compatibility, and i expected to break BC with another change as well.

Basically i had the merge of the development branch waiting for the Caching PSR, assuming it would be released at any possible time - so i could have build in support for this. Well after more than a year that I was waiting for that PSR to be approved, I've decided to at least release the changes i have, as it is unforseeable that the PHP-FIG will make a decision on the PSR anytime soon.

Github: https://github.com/3rdpartyeve/phealng
Composer: 3rdpartyeve/phealng

So what has changed?

  • the Pdo based cache (communit contribution) has seen a fix or two, one of them requiring a change in the DB structure. If you are using this, please check the README, so you can build the alter table that you will need.
  • the logging (so far undocumented feature) has seen a bit of work. The FileStorage which was available so far has been marked as deprecated, but kept in the release, and a new Logger which can wrap around any PSR-3 compatible logger has been added.
  • basic logging has been documented. (incl example for the PSR Logger)
  • a few code style fixes have been applied.
  • minimum PHP required is now (hard) PHP 5.4, this has been indicated through the readme for a while, and now Pheal is using functionality that is not available in PHP 5.3.


Who should update
Everyone. There is no real reason to use an older version, and if you don't use logging or the PdoCache, upgrading should be pretty easy. If you are using the PDO cache the alter table shouldn't cost you too much time, and if you are using logging, well you most likely can upgrade without much trouble too.

If you are still using PHP 5.3, and that is the reason why you can't upgrade
STOP USING PHP 5.3.*. Seriously. PHP 5.3 has been supersed by several versions, and was supposed to go out of service last year (which was extended till earlier this year, and now is not receiving patches anymore). If you are still using PHP 5.3 then YOU are the reason why PHP has a bad name, people can't have nice things and a lot of other bad stuff. Seriously. UPDATE (or if your hoster doesn't, change your Hoster).

3rdPartyEve.net - your catalogue for 3rd party applications