DerekAllard.com

CodeIgniter 1.5.4 released

From the CodeIgniter news:

CodeIgniter 1.5.4 Released
Version 1.5.4 is primarily a maintenance release.  For a list of all changes please see the Change Log.  If you are currently running CodeIgniter please read the update instructions.

A maintenance releaseRick, the master of understatement as usual.  All of us busted our butts, but particular praise should go to Derek and Paul, who (among many other things) rewrote the input library and significantly increased its awesomeness.  In fact, security in CI on the whole is a considerable step up.

Here are some other notables:

OK, I guess that fits the definition of maintenance release, then why did it feel like so much work?

The autoloadable custom languages is almost directly resulting from the renewed effort to internationalize BambooInvoice.  Much more is coming, and CI development is once again in our wheelhouse.

This entry was made on and filed into CodeIgniter.

Comments

Yannick wrote on

Awesome stuff! So good to see another release pushed out. :)

Alex Williams wrote on

Great job! You guys really crunched out a bunch of bug fixes.

I love that it’s possible to autoload custom languages. I had previously written my own library for loading and switching languages based on cookies. I’m gonna check out the forums to see if there’s anything similar and maybe contribute some code to this new feature.

Thanks!

Derek wrote on

Thanks both.  The autoload languages doesn’t have an “on the fly” switcher, but that would be pretty do-able.

I’d love to see your end results.  And Alex, owe you a thanks for being part of the butt-kicking to get Bamboo i18n, thanks.

Marc Arbour wrote on

Hi.

Roland Blochberger has given us an on the fly switch thing.

I imagine one very experienced CI coder could dismantle it and integrate it directly in the Core.

Just my two cents.

Marc

Christian Nielsen wrote on

I was wondering whether the character set update also affects database calls? Up until now, I’ve been having to call SET NAMES utf8 and SET CHARACTER SET utf8 in the top of the controllers using database data when the website is all-utf8.

If not, is there any update on the way to streamline that process?

Derek wrote on

@Marc.  Agreed, it is ultimately just a case of flipping the

$config['language']    "english"

variable around.  One could do this with hooks or by modifying the code.  While I’m not sure of the need for “on the fly” language switching, I’ll take a look at the code and see what it would look like.  Thanks!

@Christian: that’s a good workaround, but I think what you are getting at is that the database would be better off if it were in UTF-8 to begin with.  I agree!  All future versions of BambooInvoice will have database character sets forced to UTF-8.  I’ll also write up a blog post later today on how to change an existing database.  Thanks.