Releases: thinkjs/thinkjs
v3.2.13
2.1.3
2.1.2
2.1.1
Fix bug with database prefix not working.
Added support Babel set presets and plugins.
Fix bug with multiple hierachy controller can't be found.
Added deprected method getTableFields to compatible with former version.
Fix bug with baseAssign overrides custom settings.
Fix bug with missing think.RUNTIME_PATH cause path incorrect.
2.1.0
Support TypeScript, see details here.
Performance increase 90%, better than Koa and express, see benchmark here.
Added support Controller sub-folder.
Added support PostgreSQL database.
Added support set default value in Model schema.
Change Hook middleware return null will block the rest middleware.
Added alias method render for http and controller display.
Added synchronous method think.waterfall.
Added support Validate with Regex.
Added support transmit data with fetch.
Added support Logic to get request type.
Added support timed task can directly invoke action.
Upgrade Babel to 6.
Locale name is not case sensiive.
Change to asynchronous fetch template file content.
http object no longer inherit from EventEmitter.
Drop think.mode_mini mode, controller support sub-folder.
Rename name to database in database setting.
Rename fields to schema.
Rename pwd to password in database setting.
Optimize http object creation, no need to copy each time.
Filtered hidden file types like .svn, .git etc.
Move bin/index.js to src/command.js.
Move runtime folder to project root, added think.RUNTIME_PATH constant.
Added support to auto lower case adapter type, with prompt.
Added thinkData, for frequently-used data caching.
Combine think.locale and controller.locale.
Fix bug with nunjucks inherit file can't be found.
Fix bug with escaped / in pathname cause parsing error.
Fix bug with modifying data response by http.file will cause source data being modified.
Add support path / no need to change to \ in windows.
Fix bug resulting in nunjucks can place template files not only in root folder.
Added on production mode, prevent the page from outputting sensitive data.
Added on development mode, JSON parse failed message will be logged for debugging.
Fix bug resulting in on view root_path changed will also update the view path.
Fix bug with incorect required|int rule validation.
Fix bug with redis cache parsing settings.
Fix bug resulting in REST API can support logic.
Fix bug with count method failed when parameter name is keyword.
2.0.16
2.0.15
2.0.14
2.0.13
Fix bug with think.parseConfig contains adapter.
Fix bug resulting in update relation model also update files relative.
Fix use alias in countSelect reports error.
Fix bootstrap not being clean and reload on file changed.
nunjucks enable autoescape by default.