Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
e403b85
docs(forms): warn the user about getting old values and show how to a…
sr5434 Apr 28, 2023
2ec4828
fix(compiler-cli): catch fatal diagnostic when getting diagnostics fo…
atscott Apr 27, 2023
5059a99
refactor(compiler-cli): add back ngcc as a no-op with a warning (#50045)
leosvelperez Apr 27, 2023
a8139b5
build: update cross-repo angular dependencies (#50067)
angular-robot Apr 28, 2023
01bfddc
refactor(core): finalize rxjs-interop options & docs (#50071)
alxhub Apr 28, 2023
67c25a0
docs(core): primary Angular Signals documentation (#50053)
alxhub Apr 27, 2023
89eb7d7
docs: Add `DestroyRef` and `takeUntilDestroyed` sections to lifecycle…
dylhunn Apr 27, 2023
fcf4ad6
docs: Introduce RxJS and Signals interop guide (#50039)
dylhunn Apr 27, 2023
9875d20
docs: add v16 update guide (#50073)
jelbourn Apr 28, 2023
ed642b6
refactor(common): Deprecate useless isPlatform functions (#50055)
JeanMeche Apr 28, 2023
f0c81e1
fix(platform-server): remove dependency on `@angular/platform-browser…
alan-agius4 Apr 28, 2023
e802c10
docs: Add rxjs-interop and reactivity primitives APIs (#50066)
JeanMeche Apr 28, 2023
80b6f6f
docs: add developer preview guide for esbuild-based build system (#50…
clydin Apr 27, 2023
1d0a8ab
docs: add first-app tutorial lesson-00 (#49980)
Jan 12, 2023
bc9fe70
docs: add first-app tutorial lesson-01 (#49980)
Jan 18, 2023
e4dc271
docs: add first-app tutorial lesson-02 (#49980)
Jan 18, 2023
92aad14
docs: add first-app tutorial lesson-04 (#49980)
Jan 12, 2023
f7aec30
docs: add first-app tutorial lesson-09 (#49980)
Jan 13, 2023
3a91f79
docs: add first-app tutorial lesson-11 (#49980)
Jan 14, 2023
51d0dd0
docs: add first-app tutorial lesson-12 (#49980)
Jan 14, 2023
59ab76d
docs: update first-app-tutorial introduction (#49980)
MarkTechson Feb 17, 2023
073d6aa
docs: update first-app tutorial lesson-01 (#49980)
MarkTechson Mar 2, 2023
5e78fe7
docs: update first-app lesson-02 (#49980)
MarkTechson Mar 3, 2023
fff8c19
docs: add first-app lesson tutorial-03 (#49980)
MarkTechson Mar 16, 2023
b0a9cfb
docs: add first-app lesson tutorial-04 (#49980)
MarkTechson Mar 21, 2023
b61f872
docs: update first-app lesson 05 (#49980)
MarkTechson Mar 22, 2023
7763627
docs: sync assets and styles across lessons (#49980)
MarkTechson Mar 23, 2023
1593bc5
docs: add first-app-lesson-06 (#49980)
MarkTechson Mar 26, 2023
37bce84
docs: add first-app lesson 07 (#49980)
MarkTechson Mar 28, 2023
3c5810f
docs: add first app tutorial lesson 08 (#49980)
MarkTechson Apr 4, 2023
3cad208
docs: update first-app tutorial lesson 09 (#49980)
MarkTechson Apr 4, 2023
3fcb60c
docs: update first-app tutorial lesson 10 (#49980)
MarkTechson Apr 5, 2023
80fb7f8
docs: update first-app tutorial lesson 11 (#49980)
MarkTechson Apr 18, 2023
d3a5529
docs: update first-app lesson 12 (#49980)
MarkTechson Apr 18, 2023
a3cb4f8
docs: update first-app tutorial lesson 13 (#49980)
MarkTechson Apr 20, 2023
4823483
docs: add first-app lesson-14 (#49980)
MarkTechson Apr 22, 2023
9e30f8d
docs: update linting issues and fix failing tests (#49980)
MarkTechson Apr 26, 2023
2d867a4
docs: update broken tests (#49980)
MarkTechson Apr 26, 2023
33943ef
docs: update the intro page (#49980)
MarkTechson Apr 28, 2023
e82716d
docs: release notes for the v16.0.0-rc.4 release
alxhub May 1, 2023
3274a39
docs(forms): move warning
sr5434 May 1, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .github/workflows/aio-preview-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- uses: ./.github/actions/yarn-install

- uses: angular/dev-infra/github-actions/setup-bazel-remote-exec@7b31625b050e81dcdb575c22f4ed3991922b5bbc
- uses: angular/dev-infra/github-actions/setup-bazel-remote-exec@e786beab0cc535c7018c28f6dce5b7111b8651ad
with:
bazelrc: ./.bazelrc.user

Expand All @@ -34,7 +34,7 @@ jobs:
# the number of concurrent actions is determined based on the host resources.
- run: bazel build //aio:build --jobs=32 --announce_rc --verbose_failures

- uses: angular/dev-infra/github-actions/deploy-previews/pack-and-upload-artifact@7b31625b050e81dcdb575c22f4ed3991922b5bbc
- uses: angular/dev-infra/github-actions/deploy-previews/pack-and-upload-artifact@e786beab0cc535c7018c28f6dce5b7111b8651ad
with:
workflow-artifact-name: 'aio'
pull-number: '${{github.event.pull_request.number}}'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/aio-preview-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
npx -y firebase-tools@latest target:clear --project ${{env.PREVIEW_PROJECT}} hosting aio
npx -y firebase-tools@latest target:apply --project ${{env.PREVIEW_PROJECT}} hosting aio ${{env.PREVIEW_SITE}}

- uses: angular/dev-infra/github-actions/deploy-previews/upload-artifacts-to-firebase@7b31625b050e81dcdb575c22f4ed3991922b5bbc
- uses: angular/dev-infra/github-actions/deploy-previews/upload-artifacts-to-firebase@e786beab0cc535c7018c28f6dce5b7111b8651ad
with:
github-token: '${{secrets.GITHUB_TOKEN}}'
workflow-artifact-name: 'aio'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/assistant-to-the-branch-manager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ jobs:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
with:
persist-credentials: false
- uses: angular/dev-infra/github-actions/branch-manager@7b31625b050e81dcdb575c22f4ed3991922b5bbc
- uses: angular/dev-infra/github-actions/branch-manager@e786beab0cc535c7018c28f6dce5b7111b8651ad
with:
angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}
4 changes: 2 additions & 2 deletions .github/workflows/dev-infra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- uses: angular/dev-infra/github-actions/commit-message-based-labels@7b31625b050e81dcdb575c22f4ed3991922b5bbc
- uses: angular/dev-infra/github-actions/commit-message-based-labels@e786beab0cc535c7018c28f6dce5b7111b8651ad
with:
angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}
post_approval_changes:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- uses: angular/dev-infra/github-actions/post-approval-changes@7b31625b050e81dcdb575c22f4ed3991922b5bbc
- uses: angular/dev-infra/github-actions/post-approval-changes@e786beab0cc535c7018c28f6dce5b7111b8651ad
with:
angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}
2 changes: 1 addition & 1 deletion .github/workflows/feature-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ jobs:
if: github.repository == 'angular/angular'
runs-on: ubuntu-latest
steps:
- uses: angular/dev-infra/github-actions/feature-request@7b31625b050e81dcdb575c22f4ed3991922b5bbc
- uses: angular/dev-infra/github-actions/feature-request@e786beab0cc535c7018c28f6dce5b7111b8651ad
with:
angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}
2 changes: 1 addition & 1 deletion .github/workflows/google-internal-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- uses: angular/dev-infra/github-actions/google-internal-tests@7b31625b050e81dcdb575c22f4ed3991922b5bbc
- uses: angular/dev-infra/github-actions/google-internal-tests@e786beab0cc535c7018c28f6dce5b7111b8651ad
with:
run-tests-guide-url: http://go/angular-g3sync-start
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/merge-ready-status.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ jobs:
status:
runs-on: ubuntu-latest
steps:
- uses: angular/dev-infra/github-actions/unified-status-check@7b31625b050e81dcdb575c22f4ed3991922b5bbc
- uses: angular/dev-infra/github-actions/unified-status-check@e786beab0cc535c7018c28f6dce5b7111b8651ad
with:
angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}
2 changes: 1 addition & 1 deletion .github/workflows/update-cli-help.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
env:
ANGULAR_CLI_BUILDS_READONLY_GITHUB_TOKEN: ${{ secrets.ANGULAR_CLI_BUILDS_READONLY_GITHUB_TOKEN }}
- name: Create a PR (if necessary)
uses: angular/dev-infra/github-actions/create-pr-for-changes@7b31625b050e81dcdb575c22f4ed3991922b5bbc
uses: angular/dev-infra/github-actions/create-pr-for-changes@e786beab0cc535c7018c28f6dce5b7111b8651ad
with:
branch-prefix: update-cli-help
pr-title: 'docs: update Angular CLI help [${{github.ref_name}}]'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-events.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Generate `events.json`
run: node aio/scripts/generate-events/index.mjs --ignore-invalid-dates
- name: Create a PR (if necessary)
uses: angular/dev-infra/github-actions/create-pr-for-changes@7b31625b050e81dcdb575c22f4ed3991922b5bbc
uses: angular/dev-infra/github-actions/create-pr-for-changes@e786beab0cc535c7018c28f6dce5b7111b8651ad
with:
branch-prefix: docs-update-events
pr-title: 'docs: update events'
Expand Down
9 changes: 7 additions & 2 deletions .pullapprove.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ groups:
'aio/content/guide/architecture-services.md',
'aio/content/guide/architecture.md',
'aio/content/examples/architecture/**/{*,.*}',
'aio/content/guide/rxjs-interop.md',
'aio/content/images/guide/architecture/**/{*,.*}',
'aio/content/guide/attribute-directives.md',
'aio/content/examples/attribute-directives/**/{*,.*}',
Expand Down Expand Up @@ -357,7 +358,8 @@ groups:
'aio/content/examples/view-encapsulation/**/{*,.*}',
'aio/content/images/guide/view-encapsulation/**/{*,.*}',
'aio/content/special-elements/**/{*,.*}',
'aio/content/guide/hydration.md'
'aio/content/guide/hydration.md',
'aio/content/guide/signals.md'
])
reviewers:
users:
Expand Down Expand Up @@ -856,6 +858,7 @@ groups:
'aio/content/images/guide/toh/**/{*,.*}',
'aio/content/demos/first-app/**/{*,.*}',
'aio/content/examples/first-app-*/**/{*,.*}',
'aio/content/images/guide/faa/**/{*,.*}',
'aio/content/examples/toh-pt0/**/{*,.*}',
'aio/content/examples/toh-pt1/**/{*,.*}',
'aio/content/examples/toh-pt2/**/{*,.*}',
Expand Down Expand Up @@ -950,7 +953,8 @@ groups:
'aio/content/guide/update-to-latest-version.md',
'aio/content/guide/versions.md',
'aio/content/guide/update-to-version-14.md',
'aio/content/guide/update-to-version-15.md'
'aio/content/guide/update-to-version-15.md',
'aio/content/guide/update-to-version-16.md',
])
reviewers:
users:
Expand Down Expand Up @@ -1024,6 +1028,7 @@ groups:
'aio/content/guide/workspace-config.md',
'aio/content/guide/migration-solution-style-tsconfig.md',
'aio/content/guide/migration-update-libraries-tslib.md',
'aio/content/guide/esbuild.md',
])
reviewers:
users:
Expand Down
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
<a name="16.0.0-rc.4"></a>
# 16.0.0-rc.4 (2023-05-01)
## Breaking Changes
### platform-server
- Users that are using SSR with JIT mode will now need to add `import to @angular/compiler` before bootstrapping the application.

**NOTE:** this does not effect users using the Angular CLI.
### common
| Commit | Type | Description |
| -- | -- | -- |
| [80ed0a4868](https://github.com/angular/angular/commit/80ed0a48684834c3e754b761de4edff4a38ce7c2) | fix | fix incorrectly reported distortion for padded images ([#49889](https://github.com/angular/angular/pull/49889)) |
### compiler-cli
| Commit | Type | Description |
| -- | -- | -- |
| [6da1054a42](https://github.com/angular/angular/commit/6da1054a4203f1b43c3a4046347977b820c0f40b) | fix | catch fatal diagnostic when getting diagnostics for components ([#50046](https://github.com/angular/angular/pull/50046)) |
### platform-server
| Commit | Type | Description |
| -- | -- | -- |
| [5ea624f313](https://github.com/angular/angular/commit/5ea624f3135c71316c36eb94445d818f9157d988) | fix | remove dependency on `@angular/platform-browser-dynamic` ([#50064](https://github.com/angular/angular/pull/50064)) |

<!-- CHANGELOG SPLIT MARKER -->

<a name="16.0.0-rc.3"></a>
# 16.0.0-rc.3 (2023-04-27)
### core
Expand Down
2 changes: 2 additions & 0 deletions aio/content/examples/examples.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ EXAMPLES = {
"elements": {"stackblitz": True, "zip": True},
"event-binding": {"stackblitz": True, "zip": True},
"feature-modules": {"stackblitz": True, "zip": True},
"first-app-lesson-00": {"stackblitz": True, "zip": True},
"first-app-lesson-01": {"stackblitz": True, "zip": True},
"first-app-lesson-02": {"stackblitz": True, "zip": True},
"first-app-lesson-03": {"stackblitz": True, "zip": True},
Expand All @@ -56,6 +57,7 @@ EXAMPLES = {
"first-app-lesson-11": {"stackblitz": True, "zip": True},
"first-app-lesson-12": {"stackblitz": True, "zip": True},
"first-app-lesson-13": {"stackblitz": True, "zip": True},
"first-app-lesson-14": {"stackblitz": True, "zip": True},
"form-validation": {"stackblitz": True, "zip": True},
"forms": {"stackblitz": True, "zip": True},
"forms-overview": {"stackblitz": True, "zip": True},
Expand Down
11 changes: 11 additions & 0 deletions aio/content/examples/first-app-lesson-00/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
load("//aio/content/examples:examples.bzl", "docs_example")
load("@aio_npm//@angular/build-tooling/bazel/remote-execution:index.bzl", "ENABLE_NETWORK")

package(default_visibility = ["//visibility:public"])

docs_example(
name = "first-app-lesson-00",
# This example downloads fonts and images from googleapis.com
test_exec_properties = ENABLE_NETWORK,
test_tags = ["requires-network"],
)
18 changes: 18 additions & 0 deletions aio/content/examples/first-app-lesson-00/e2e/src/app.e2e-spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import { browser, element, by, logging } from 'protractor';

describe('first-app-lesson-00 app', () => {

beforeEach(() => browser.get(''));

it('should display correct title', async () => {
expect(await element.all(by.css('h1')).get(0).getText()).toEqual('Default');
});

afterEach(async () => {
// Assert that there are no errors emitted from the browser
const logs = await browser.manage().logs().get(logging.Type.BROWSER);
expect(logs).not.toContain(jasmine.objectContaining({
level: logging.Level.SEVERE,
} as logging.Entry));
});
});
6 changes: 6 additions & 0 deletions aio/content/examples/first-app-lesson-00/example-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"useCommonBoilerplate": false,
"overrideBoilerplate": [
"src/styles.css"
]
}
12 changes: 12 additions & 0 deletions aio/content/examples/first-app-lesson-00/src/app/app.component.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
:host {
--content-padding: 10px;
}
header {
display: block;
height: 60px;
padding: var(--content-padding);
box-shadow: 0px 5px 25px var(--shadow-color);
}
.content {
padding: var(--content-padding);
}
12 changes: 12 additions & 0 deletions aio/content/examples/first-app-lesson-00/src/app/app.component.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { Component } from '@angular/core';

@Component({
selector: 'app-root',
standalone: true,
imports: [],
template: `<h1>Default</h1>`,
styleUrls: ['./app.component.css'],
})
export class AppComponent {
title = 'default';
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions aio/content/examples/first-app-lesson-00/src/assets/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
16 changes: 16 additions & 0 deletions aio/content/examples/first-app-lesson-00/src/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Default</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">
</head>
<body>
<app-root></app-root>
</body>
</html>
10 changes: 10 additions & 0 deletions aio/content/examples/first-app-lesson-00/src/main.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/*
* Protractor support is deprecated in Angular.
* Protractor is used in this example for compatibility with Angular documentation tools.
*/
import { bootstrapApplication,provideProtractorTestingSupport } from '@angular/platform-browser';
import { AppComponent } from './app/app.component';

bootstrapApplication(AppComponent,
{providers: [provideProtractorTestingSupport()]})
.catch(err => console.error(err));
23 changes: 23 additions & 0 deletions aio/content/examples/first-app-lesson-00/src/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/* You can add global styles to this file, and also import other style files */
* {
margin: 0;
padding: 0;
}

body {
font-family: 'Be Vietnam Pro', sans-serif;
}
:root {
--primary-color: #605DC8;
--secondary-color: #8B89E6;
--accent-color: #e8e7fa;
--shadow-color: #E8E8E8;
}

button.primary {
padding: 10px;
border: solid 1px var(--primary-color);
background: var(--primary-color);
color: white;
border-radius: 8px;
}
17 changes: 17 additions & 0 deletions aio/content/examples/first-app-lesson-00/stackblitz.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"description": "Angular - First App - Lesson 00",
"files": [
"!**/*.d.ts",
"!**/*.js",
"!**/*.[1,2].*"
],
"tags": [
[
"first",
"angular",
"app",
"lesson",
"00"
]
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@ import { Component } from '@angular/core';
selector: 'app-root',
standalone: true,
imports: [],
// #docregion app-comp-template
template: `<h1>Hello world!</h1>`,
// #enddocregion
styleUrls: ['./app.component.css'],
})
export class AppComponent {
// #docregion app-comp-title
title = 'homes';
// #enddocregion
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading