@angular/ssr 19.2.2 → 20.0.0-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -272,6 +272,10 @@ declare class AngularServerApp {
272
272
  * The bootstrap mechanism for the server application.
273
273
  */
274
274
  private boostrap;
275
+ /**
276
+ * Decorder used to convert a string to a Uint8Array.
277
+ */
278
+ private readonly textDecoder;
275
279
  /**
276
280
  * Cache for storing critical CSS for pages.
277
281
  * Stores a maximum of MAX_INLINE_CSS_CACHE_ENTRIES entries.
@@ -523,24 +527,6 @@ export declare enum PrerenderFallback {
523
527
  None = 2
524
528
  }
525
529
 
526
- /**
527
- * Sets up the necessary providers for configuring server routes.
528
- * This function accepts an array of server routes and optional configuration
529
- * options, returning an `EnvironmentProviders` object that encapsulates
530
- * the server routes and configuration settings.
531
- *
532
- * @param routes - An array of server routes to be provided.
533
- * @param options - (Optional) An object containing additional configuration options for server routes.
534
- * @returns An `EnvironmentProviders` instance with the server routes configuration.
535
- *
536
- * @see {@link ServerRoute}
537
- * @see {@link ServerRoutesConfigOptions}
538
- * @see {@link provideServerRouting}
539
- * @deprecated use `provideServerRouting`. This will be removed in version 20.
540
- * @developerPreview
541
- */
542
- export declare function provideServerRoutesConfig(routes: ServerRoute[], options?: ServerRoutesConfigOptions): EnvironmentProviders;
543
-
544
530
  /**
545
531
  * Sets up the necessary providers for configuring server routes.
546
532
  * This function accepts an array of server routes and optional configuration
@@ -854,25 +840,6 @@ export declare interface ServerRoutePrerenderWithParams extends Omit<ServerRoute
854
840
  getPrerenderParams: () => Promise<Record<string, string>[]>;
855
841
  }
856
842
 
857
- /**
858
- * Configuration options for server routes.
859
- *
860
- * This interface defines the optional settings available for configuring server routes
861
- * in the server-side environment, such as specifying a path to the app shell route.
862
- *
863
- *
864
- * @see {@link provideServerRouting}
865
- * @deprecated use `provideServerRouting`. This will be removed in version 20.
866
- */
867
- export declare interface ServerRoutesConfigOptions {
868
- /**
869
- * Defines the route to be used as the app shell, which serves as the main entry
870
- * point for the application. This route is often used to enable server-side rendering
871
- * of the application shell for requests that do not match any specific server route.
872
- */
873
- appShellRoute?: string;
874
- }
875
-
876
843
  /**
877
844
  * A server route that uses Server-Side Rendering (SSR) mode.
878
845
  * @see {@link RenderMode}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/ssr",
3
- "version": "19.2.2",
3
+ "version": "20.0.0-next.1",
4
4
  "description": "Angular server side rendering utilities",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -17,10 +17,10 @@
17
17
  "tslib": "^2.3.0"
18
18
  },
19
19
  "peerDependencies": {
20
- "@angular/common": "^19.0.0 || ^19.2.0-next.0",
21
- "@angular/core": "^19.0.0 || ^19.2.0-next.0",
22
- "@angular/platform-server": "^19.0.0 || ^19.2.0-next.0",
23
- "@angular/router": "^19.0.0 || ^19.2.0-next.0"
20
+ "@angular/common": "^20.0.0 || ^20.0.0-next.0",
21
+ "@angular/core": "^20.0.0 || ^20.0.0-next.0",
22
+ "@angular/platform-server": "^20.0.0 || ^20.0.0-next.0",
23
+ "@angular/router": "^20.0.0 || ^20.0.0-next.0"
24
24
  },
25
25
  "peerDependenciesMeta": {
26
26
  "@angular/platform-server": {
@@ -29,12 +29,12 @@
29
29
  },
30
30
  "devDependencies": {
31
31
  "@angular-devkit/schematics": "workspace:*",
32
- "@angular/common": "19.2.0-rc.0",
33
- "@angular/compiler": "19.2.0-rc.0",
34
- "@angular/core": "19.2.0-rc.0",
35
- "@angular/platform-browser": "19.2.0-rc.0",
36
- "@angular/platform-server": "19.2.0-rc.0",
37
- "@angular/router": "19.2.0-rc.0",
32
+ "@angular/common": "20.0.0-next.2",
33
+ "@angular/compiler": "20.0.0-next.2",
34
+ "@angular/core": "20.0.0-next.2",
35
+ "@angular/platform-browser": "20.0.0-next.2",
36
+ "@angular/platform-server": "20.0.0-next.2",
37
+ "@angular/router": "20.0.0-next.2",
38
38
  "@schematics/angular": "workspace:*"
39
39
  },
40
40
  "sideEffects": false,