Skip to content

Commit 52688c3

Browse files
committed
Improve unit-testing + new globals ROUTE(), FILE() and WEBSOCKET().
1 parent 35c91dc commit 52688c3

6 files changed

Lines changed: 176 additions & 479 deletions

File tree

changes.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
======= 2.7.0
22

3+
- added: __IMPORTANT__ new unit-testing mechanism
34
- added: __IMPORTANT__ `F.prototypes(function(proto) {})` for extending all internal prototypes
45
- added: `HttpFile` is set in `global` for extending of prototype
56
- added: `file.move()` a new alias for `file.rename()`
67
- added: `SchemaBuilderEntity.$controller(new_controller)`
78
- added: `EMPTYCONTROLLER` is a global variable
89
- added: new alias `NOSQL.set()` and `NOSQL.get()` for `NOSQL.meta()`
910
- added: `RESTBuilder.file(name, filename, [buffer])` supports uploading files
11+
- added: `RESTBuilder.mobile()` adds `iPhone` phrase into the `User-Agent` header
12+
- added: `RESTBuilder.robot()` adds `Bot` phrase into the `User-Agent` header
1013
- added: a small protection for multipart data
14+
- added: a new global aliases `ROUTE()` --> `F.route()`, `FILE()` --> `F.file()` and `WEBSOCKET()` --> `F.websocket()`
1115

1216
- updated: __IMPORTANT__ components (framework can render css/js from specific group)
1317
- updated: `F.cluster` each operation checks whether cluster is activated

0 commit comments

Comments
 (0)