|
1 | | -# Updating to Angular version 10 |
| 1 | +# Actualizando a Angular versión 10 |
2 | 2 |
|
3 | | -This guide contains information related to updating to version 10 of Angular. |
| 3 | +Esta guía contiene información relacionada con la actualización a la versión 10 de Angular. |
4 | 4 |
|
5 | 5 | <div class="alert is-helpful"> |
6 | 6 |
|
7 | | -For information on upgrading to Angular version 9, see [Updating to Angular version 9](https://v9.angular.io/guide/updating-to-version-9). |
| 7 | +Para obtener información sobre cómo actualizar a la versión 9 de Angular, ver [Actualizando a Angular versión 9](https://v9.angular.io/guide/updating-to-version-9). |
8 | 8 |
|
9 | 9 | </div> |
10 | 10 |
|
11 | | -## Updating CLI Apps |
| 11 | +## Actualizando CLI Apps |
12 | 12 |
|
13 | | -For step-by-step instructions on how to update to the latest Angular release (and leverage our automated migration tools to do so), use the interactive update guide at [update.angular.io](https://update.angular.io). |
| 13 | +Para obtener instrucciones paso a paso sobre cómo actualizar a la última versión de Angular (y aproveche nuestras herramientas de migración automatizadas para hacerlo), use la guía de actualización interactiva en [update.angular.io](https://update.angular.io). |
14 | 14 |
|
15 | | -If you're curious about the specific migrations being run by the CLI, see the [automated migrations section](#migrations) for details on what code is changing and why. |
| 15 | +Si tiene curiosidad acerca de las migraciones específicas que ejecuta la CLI, consulte [sección de migraciones automatizadas](#migrations) para obtener detalles sobre qué código está cambiando y por qué. |
16 | 16 |
|
17 | | -## Changes and Deprecations in Version 10 |
| 17 | +## Cambios y Obsoletas en Versión 10 |
18 | 18 |
|
19 | 19 | <div class="alert is-helpful"> |
20 | 20 |
|
21 | | - For information about Angular's deprecation and removal practices, see [Angular Release Practices](guide/releases#deprecation-practices "Angular Release Practices: Deprecation practices"). |
| 21 | + Para obtener información sobre las prácticas de depreciación y eliminación de Angular, consulte [Prácticas de liberación de Angular](guide/releases#deprecation-practices "Prácticas de liberación de Angular: Depreciación practicas"). |
22 | 22 |
|
23 | 23 | </div> |
24 | 24 |
|
25 | 25 | {@a breaking-changes} |
26 | | -### New Breaking Changes |
| 26 | +### Nuevos cambios importantes |
27 | 27 |
|
28 | | -* Typescript 3.6, 3.7, and 3.8 are no longer supported. Please update to Typescript 3.9. |
29 | | -* Input fields of type `number` fire the `valueChanges` event only once per value change (as opposed to twice in some cases). See [PR 36087](https://github.com/angular/angular/pull/36087). |
30 | | -* The `minLength` and `maxLength` validators only validate values that have a numeric `length` property. See [PR 36157](https://github.com/angular/angular/pull/36157). |
31 | | -* Templates with unknown property bindings or unknown element names now log errors instead of warnings. See [PR 36399](https://github.com/angular/angular/pull/36399). |
32 | | -* `UrlMatcher` can now return `null` values. See [PR 36402](https://github.com/angular/angular/pull/36402). |
33 | | -* Transplanted views now refresh at insertion point only. See [PR 35968](https://github.com/angular/angular/pull/35968). |
34 | | -* Formatting times with the `b` or `B` format codes now supports time periods that cross midnight. See [PR 36611](https://github.com/angular/angular/pull/36611). |
35 | | -* Navigation is canceled for routes with at least one empty resolver. See [PR 24621](https://github.com/angular/angular/pull/24621). |
| 28 | +* Typescript 3.6, 3.7, y 3.8 ya no son compatibles. Por favor actualice a Typescript 3.9. |
| 29 | +* Campos de entrada de tipo `number` dispara el `valueChanges` evento de solo una vez por cambio de valor (en lugar de dos veces en algunos casos). Consulte [PR 36087](https://github.com/angular/angular/pull/36087). |
| 30 | +* El `minLength` y `maxLength` los validadores solo validan valores que tienen un valor numérico `length` propiedad. Consulte [PR 36157](https://github.com/angular/angular/pull/36157). |
| 31 | +* Las plantillas con enlaces de propiedad desconocidos o nombres de elementos desconocidos ahora registran errores en lugar de advertencias.Consultar [PR 36399](https://github.com/angular/angular/pull/36399). |
| 32 | +* `UrlMatcher` ahora puede regresar `null` valores. Consultar [PR 36402](https://github.com/angular/angular/pull/36402). |
| 33 | +* Las vistas trasplantadas ahora se actualizan solo en el punto de inserción. Consultar [PR 35968](https://github.com/angular/angular/pull/35968). |
| 34 | +* Formateos de tiempos con el `b` o `B` Los códigos de formato ahora admiten períodos de tiempo que cruzan la medianoche. Consultar [PR 36611](https://github.com/angular/angular/pull/36611). |
| 35 | +* La navegación se cancela para rutas con al menos un solucionador vacío. Consultar [PR 24621](https://github.com/angular/angular/pull/24621). |
36 | 36 |
|
37 | 37 | {@a deprecations} |
38 | | -### New Deprecations |
| 38 | +### Nuevas Obsoletas |
39 | 39 |
|
40 | | -| Area | API or Feature | May be removed in | |
| 40 | +| Area | API o Característica | Puede ser eliminado | |
41 | 41 | | ----------------------------- | --------------------------------------------------------------------------- | ----------------- | |
42 | 42 | | `@angular/core` | [`WrappedValue`](guide/deprecations#wrapped-value) | <!--v10--> v12 | |
43 | | -| browser support | [`IE 9, 10, and IE Mobile`](guide/deprecations#ie-9-10-and-ie-mobile-support) | <!--v10--> v11 | |
| 43 | +| navegador soportado | [`IE 9, 10, and IE Mobile`](guide/deprecations#ie-9-10-and-ie-mobile-support) | <!--v10--> v11 | |
44 | 44 |
|
45 | 45 |
|
46 | 46 | {@a removals} |
47 | | -### New Removals of Deprecated APIs |
| 47 | +### Nuevas Eliminaciones de APIs Obsoletas |
48 | 48 |
|
49 | | -The following APIs have been removed starting with version 10.0.0*: |
| 49 | +Las siguientes APIs han sido eliminadas a partir de la versión 10.0.0*: |
50 | 50 |
|
51 | | -| Package | API | Replacement | Notes | |
| 51 | +| Paquete | API | Sustitución | Notas | |
52 | 52 | | ---------------- | -------------- | ----------- | ----- | |
53 | | -| `@angular/core` | Undecorated base classes that use Angular features | Add Angular decorator | See [migration guide](guide/migration-undecorated-classes) for more info | |
54 | | -| `@angular/core` | `ModuleWithProviders` without a generic | `ModuleWithProviders` with a generic | See [migration guide](guide/migration-module-with-providers) for more info | |
55 | | -| `@angular/core` | Style Sanitization | no action needed | See [style sanitization API removal](/guide/deprecations#style-sanitization) for more info |
56 | | -| `@angular/bazel` | [`Bazel builder and schematics`](guide/deprecations#bazelbuilder) | `bazelbuild/rules_nodejs` | [More info](https://github.com/angular/angular/tree/10.0.x/packages/bazel/src/schematics) | |
| 53 | +| `@angular/core` | Clases base no decoradas que utilizan características de Angular | Añadir el decorador Angular | Consultar [guía de migracion](guide/migration-undecorated-classes) Para más información | |
| 54 | +| `@angular/core` | `ModuleWithProviders` sin un genérico | `ModuleWithProviders` con un genérico | Consultar [guía de migración](guide/migration-module-with-providers) para más información | |
| 55 | +| `@angular/core` | Saneamiento de estilo | no es necesario hacer nada | Consultar [saneamiento de estilo API retirada](/guide/deprecations#style-sanitization) para más información |
| 56 | +| `@angular/bazel` | [`Bazel builder and schematics`](guide/deprecations#bazelbuilder) | `bazelbuild/rules_nodejs` | [Para más información](https://github.com/angular/angular/tree/10.0.x/packages/bazel/src/schematics) | |
57 | 57 |
|
58 | 58 |
|
59 | | -*To see APIs removed in version 9, check out this guide on the [version 9 docs site](https://v9.angular.io/guide/deprecations#removed). |
| 59 | +*Para ver APIs eliminadas en la versión 9, consulte esta guía en el [versión 9 sitio de documentos](https://v9.angular.io/guide/deprecations#removed). |
60 | 60 |
|
61 | 61 | {@a ivy} |
62 | 62 |
|
63 | | -## Ivy features and compatibility |
| 63 | +## Ivy características y compatibilidad |
64 | 64 |
|
65 | | -Since version 9, Angular Ivy is the default rendering engine. If you haven't heard of Ivy, you can read more about it in the [Angular Ivy guide](guide/ivy). |
| 65 | +Desde la versión 9, Angular Ivy es el motor de renderizado por defecto. Si no ha escuchado hablar de Ivy, puede leer más sobre ello en el [Guía Angular Ivy](guide/ivy). |
66 | 66 |
|
67 | | -* Among other features, Ivy introduces more comprehensive type-checking within templates. For details, see [Template Type-checking](guide/template-typecheck). |
| 67 | +* Entre otras características, Ivy introduce una mayor amplitud tipo-verificación dentro de las plantillas. Para detalles, Consultar [Plantillas Tipo-verificación](guide/template-typecheck). |
68 | 68 |
|
69 | | -* For general guidance on debugging and a list of minor changes associated with Ivy, see the [Ivy compatibility guide](guide/ivy-compatibility). |
| 69 | +* Para una orientación general sobre la depuración y una lista de cambios menores asociados a Ivy, consulte en [Ivy guia de compatibilidad](guide/ivy-compatibility). |
70 | 70 |
|
71 | | -* For help with opting out of Ivy, see the instructions [here](guide/ivy#opting-out-of-angular-ivy). |
| 71 | +* Para obtener ayuda sobre la exclusión de Ivy, ver las instrucciones [aquí](guide/ivy#opting-out-of-angular-ivy). |
72 | 72 |
|
73 | 73 | {@a migrations} |
74 | | -## Automated Migrations for Version 10 |
| 74 | +## Migraciones Automatizadas para la Versión 10 |
75 | 75 |
|
76 | | -Read about the migrations the CLI handles for you automatically: |
| 76 | +Lea sobre las migraciones que el CLI maneja para usted automáticamente: |
77 | 77 |
|
78 | | -* [Migrating missing `@Directive()`/`@Component()` decorators](guide/migration-undecorated-classes) |
79 | | -* [Migrating `ModuleWithProviders`](guide/migration-module-with-providers) |
80 | | -* [Solution-style `tsconfig.json` migration](guide/migration-solution-style-tsconfig) |
81 | | -* [`tslib` direct dependency migration](guide/migration-update-libraries-tslib) |
82 | | -* [Update `module` and `target` compiler options migration](guide/migration-update-module-and-target-compiler-options) |
| 78 | +* [Migraciones perdidas `@Directive()`/`@Component()` decoradores](guide/migration-undecorated-classes) |
| 79 | +* [Migraciones `ModuleWithProviders`](guide/migration-module-with-providers) |
| 80 | +* [Solución-estilos `tsconfig.json` migration](guide/migration-solution-style-tsconfig) |
| 81 | +* [`tslib` migración de dependencia directa](guide/migration-update-libraries-tslib) |
| 82 | +* [Actualizar `module` y `target` migración de opciones del compilador](guide/migration-update-module-and-target-compiler-options) |
0 commit comments