1 | compound-changelog(3) -- Changes in CompoundJS
|
2 | ================================
|
3 |
|
4 | ## HISTORY
|
5 |
|
6 | ### 1.1.19
|
7 |
|
8 | - Fixed HTTPS support
|
9 | - Introduce `req.locals` API to early access controller action context (`this`).
|
10 | - compound.loadConfigs(dir) for loading configs from entire directory into
|
11 | compound.app.settings
|
12 | - Added `vhost` route option.
|
13 | - Added presenters
|
14 | - Controllers now support promises
|
15 |
|
16 | ### 1.1.6
|
17 |
|
18 | * **man**:
|
19 | Docs in roff (man). Change `compound help` command to proxy request to `man`.
|
20 | Unfortunately compound have optional `ronn` rubygem dependency.
|
21 |
|
22 | * **inject middleware**:
|
23 | New API for middleware injections.
|
24 |
|
25 | * **mocha**:
|
26 | All tests rewritten. Mocha is new default test engine.
|
27 |
|
28 | * **cleanup core**:
|
29 | Generators, assets compiler, clientside moved to separate packages. Refactor
|
30 | and speedup render.
|
31 |
|
32 | * **new helpers**:
|
33 | icon, imageTag, metaTag, anchor, contentFor, button.
|
34 |
|
35 | * **async initializers**:
|
36 | Initializer may accept second optional param: `Function done`. In that case
|
37 | next initializer will be called only when `done` callback called.
|
38 |
|
39 | * **compound.model() api**:
|
40 | - compound.model('modelname') - getter (case insensitive)
|
41 | - compound.model('ModelName', true) - case sensitive getter
|
42 | - compound.model(NamedFn) - setter for model as named fn (or jugglingdb model)
|
43 |
|
44 | ### 1.1.5
|
45 |
|
46 | * **generators**:
|
47 | New generators structure. Fully rewritten by Sascha Gehlich.
|
48 |
|
49 | * **noeval controllers**:
|
50 | Finally we have correct controllers with inheritance, proper require, debug
|
51 | and meta-programming. Added predefined meta-controllers.
|
52 |
|
53 | * **clientside compound**:
|
54 | A lot of restructuring and rewriting for clienside, separate server and client
|
55 | loading logic.
|
56 |
|
57 | * **miscellaneous**:
|
58 | Fixes in i18n, helpers, logging, docs, etc..
|
59 |
|
60 | ### 1.1.4
|
61 |
|
62 | * **config/autoload**:
|
63 | No more weird npmfile with `require` problems.
|
64 |
|
65 | * **domain**:
|
66 | Basic middleware to support nodejs domains.
|
67 |
|
68 | * **any view engine**:
|
69 | Now any express-friendly templating engine supported.
|
70 |
|
71 | * **block-less helpers**:
|
72 | View helpers formTag, formFor and fieldsFor doesn require blocks.
|
73 |
|
74 | * **bugs**:
|
75 | A lot of bugfixes after rewriting
|
76 |
|
77 | ### 1.1.3
|
78 |
|
79 | * **railwayjs renamed**:
|
80 | Major API changes started at this point. No backwards compatibility with
|
81 | RailwayJS.
|
82 |
|
83 | * **compoundjs.com**:
|
84 | Static website generated from markdown added to repository
|
85 |
|
86 | * **assets compiler**:
|
87 | Now built-in core. Allows to generate css/js from assets stored in app/assets
|
88 | directory
|
89 |
|
90 | * **express v3**:
|
91 | Switch to latest express
|
92 |
|
93 | * **Events API**:
|
94 | Improved loading process, now utilizes events API based on nodejs event emitter
|
95 |
|
96 | ## SEE ALSO
|
97 |
|
98 | [compound-railway-changelog(3)](railway-changelog.3.html)
|