Skip to content

Latest commit

 

History

History
399 lines (280 loc) · 15.3 KB

CHANGELOG.md

File metadata and controls

399 lines (280 loc) · 15.3 KB

Change Log

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

Unreleased

1.1.0 - 2019-08-07

BREAKING CHANGES

  • test: upgrade the test process. As of now, the karma config file will old the entire configuration, for easy configuration by the end user.

    karma.conf.js:

    module.exports = function (config) {
      config.set({
        basePath: '',
        frameworks: ['jasmine'],
        plugins: [
          require('karma-webpack'),
          require('karma-sourcemap-loader'),
          require('karma-jasmine'),
          require('karma-chrome-launcher'),
          require('karma-spec-reporter'),
          require('karma-jasmine-html-reporter')
        ],
        client: {
          clearContext: false // leave Jasmine Spec Runner output visible in browser
        },
        reporters: ['kjhtml', 'spec'],
        specReporter: {
          maxLogLines: 5,
          suppressErrorSummary: true,
          suppressFailed: false,
          suppressPassed: false,
          suppressSkipped: true,
          showSpecTiming: false
        },
        port: 9876,
        colors: true,
        logLevel: config.LOG_INFO,
        autoWatch: true,
        browsers: ['Chrome'],
        singleRun: false,
        restartOnFileChange: true
      });
    };

    package.json:

    {
      "devDependencies": {
        "karma-chrome-launcher": "^3.0.0",
        "karma-jasmine": "^2.0.1",
        "karma-jasmine-html-reporter": "^1.4.2",
        "karma-sourcemap-loader": "^0.3.7",
        "karma-spec-reporter": "0.0.32",
        "karma-webpack": "^4.0.2"
      }
    }

Feat

  • test: add a --browsers option to override which browsers tests are run against @ValentinGot
  • test: add a --progress option @ValentinGot

1.0.0 - 2019-08-06

BREAKING CHANGES

  • raw-loader: as of raw-loader 2.0.0, you should add the .default when requiring a template @ValentinGot

    export const AppComponent = {
      controller: AppController,
      template: require('./app.component.html').default
    };
  • @clea/cli: bump to Webpack 4 @ValentinGot

  • @clea/cli: minimum required nodejs version is now 8.9.0 @ValentinGot

Feat

  • performance: add a new performance entry configuration in the .clea-cli.json file @ValentinGot

    {
      "performance": {
        "hints": "warning",
        "maxEntrypointSize": 2000000,
        "maxAssetSize": 2000000
      }
    }

Fixed

  • package.json: as of now, postcss requires autoprefixer to be set as a dependency @ValentinGot

Updated

  • generate: generated components are now in the __name__.compnent.ts file. The controller file has been removed for more clarity. @ValentinGot
  • @clea/cli: bump TypeScript version to 3.5 @ValentinGot
  • @clea/cli: bump Angular version to 1.7 @ValentinGot

0.0.3 - 2019-08-05

updated

Fixed

0.0.2 - 2017-10-05

Fixed

0.0.1 - 2017-08-14

Added

Updated

  • @clea/cli: upgrade packages to their latest version @ValentinGot

Fixed

  • app: angular-ui-router has been renamed to @uirouter/angularjs (Closes #20)
  • webpack: fix webpack-dev-server #88 issue with output.path on Windows @ValentinGot

0.0.1-rc.4 - 2017-05-17

Added

  • tests: add some testing

Updated

  • @clea/cli: upgrade some packages to their latest minor version @ValentinGot

  • @clea/cli: upgrade some packages to their latest patch version @ValentinGot

    • angular-mocks: 1.6.3 to 1.6.4
    • clean-webpack-plugin: 0.1.15 to 0.1.16
    • debug: 2.6.1 to 2.6.6
    • file-loader: 0.10.1 to 0.11.1
    • karma-phantomjs-launcher: 1.0.3 to 1.0.4
    • karma-spec-reporter: 0.0.30 to 0.0.31
    • karma-webpack: 2.0.2 to 2.0.3
    • node-sass: to 4.5.0 4.5.2
    • ts-loader: 2.0.1 to 2.0.3
    • typedoc-webpack-plugin: 1.1.3 to 1.1.4
    • webpack-dev-server: 2.4.1 to 2.4.5

Updated

  • tsconfig: upgrade tsconfig.json, mainly to add ES7 support @ValentinGot

Fixed

0.0.1-rc.3 - 2017-04-11

Breaking changes

  • There is now a dedicated entry for the main module file, between root and environmentSource in .clea-cli.json:

    {
      "root": "src",
      "main": "app/app.module.ts",
      "environmentSource": "config/config.json"
    }
  • There is now a dedicated entry for the main styles files, between main and environmentSource in .clea-cli.json:

    {
      "main": "app/app.module.ts",
      "styles": [
        "styles/main.scss"
      ],
      "environmentSource": "config/config.json"
    }

Fixed

  • webpack: duplicate declaration of config variable was causing build errors @ValentinGot

0.0.1-rc.2 - 2017-04-06

Added

For an hello world app:

Bundle Entry Emitted Compressed (gzip)
main 4.36 kB 2.33 kB 907 bytes
vendor 2.57 MB 440 kB 144 kB
styles 70 kB 28.4 kB 9.11 kB

Fixed

  • blueprints: add ngInject annotation by default on component's controller @ValentinGot

0.0.1-rc.1 - 2017-03-29

Breaking changes

  • Clea package has been moved to @clea/cli.

    If you're using Clea beta.6 or less, you need to uninstall clea package.

    npm uninstall -g clea
    npm uninstall --save-dev clea

    To upgrade Clea to it's latest version, you must upgrade the global and local package.

    For the global package:

    npm cache clean
    npm install -g @clea/cli

    For a local project:

    rm node_modules -rf
    npm install --save-dev @clea/cli
    npm install
  • A spec entry has been added to the .clea-cli.json. Add it to the end of the file:

    "spec": {
      "component": true, 
      "directive": false, 
      "filter": false, 
      "service": true, 
      "module": true 
    } 
  • Take advantage of Tree Shaking by importing the vendor.ts directly in the app.module.ts file:

    import '../vendor'; 
  • The styles bundle is now separated. So you have to remove the main.scss import from the app.module.ts file. Line to remove:

    import '../styles/main.scss'; 
  • angular-mocks is now imported by the Karma configuration. Remove it from the vendor.ts file or it will break your tests. Line to remove:

    import 'angular-mocks'; 

Added

  • tree-shaking: change the webpack configuration to take advantage of tree shaking @ValentinGot
  • base-href: add a --base-href [url] option to easily configure the <base href="" /> tag @ValentinGot
  • spec: generate spec files based on the spec entry in the configuration file (Closes #11) @ValentinGot

Updated

Fixed

  • build: now providing an absolute path for webpack configuration.output.path (Closes #13) @ValentinGot
  • progress: progress in now shown on the same line @ValentinGot
  • generate: throw an error if no name has been specified @ValentinGot
  • test: just load angular-mocks in karma configuration file @ValentinGot

0.0.1-beta.6 - 2017-03-27

Updated

  • make-it-progressive: register the service worker inside the angular context @ValentinGot

Fixed

  • build: UglifyJsPlugin warnings should only be visible in verbose mode @ValentinGot
  • build: CleanWebpackPlugin infos should only be visible in verbose mode @ValentinGot
  • ui-framework: missing angular-material typings @ValentinGot
  • blueprint-module: ng-annotate with lazy-loading is now working when builded (Closes #12) @ValentinGot
  • angular-toastr: it shouldn't be installed by default @ValentinGot

0.0.1-beta.5 - 2017-03-17

Added

  • test: add a --watch option to rerun tests when files change (Closes #9) @ValentinGot
  • test: add a --single-run option to run tests only once (Closes #10) @ValentinGot

Fixed

  • service: the service name in generated spec file should be camelized @ValentinGot
  • service: the AppModule is now always loaded in the spec file (Closes #7) @ValentinGot
  • component: the AppModule is now always loaded in the spec file (Closes #7) @ValentinGot
  • tests: add images, fonts and json loader on karma webpack config @ValentinGot
  • tsconfig: allow use of es6 polyfills with TypeScript (TypeScript #6974) @ValentinGot

0.0.1-beta.4 - 2017-03-15

Added

Updated

  • make-it-progressive: the Web App Manifest is always generated, not need to use --make-it-progressive @ValentinGot
  • library: --lib has been deactivated for now. Needs a lot of fixes @ValentinGot

Fixed

  • templates: missing angular-cookies import @ValentinGot
  • ui-framework: make angular-material icons work @ValentinGot
  • ui-framework: make angular-ui-bootstrap work @ValentinGot
  • generate: a component, directive or filter name should be camelized when registered (Closes #6) @ValentinGot

0.0.1-beta.3 - 2017-03-14

Added

Fixed

  • tests: the karma configuration file location was wrong. It's under clea/ folder and not clea-cli/ @ValentinGot
  • webpack: stop removing the dist/ folder when serving the application with clea serve @ValentinGot

0.0.1-beta.2 - 2017-03-13

Fixed

  • templates: add clea package to generated projects @ValentinGot

0.0.1-beta.1 - 2017-03-13

Releasing the first version of clea @ValentinGot @liollury