Skip to content

Releases: thinkjs/thinkjs

2.0.11

16 Jan 09:13
Compare
Choose a tag to compare

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

2.0.10

16 Jan 09:15
Compare
Choose a tag to compare

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.9

16 Jan 09:15
Compare
Choose a tag to compare

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.8

16 Jan 09:23
Compare
Choose a tag to compare

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.7

16 Jan 09:24
Compare
Choose a tag to compare

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.6

16 Jan 09:24
Compare
Choose a tag to compare

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.5

16 Jan 09:24
Compare
Choose a tag to compare

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.0

16 Jan 09:24
Compare
Choose a tag to compare

Can use full features of ES6/7 to develop
Support different project structure and environment
Support rich database like Mysql,MongoDB,SQLite
Code auto reload without restarting Node service
Support multiple WebSocket library, like socket.io and sockjs
Support multiple Session types, like Memory, like File, Db, Redis etc
Support multiple Cache, like MemoryFile, Redis,Memcache etc
Support multiple template engine, like ejs,jade,swig,numjucks etc
Support Aspect Oriented Programming, support methods like __before, __after etc
Support error page customization, like 400,404,500,503 etc
CLI support invoking action and timer task
Rich Hook and Middleware
Support detailed logging of all kinds, like request, error and performance logging
REST API auto-generated
Support internationalization and theming
Comprehensive test cases 1500+, with code coverage > 95%