Permalink
Browse files

Refined 0.3.0beta changes descriptions.

  • Loading branch information...
1 parent ab14fbc commit daef1bbf688a0154a8b518f22594908b62ea5998 @mauricemach committed Jul 26, 2011
Showing with 20 additions and 20 deletions.
  1. +20 −20 CHANGELOG.md
View
@@ -1,40 +1,40 @@
**v0.3.0beta** (2011-07-xx):
- - Added an express adapter that allows `partial 'foo'` instead of `text @partial 'foo'` (see /examples/express).
+ - Added documentation: API reference at `/docs/reference.md` and annotated source at `/docs/coffeekup.html`.
- - Added id/class shortcuts (`div '#id.class.class2', 'contents'`).
-
- - Solved express integration issues and eliminated the need for a meryl adapter.
+ - Added id/class shortcuts: `div '#id.class.class2', 'contents'` (thanks @aeosynth and @payload).
+
+ - Added IE conditional comments: `ie 'lt IE8', -> 'IE 7 or less stuff'` (thanks @aeosynth).
- - `ck.render tpl, foo: 'bar'` now accessible as `h1 @foo`.
+ - Added `ck.adapters.express` which allows `partial 'foo'` instead of `text @partial 'foo'` - see `/examples/express` (thanks @cushman).
- - `ck.render tpl, locals: {foo: 'bar'}` now implemented by default through
- the `with` keyword (past behavior with `dynamic_locals: true`).
+ - Added `coffeescript src: 'file.coffee'` and `coffeescript 'string'` - see reference (thanks @henrikh).
- - `ck.render tpl, hardcode: {foo: 'bar'}` will hardcode these locals.
+ - Changed the template param format to align with Express and other templating engines. Now `tpl(foo: 'bar')` makes `foo` accessible as `h1 @foo`. `context` is not used anymore.
- - Optional third param to `ck.render`.
+ - `tpl(locals: {foo: 'bar'})` now always implemented through the `with` keyword (past behavior with `dynamic_locals: true`).
- - Gone with ck_* locals, now all implementation inside `__ck`.
+ - `tpl(hardcode: {foo: 'bar'})` will hardcode `foo` into the compiled template's body (past behavior with `dynamic_locals: false`).
- - `coffeescript src: 'file.coffee'` and `coffeescript 'string'`.
+ - Fixed: `coffeescript -> code()` now correctly adds CoffeeScript helpers to the output.
- - `coffeescript -> code()` now correctly adds coffeescript helpers to the output.
+ - Changed: using `.call(this);` instead of `();` in js generated by `coffeescript`.
- - Correctly handle numbers and booleans when used as tag contents.
+ - Fixed: correctly handle numbers and booleans when used as tag contents or attribute values.
- - Doctypes now editable at `coffeekup.doctypes`. Using `doctypes['default']`
- instead of `doctypes['5']` by default. Added the `ce` doctype.
+ - Fixed #50: "`coffeekup -w` quits on syntax error".
- - List of tags now editable at `coffeekup.tags`, and self-closing tags at `coffeekup.self_closing`.
+ - Added: doctypes now editable at `coffeekup.doctypes`, tags at `coffeekup.tags`, and self-closing tags at `coffeekup.self_closing`.
- - Added IE conditional comments: `ie 'lt IE8', -> 'IE 7 or less specific stuff'` (thanks @aeosynth).
+ - Added the `ce` doctype.
- - Using '.call(this);' instead of '();' in js generated by the 'coffeescript' tag.
+ - Changed: using `doctypes['default']` instead of `doctypes['5']` by default.
- - Fixed #50: "`coffeekup -w` quits on syntax error".
+ - Changed: in `coffeekup.render`, option `cache` is now `false` by default.
+
+ - Added a third optional param to `render`. You can pass an object with options and they will be merged with the main object param.
- - In `coffeekup.render`, option `cache` is now `false` by default.
+ - Removed ck_* locals, now all implementation inside the `__ck` object.
**v0.2.3** (2011-05-06):

0 comments on commit daef1bb

Please sign in to comment.