Skip to content

v11.1.0-next.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@kyliau kyliau released this 11 Dec 17:03

commit a0187c3
Author: Keen Yee Liau [email protected]
Date: Fri Dec 11 08:37:35 2020 -0800

release: v11.1.0-next.0

commit a2e40b0
Author: Keen Yee Liau [email protected]
Date: Fri Dec 11 08:56:48 2020 -0800

build: rename target of pkg_npm from .publish to .publish.sh

https://github.com/bazelbuild/rules_nodejs/commit/bc36519086536e1576c7b0657437dccced397782
renamed the publish output of `pkg_npm` from `{name}.publish` to
`{name.publish.sh}`.

commit 0f23806
Author: Alan Agius [email protected]
Date: Fri Dec 11 09:48:01 2020 +0100

fix(builders): add missing peerDependencies to @angular-devkit/build-angular

commit b41a3fb
Author: Alan Agius [email protected]
Date: Thu Dec 10 12:55:17 2020 +0100

feat: enable inlining of critical CSS optimizations

This is another feature that we mentioned in the Eliminate Render Blocking Requests RFC (https://github.com/angular/angular-cli/issues/18730)

**Prerendering**
To enable critical css inlining for prerendering set the `inlineCritical` to true under the Browser Builder options.

Example:
```json
"configurations": {
  "production": {
    "fileReplacements": [
      {
        "replace": "src/environments/environment.ts",
        "with": "src/environments/environment.prod.ts"
      }
    ],
    "optimization": {
      "styles": {
        "minify": true,
        "inlineCritical": true,
       }
    },
```

**Express Engine**
Update server.ts
```ts
  server.engine('html', ngExpressEngine({
    bootstrap: AppServerModule,
    inlineCriticalCss: true,
  }));
```

**Hapi Engine**
Update server.ts
```ts
  server.route({
    method: 'GET',
    path: '/{path*}',
    handler: (req: Request) => ngHapiEngine({
      bootstrap: AppServerModule,
      documentFilePath,
      publicPath: distFolder,
      inlineCriticalCss: true,
      req,
    })
  });
```

Inlining of critical CSS is turned off by default. In a future versions of the Angular CLI and Universal inline critical CSS will be enabled by default.

Closes #974

commit 61409d1
Author: Alan Agius [email protected]
Date: Thu Dec 10 18:58:03 2020 +0100

ci: update remaining reference to old pr targeting system

commit 7783de3
Author: Renovate Bot [email protected]
Date: Thu Dec 10 08:50:41 2020 +0000

build: update to version

commit 6f1edba
Author: Renovate Bot [email protected]
Date: Tue Dec 8 06:06:38 2020 +0000

build: update ts-node to version 9.1.1

commit 1636b13
Author: Alan Agius [email protected]
Date: Thu Dec 10 09:08:10 2020 +0100

build: update to TypeScript 4.1.0

commit bec293d
Author: Alan Agius [email protected]
Date: Mon Dec 7 09:07:20 2020 +0100

build: update angular dependencies to v11.1 pre-release

commit d024942
Author: Renovate Bot [email protected]
Date: Thu Dec 3 08:04:56 2020 +0000

build: update ts-node to version 9.1.0

commit d538993
Author: Juri [email protected]
Date: Tue Dec 1 15:23:10 2020 +0100

fix(hapi-engine): ng-add schematic

commit d04a235
Author: Renovate Bot [email protected]
Date: Mon Nov 30 08:05:42 2020 +0000

build: update to version

commit 32c56ff
Author: Renovate Bot [email protected]
Date: Wed Nov 25 06:05:47 2020 +0000

build: update @bazel/jasmine to version 2.3.1

commit a549811
Author: Renovate Bot [email protected]
Date: Mon Nov 16 11:48:35 2020 +0000

build: update to version

commit 3fb1572
Author: Renovate Bot [email protected]
Date: Tue Nov 17 06:04:29 2020 +0000

build: update puppeteer to version 5.5.0

commit 698e72b
Author: Renovate Bot [email protected]
Date: Wed Nov 11 06:18:56 2020 +0000

build: update @bazel/jasmine to version 2.3.0