Thinkjs Versions Save

Use full ES2015+ features to develop Node.js applications, Support TypeScript.

2.0.5

8 years ago

Fix Logic rule contains space produces error Improve object structure of Logic rule validation result Rename bootstrap/hook.js to bootstrap/middleware.js during project creation Add config/hook.js during projec creation Babel compile add --retain-lines option, to keep the same code line number after compilation Add auto convert MongoID query string to MongoID object Fix new files not being reloaded Fix think.cache failed to assign object type update module add validation on where query Remove the buildin deny_ip middleware, now it is a seperate module named think-ip-filter middleware Add prerender hook thinkjs add plugin creation command into CLI Fix when environemnt setting is producition or testing, the command can not end itself Add view_filter hook Fix file Session sometimes reports error Note:fix small issues are found during publishment of 2.0

2.0.6

8 years ago

URL parsed Action name support '-' character Add think.mergeConfig method, auto-merged adapter parameters Configuration like Cache,Session accept adapter config Add think.pallelLimit mehotd,to limit the concorrency number Add auto-compile mechanism, remove 'npm run watch-compile' command Add detection for 'common' module only configuration. Config support parser, Redis、Memcache support distributed config Add think.adapter.base, all 'Adapter' are inherit from this base class Remove options config in view, and use 'adapter' as a substitution Fix change the bae file the parent will not update iit self Fix third party middleware parse payload cause stop execution. Fix if file name contains special character cause the error message could not use uppercase. Fix Session sometimes reports an error Fix can not access resource wihich URL contains Chinese Character Fix static resource Range head not handle properly

2.0.7

8 years ago

Drop options from view configuration, and should use adapter from now Suppress loading of non-js bootstrap files Add option to install dependencies during set up No longer keep static resource accessing logs Add think.camelCase method Support custom parsing configuration file, add think.parseConfig method Display error page when output Promise Fix Babel occasionally failed Display page compiled errors on current URL Remove source file will also remove the compiled file Fix mini and normal module can't load bootstrap files Fix file session occasionally errors Fix some children file not refreshing on its parent being modified

2.0.8

8 years ago

Fix tempalte file not refreshing Fix missing dependencies in package.json during set up Fix auto-compile failed to get project env Fix nunjucks template can't set root folder Fix using Babel resulting in errors in module._load on certain platforms

2.0.9

8 years ago

Fix change route not refreshing Move think.npm installation path to root, and support --save option Fix when count is 0, countSelect reports an error Fix can't use db session Fix socket start too many connections

2.0.10

8 years ago

Support Object type data validation format Fix create controller in normal mode reports file content errors Support thinkjs -v to show version number Replace think.co.wrap with think.co Now when calling another action in action, it will auto modify module/controller/action Support entry file to set retainsFile configure Support jade template compile cache in production

2.0.12

8 years ago

Fix file can't autoreload in windows when compiled.

2.0.11

8 years ago

No longer change name to lowercase on parsing configuration Fix save model mapping reports error Fix use SQLite mapping without unique field reports error Fix set cache resulting in incorrect countSelect result Fix validation logic to handle empty conent Fix Session return without completing resulting in not saving Fix think.parallelLimit has memory leak on single task operation