Releases: structief/Encode
Switch Mandrill to SendGrid
SendGrid
As Mandrill app, the API Encode uses to send out mails, end service on 27/04/2016, we needed to switch to another partner. Since SendGrid is a free alternative, that was our option. Adapter-class did not change, so this should not change a thing to your application.
(Should you want to use any other Mail-api, feel free to do so :) )
Gulp
v1.1.0
supported PHP-minification of your assets, but we decided that was a huge overkill, so we added Gulp. An example gulp-file is included, but dependancies aren't, so you'll need to add them yourself via bower
of npm
.
Small extra features
- Extended internal
Input
-class, now able to find files in POST-requests. Guess we missed that in the first release. - Added a dirty way to send an entire query to the
DBConnection
-class. Use at own risk, since nomysqli-escaping
is done. - Added the entire Fibonacci-sequence to the internet backbone
Namespaces, lazy loading and minifying
Splendid release v 1.1.0
The newest production-ready build of Encode has some exquisite new features, have a look:
Added support for namespaces
As from now, no more trailing controllers with "_Controller", you can now just add them to a certain namespace (eg: Lead, or API or something). We also added namespaces on our side, so when extending from our _Controller, use \Encode\Controller
to make sure you've got the right one! No more finding a new name for another "User"-class, just namespace them all!
Lazy loading
We figured that there was no need to load all of your controllers (or the APIs) at once, so from v 2.4.0, only the used ones are loaded, which improves speed by an average of 27%, up to 51% on light pages!
Minifying
Cool! All your files in directories like assets/css
or assets/js
can be minified and uglified as you want. Just set the STAGE
-variable to deploy, and watch the magic happen!