Skip to content

Commit cdd4173

Browse files
committed
new big changes
1 parent d8027f2 commit cdd4173

19 files changed

Lines changed: 221 additions & 672 deletions

File tree

changes.txt

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,16 @@ IN DEVELOPMENT ======= 1.6.0
3232
- added: routing supports options for middleware, author: bir <https://github.com/bir>
3333
- added: global method COMPONENT(name, params...) - returns rendered output from component
3434
- added: controller.json(obj, [beautify], [replacer]) and ErrorBuilder.json([beautify], [replacer]), author: bir <https://github.com/bir>
35-
35+
- added: framework.precompile(name, url) - precompile view from URL address
36+
- added: PRECOMPILE(name, url) - alias for framework.precompile()
37+
- added: config['default-interval-clear-resources'], default 20
38+
- added: config['default-interval-clear-temporary'], default 3
39+
- added: config['default-interval-precompile'], default 61
40+
41+
- updated: (IMPORTANT) INCLUDE(name, [options]), SOURCE(name, [options]) –> object
42+
- updated: (IMPORTANT) SOURCE(name, [options]), framework.source(name, [options]) –> object
43+
- updated: (IMPORTANT) INCLUDE(url, [options]), framework.include(url, [options]) –> undefined
44+
- updated: (IMPORTANT) SOURCE(url, [options]), framework.source(url, [options]) –> undefined
3645
- updated: framework.run([http], config, [port], [ip], [options])
3746
- updated: utils.validate(), Builders.validate() –> prepare function (added: schemaName): function(name, value, path, schemaName)
3847
- updated: framework.assert() supports "data" as function (for future data)
@@ -45,13 +54,16 @@ IN DEVELOPMENT ======= 1.6.0
4554
- fixed: view engine parser (reported by @tohachan)
4655
- fixed: Builders.prepare()
4756

57+
- removed: (IMPORTANT) prefixes + framework.onPrefix()
4858
- removed: (IMPORTANT) controller.framework (use: framework. instead of self.framework)
4959
- removed: (IMPORTANT) global middleware from controllers
5060
- removed: (IMPORTANT) Request.data.get
5161
- removed: (IMPORTANT) Request.data.post
5262
- removed: (IMPORTANT) Request.data.files
5363
- removed: (IMPORTANT) framework.onRoute()
5464
- removed: (IMPORTANT) global module #
65+
- removed: (IMPORTANT) view engine: templates were changed to views
66+
- removed: (IMPORTANT) @{content()}
5567

5668
- clean code
5769
- improvements: framework

0 commit comments

Comments
 (0)