NEW VERSION: v1.3.0

43 views
Skip to first unread message

Peter Širka

unread,
Apr 6, 2014, 11:05:56 AM4/6/14
to
v1.3.0

News:
  • added: supports CoffeeScript
  • added: framework.isWindows (readonly, boolean)
  • added: framework.isCoffee (readonly, boolean)
  • added: framework.config['directory-source'], great for business logic
  • added: framework.injectSource(name)
  • added: framework.source(name), call a business logic
  • added: new global methods include() and source() are linked into the config['directory-source']
  • added: config['default-websocket-encodedecode'] - encodeURIComponent && decodeURIComponent (IMPORTANT: default: false)
  • added: Builders.ErrorBuilder.resource(filename, prefix) - can change resource filename or prefix
  • added: new global variables - Builders, Mail, Utils
  • added: Builders.validate(schemaName, model) - returns ErrorBuilder from everywhere (uses framework.resource)
  • added: allowed controllers in subdirectories
  • added: utils.assign(obj, path, value/function) - read more in documentation

Updates:
  • updated: Builders.schema(name, obj, [defaults], [validator]) - validator is new
  • updated: Builders.validation(name, [arr] or [function])
  • updated: controller.find(id or function)
  • updated: utils.copy(source, [target]);
  • updated: WebSocket.close([id], [message], [code]);
  • updated: WebSocketClient.close([message], [code]);
Fixes:
  • fixed: Controller properties on the WebSocket connections
  • fixed: binary
  • fixed: utils.validation()
  • fixed: multipart upload (problem with multiple values)
  • fixed: layout in partial views (from the controller)
  • fixed: Windows path

Important:
  • rewritten: WebSocket + WebSocket supports: text, JSON, binary, ping + pong

New examples:

riccardo...@gmail.com

unread,
Apr 8, 2014, 9:59:08 AM4/8/14
to tot...@googlegroups.com
Hello! I found a bug with this version: a "@view" inside a layout raise this error "RangeError: Maximum call stack size exceeded undefined".

Peter Širka

unread,
Apr 8, 2014, 3:03:54 PM4/8/14
to tot...@googlegroups.com, riccardo...@gmail.com
Hi riccardo,

I fixed this problem. Many thanks.
I'll publish HOTFIX this week. Current version on GitHub is good.

THANKS!
Reply all
Reply to author
Forward
0 new messages