Skip to content

Commit

Permalink
release: v9.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Keen Yee Liau committed Feb 6, 2020
1 parent e05ca5d commit 3aa454d
Show file tree
Hide file tree
Showing 2 changed files with 155 additions and 136 deletions.
34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "nguniversal",
"main": "index.js",
"version": "9.0.0-rc.2",
"version": "9.0.0",
"private": true,
"description": "Universal (isomorphic) JavaScript support for Angular",
"homepage": "https://github.com/angular/universal",
Expand Down Expand Up @@ -40,21 +40,21 @@
"@types/hapi__iron": "5.1.0"
},
"devDependencies": {
"@angular-devkit/architect": "^0.900.0-rc.10",
"@angular-devkit/build-angular": "^0.900.0-rc.10",
"@angular-devkit/core": "^9.0.0-rc.10",
"@angular-devkit/schematics": "^9.0.0-rc.10",
"@angular/animations": "^9.0.0-rc.10",
"@angular/bazel": "^9.0.0-rc.10",
"@angular/cli": "^9.0.0-rc.10",
"@angular/common": "^9.0.0-rc.10",
"@angular/compiler": "^9.0.0-rc.10",
"@angular/compiler-cli": "^9.0.0-rc.10",
"@angular/core": "^9.0.0-rc.10",
"@angular/platform-browser": "^9.0.0-rc.10",
"@angular/platform-browser-dynamic": "^9.0.0-rc.10",
"@angular/platform-server": "^9.0.0-rc.10",
"@angular/router": "^9.0.0-rc.10",
"@angular-devkit/architect": "^0.900.0",
"@angular-devkit/build-angular": "^0.900.0",
"@angular-devkit/core": "^9.0.0",
"@angular-devkit/schematics": "^9.0.0",
"@angular/animations": "^9.0.0",
"@angular/bazel": "^9.0.0",
"@angular/cli": "^9.0.0",
"@angular/common": "^9.0.0",
"@angular/compiler": "^9.0.0",
"@angular/compiler-cli": "^9.0.0",
"@angular/core": "^9.0.0",
"@angular/platform-browser": "^9.0.0",
"@angular/platform-browser-dynamic": "^9.0.0",
"@angular/platform-server": "^9.0.0",
"@angular/router": "^9.0.0",
"@bazel/bazel": "2.0.0",
"@bazel/buildifier": "^0.29.0",
"@bazel/hide-bazel-files": "~1.2.0",
Expand All @@ -63,7 +63,7 @@
"@bazel/karma": "~1.2.0",
"@bazel/typescript": "~1.2.0",
"@hapi/hapi": "^18.4.0",
"@schematics/angular": "^9.0.0-rc.10",
"@schematics/angular": "^9.0.0",
"@types/browser-sync": "^2.26.1",
"@types/express": "4.17.1",
"@types/fs-extra": "^8.0.0",
Expand Down
Loading

5 comments on commit 3aa454d

@CarlosTorrecillas
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congrats for the release. I couldn’t find any docs regarding setting up SSR on Angular 9. Not sure if there is a sample repo for this and also whether you guys have any kind of migration process from 7/8 to 9 if any. Cheers

@alan-agius4
Copy link
Collaborator

@alan-agius4 alan-agius4 commented on 3aa454d Feb 6, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@CarlosTorrecillas
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many thanks for this!

@CarlosTorrecillas
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Followed the guide @alan-agius4 , and got this:

TypeError: provideModuleMap is not a function
    at View.app.engine (/dist/server.js:130:9)
    at View.render (/dist/server.js:17215:8)
    at tryRender (/dist/server.js:12448:10)
    at Function.render (/dist/server.js:12400:3)
    at ServerResponse.render (/dist/server.js:24880:7)
    at app.get (/dist/server.js:155:13)
    at Layer.handle [as handle_request] (/dist/server.js:15832:5)
    at next (/dist/server.js:14753:13)
    at Route.dispatch (/dist/server.js:14728:3)
    at Layer.handle [as handle_request] (/dist/server.js:15832:5)

Is there any obvious mistake you can think of?

@CarlosTorrecillas
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually what did happen was that the new SSR entry point (main.js is now placed in the dist/server/main.js path) whereas before it was at dist/server.js. So in theory I was targeting the "old" version of the server with the new code. All works like a charm. Very nice! Thanks

Please sign in to comment.