total.js 1.9.1 发布,Node.js 的 MVC 框架

oschina
 oschina
发布于 2015年09月01日
收藏 23

total.js 1.9.1 发布,此版本更新内容如下:

新特性

  • added: new sitemap system

  • added: a default schema validator is F.onValidation()

  • added: ErrorBuilder.setContentType() --> default application/json

  • added: View engine supports else if

  • added: U.parseBoolean(val, [def])

  • added: F.backup(filename, path, [callback], [filter]) --> backup some path to one file

  • added: F.restore(filename, target, [callback], [filter]) --> restore backup file (but not evaluating)

  • added: MailMessage supports custom headers message.headers = { key: 'value' }

  • added: @{notranslate} --> disables view translation

  • added: F.mode('debug') or F.mode('release') --> changes a mode of the framework

  • added: EACHSCHEMA([group], prepare(group, name, schema))

更新

  • updated: MailMessage.bcc(email, [clear]) --> added clear

  • updated: MailMessage.cc(email, [clear]) --> added clear

  • updated: MailMessage.reply(email, [clear]) --> added clear

Bug 修复

  • fixed: uploading files

  • fixed: prevention for mail double callback calling (by Andrea Sessa)

  • fixed: worker messaging

  • fixed: problem with schema parser (by Andrea Sessa)

  • fixed: F.load() --> "versions" is configurable

  • fixed: "raw" receiving of data

  • fixed: U.request(), the problem with default method

  • fixed: F.exists() - problem with URL query string

  • fixed: framework startup path

  • fixed: Date.format()

  • fixed: Assertion Testing

下载:

total.js 是个 web 应用框架,使用 JavaScript,HTML,CSS 和 Node.js(MVC) web 应用框架来构建 web 网站和 web 应用。

Node.js web framework - totaljs

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处,尊重他人劳动共创开源社区。
转载请注明:文章转载自 开源中国社区 [http://www.oschina.net]
本文标题:total.js 1.9.1 发布,Node.js 的 MVC 框架
加载中

最新评论(1

yinj
yinj
这东西巨好上手
返回顶部
顶部