Skip to content

Commit

Permalink
4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Awk34 committed Aug 8, 2016
1 parent 65c7655 commit 7348858
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 3 deletions.
38 changes: 37 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,40 @@
<a name="4.0.0"></a>
## [4.0.0](https://github.com/angular-fullstack/generator-angular-fullstack/compare/3.7.6...v4.0.0) (2016-08-08)


### Notable Changes

### [Webpack](http://webpack.github.io/)
* No more Bower
* Webpack is a Module Bundler for the front-end.
* Everything starts in `client/app.js`. It imports (using CommonJS / ES2015 imports) everything else needed from there.
* Whenever we create a new Angular 1 module, we export its name, and import that name in another module up the tree, all the way to `client/app.js`. This design pattern allows for easy lazy-loading.

### Gulp v Grunt
Grunt has been removed.
* Gulp is significantly faster to run
* Gulp focuses on programmatic configuration, which makes it a breeze to configure compared to Grunt's JSON-config-focused configuration.
* Gulp development is much more active, with Gulp 4.0.0 hopefully being released soon.

### ESLint
JSHint + JSCS have been replaced with ESLint. ESLint provides a gigantic amount of rules, and is easily pluggable with many plugins. It uses Espree. Also, JSCS has merged with ESLint.

### Types
Flow support has been added. TypeScript type errors have been fixed.

### Async/Sync Auth methods
The following methods from the client Auth service have been split into two: `getCurrentUser`, `isLoggedIn`, `hasRole`, `isAdmin`. The reason that these methods could be both synchronous and asynchronous depending on how many arguments were passed is because they were called from Angular templates. Now, the Angular templates call the sync form of these methods (e.x. `getCurrentUserSync`), and the original functions are now only async.

### Constants
The task runner no longer takes care of creating an Angular module for config constants. It is taken care of by webpack now (the `shared.js` files is now just `require`d)

### Endpoint PUT/PATCH
PUT now defaults to an upsert. PATCH now actually does an HTTP PATCH.

### -Livereload +Browsersync
Livereload has been removed in favor of [Browsersync](https://www.browsersync.io/)


<a name="3.7.6"></a>
## [3.7.6](https://github.com/angular-fullstack/generator-angular-fullstack/compare/3.7.5...v3.7.6) (2016-06-21)

Expand All @@ -8,7 +45,6 @@
* Bumped a few generator dependencies



<a name="3.7.5"></a>
## [3.7.5](https://github.com/angular-fullstack/generator-angular-fullstack/compare/3.7.4...v3.7.5) (2016-06-02)

Expand Down
2 changes: 1 addition & 1 deletion angular-fullstack-deps
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "generator-angular-fullstack",
"version": "4.0.0-rc.0",
"version": "4.0.0",
"description": "Yeoman generator for creating MEAN stack applications, using MongoDB, Express, AngularJS, and Node",
"keywords": [
"yeoman-generator",
Expand Down

0 comments on commit 7348858

Please sign in to comment.