UNPKG

we-core

Version:

We.js is a node.js framework for build real time applications, sites or blogs!

49 lines (43 loc) 1.89 kB
# Change log file ## Changes: - v1.8.0: New plugin manager - to update: run `we update` - v1.7.0: - Added suport for jsonapi requests in core and response format improved - v1.6.0: we-plugin-file api updated. Title, breadcrumb and metatag moved to we-plugin-view, add babel in we-core. - to update: run `we update` and install we-plugin-file-local - v1.5.0: Big update in cli and generators, Moved email features to we-plugin-email - To update run `npm install --save we-plugin-email` - v1.4.0: Split we-core in small modules and update app project to be ready to APIs - To update run `npm install --save we-plugin-editor-summernote we-plugin-url-alias we-plugin-user we-plugin-view we-plugin-widget we-plugin-acl we-plugin-auth` - And update we-core to v1.4.0 `npm install we-core` - v1.3.0: Widget feature moved to we-plugin-widget - To update run `npm install we-plugin-widget` - v1.0.0: we-core now returns one prototype and mysql modules is removed from we-core. For update your project do: - Update your global we cli and generators: `npm install we generator-wejs -g` - Update your project app.js to: ```js var We = require('we-core'); // instantiate an new app var app = new We(); app.go(function (err) { if (err) return console.error(err); }); ``` - Update your project gulpfile to: ```js var We = require('we-core'); var we = new We(); var projectFolder = process.cwd(); var gulp = require('gulp'); var weGulpTasks = require('we-gulp-tasks-default'); weGulpTasks(we, gulp, projectFolder, function doneTask() { we.exit(function(){ process.exit(); }); }); ``` - If you use mysql then to install **mysql** and **express-mysql-session**:<br> `npm install --save mysql express-mysql-session` - v0.3.97: Add suport to url alias - v0.3.96: Add suport to windows 10