Archive: 2013

Minified Web beta 1 released!

After over 1 year of development I am proud to release the first version of Minified Web, my tiny but fully featured alternative to libraries like jQuery and MooTools. 

Redefining the 4kB size limit

After the beta 1 release I got a lot of great feedback. Most of the feedback was about missing features or things that were too hard to do with Minified. There were also event handler memory leaks in the legacy-IE version that need to be fixed, but require a lot of code and thus would break the 4kB limit.

So I made the hard decision to modify my self-imposed 4kB limit. In beta 1, the goal was to get even the full version with legacy IE support under 4kB. But with beta 2, the goal will be to get only the version without IE support under 4 kB.

This allows me to add some much requested, missing features and will also ensure that I do not need to remove anything just to get Minified working correctly in the older IEs. At the same time, I keep a limit that will hopefully prevent feature-bloat in the library.

You can see new features as they are being added in

Minified Web beta 2 is out

This is mainly a feature release and adds many much requested features. For a complete overview, follow this link.

Beta 3 Update

Just wanted to give you an update about my plans for Minified Beta 3.

First of all, beta 3 will officially introduce the Util module. The Util module is roughly inspired by Underscore and similar libraries. It provides helpers for collections, functions, string manipulation, Date arithmetics, number and date parsing and formatting, a Promises/A+ implementation as well a template system - in less than 4kB. Both modules share the list implementation, so you can use all of Util's methods to manipulate a list of elements or use Web's set() to modify Util's list.

The Util module has been on Github for a long time, but I have finally extended the build system so that it is capable of merging the Web module and the Util module into a single module which currently weighs about 7.5kB. Both modules will, of course, also stay available as stand-alone downloads. In addition to that, the Util module will be available as a CommonJS module ready for use in Node.js and available on npm.

The changes to the existing Web module are relatively small. Two new features have been added: offset() will allow you to get a element's position on the page, very similar to jQuery's function of the same name. And the universal get()/set() syntax will get two new virtual properties $$scrollX/$$scrollY that allow you to scroll the current page. This, and some smaller changes, can also be found in the file on Github.

Beta 3 will also replace the ant-based build-system with a new one based on Grunt. I hope that this will make the source code more accessible, as relatively few JavaScript developer are familiar with ant and the old build system is pretty slow. Replacing the current XML/XSLT-based template system was a bit more complicated than I anticipated though, which is why I came up with a new side-project called HanSON. HanSON extends JSON's syntax with multi-line strings and some other things to make larger, hand-written JSON files possible. Together with the Util module's template system, HanSON is will be used to create Minified's web site.

There's still a lot of work to be done, but if everything works out I expect Beta 3 to be ready in September or early October.

Beta 3 released!

After several months of development, I am very happy and also a bit relieved to announce that Minified beta 3 is finally ready. It features the new Util module, HTML templates and many smaller changes. Also, Minified's build system has been overhauled and is now based on grunt.

A complete description of all changes can be found here. Please note the incompatibilities section, because there are some backward-incompatible changes, especially in on().

Beta 4 is out!

This is a rather small release, but with some backward-incompatible changes for event handlers. It was important to me to get them out as soon as possible, so I can now focus on stabilizing Minified and stop breaking existing code.

Beside the event handler changes, I am really happy with the new iteration method per(), which has been very helpfully for me in several situations. HTML() and ht() are now capable of reading templates directly from <script> tags, to make it easier to use large templates.

You can find a changelog here.

Archive: 2013 - 2014 - 2015