{"id":26424,"date":"2024-08-19T23:31:49","date_gmt":"2024-08-19T21:31:49","guid":{"rendered":"https:\/\/www.angulararchitects.io\/blog\/latest-updates-in-angular-18-2-and-18-1\/"},"modified":"2025-04-06T08:46:02","modified_gmt":"2025-04-06T06:46:02","slug":"latest-updates-in-angular-18-2-and-18-1","status":"publish","type":"post","link":"https:\/\/www.angulararchitects.io\/en\/blog\/latest-updates-in-angular-18-2-and-18-1\/","title":{"rendered":"Latest Updates in Angular 18.2 (and 18.1)"},"content":{"rendered":"<p>In May 2024, the <em>Angular Version 18<\/em> was released. Manfred discussed the new features in a <a href=\"https:\/\/www.angulararchitects.io\/en\/blog\/whats-new-in-angular-18\/\"><strong>detailed post<\/strong><\/a>.<\/p>\n<p>In this post, we want to present the additional features of the minor <a href=\"https:\/\/github.com\/angular\/angular\/releases\/tag\/18.2.0\">release 18.2<\/a> (including <a href=\"https:\/\/www.angulararchitects.io\/en\/blog\/whats-new-in-angular-18\/\">release 18.1<\/a>).<\/p>\n<h2>@let it begin<\/h2>\n<p>While some highly motivated <em>Angular<\/em> bloggers introduced the <a href=\"mailto:strong&gt;@let&lt;\/strong\">strong>@let<\/strong<\/a> feature already back in May, it was yet released with <a href=\"https:\/\/www.angulararchitects.io\/en\/blog\/whats-new-in-angular-18\/\"><em>Angular 18.1<\/em><\/a> on July 10th, 2024. It enables developers to define a reusable variable in the component's HTML template (sometimes referred to as <em>the HTML-file<\/em>) and is part of <em>Angular's<\/em> new <strong>template syntax<\/strong> &ndash; all the pretty things starting with <a href=\"mailto:strong&gt;&amp;quot;@&amp;quot;&lt;\/strong\">strong>&quot;@&quot;<\/strong<\/a>.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.angulararchitects.io\/wp-content\/uploads\/2024\/08\/let.jpg\" alt=\"@let image from the Angular Blog\" \/><\/p>\n<p>Let\u2019s check out its <strong>syntax<\/strong>:<\/p>\n<pre><code class=\"language-html\">@let maxLength = 42; \/\/ a valid expression (like number | &#039;string&#039; | JavaScript expression)<\/code><\/pre>\n<p>Now we can use the <a href=\"mailto:strong&gt;@let-variable&lt;\/strong\">strong>@let-variable<\/strong<\/a>:<\/p>\n<pre><code class=\"language-html\">&lt;input name=&quot;from&quot; [(ngModel)]=&quot;from&quot; [maxlength]=&quot;maxLength&quot; \/&gt;<\/code><\/pre>\n<h3>Dynamic @let<\/h3>\n<p>You can also use the value of a <strong>template <em>reference<\/em> variable<\/strong> (or, as we sometimes call it a <strong>template handle<\/strong>, which makes total sense to Austrians since we also call chickens &quot;Hendl&quot; \ud83d\udc14):<\/p>\n<pre><code class=\"language-html\">&lt;input #from name=&quot;from&quot; [maxlength]=&quot;maxLength&quot; \/&gt;\n\n@let fromValue = from.value;<\/code><\/pre>\n<p>So it seems like now we have to distinguish between:<\/p>\n<ul>\n<li>Local template variables with @let (see <a href=\"https:\/\/angular.dev\/guide\/templates\/let-template-variables\"><em>Angular docs<\/em><\/a>) and<\/li>\n<li>Template reference variable with #handle (see <a href=\"https:\/\/angular.dev\/guide\/templates\/reference-variables\"><em>Angular docs<\/em><\/a>)<\/li>\n<\/ul>\n<p>Okay, that will be interesting to explain in the next <a href=\"https:\/\/www.angulararchitects.io\/en\/training\/angular-structured-introduction\/\">Essential Workshop<\/a>. @let's see.<\/p>\n<h3>Async @let<\/h3>\n<p>Now we finally come to the interesting and useful part. If we needed the latest value of an observable (or a subject likewise), we needed to apply the so-called ngIf hack until now.  While users of the <a href=\"https:\/\/ngrx.io\/guide\/component\/let\"><em>ngrxLet<\/a> directive have used something similar for years and users of the even better (performance-wise) <a href=\"https:\/\/www.rx-angular.io\/docs\/template\/api\/rx-let-directive\">rxLet<\/a> even for decades (okay, I might exaggerate a bit here), we &ndash; the true <em>Angular<\/em> believers &ndash; had to use ugly <\/em><strong>ngIf<\/strong> or &ndash; with the new template syntax &ndash; the still ugly <a href=\"mailto:strong&gt;@if&lt;\/strong\">strong>@if<\/strong<\/a> constructs like this:<\/p>\n<pre><code class=\"language-html\">@if (flights$ | async; as flights) {\n  \/\/ basic @if hack\n  @for (flight of flights; track flight.id) {\n    [...]\n  }\n}<\/code><\/pre>\n<p>Or, even more complicated, like that:<\/p>\n<pre><code class=\"language-html\">@if ({ flights: flights$ | async }; as data) {\n  \/\/ advanced @if hack, will also show the @if block before the 1st flights$ emit\n  @for (flight of data.flights; track flight.id) {\n    [...]\n  } @empty {\n    No flights.\n  }\n}<\/code><\/pre>\n<p>Now this becomes:<\/p>\n<pre><code class=\"language-html\">@let flights = flights$ | async;\n\n@for (flight of flights; track flight.id) {\n  [...]\n} @empty {\n  No flights.\n}<\/code><\/pre>\n<p>@let's go! That looks much better! And it also closes one of the most upvoted <a href=\"https:\/\/github.com\/angular\/angular\/issues\/15280\"><em>Angular<\/em> GitHub issues<\/a> from March 2017.<\/p>\n<p><a href=\"mailto:strong&gt;@let&lt;\/strong\">strong>@let<\/strong<\/a>-variables are read-only and cannot be reassigned. However, their value will be recomputed on each <strong>change detection<\/strong>.<\/p>\n<p>Please note, that you can also override existing symbol names (like component class members). Not sure though, if that's a good idea. You won't get a compiler error\/warning unless you want to use the component class member before defining the <a href=\"mailto:strong&gt;@let&lt;\/strong\">strong>@let<\/strong<\/a>-variable with the same symbol name. Only in that case will the compiler complain that you use something that has not been defined yet (<strong>NG8016:<\/strong> Cannot read @let declaration 'flights' before it has been defined.). So, we can conclude that using a <a href=\"mailto:strong&gt;@let&lt;\/strong\">strong>@let<\/strong<\/a>-variable hides the component class member with the same name from the component's HTML template.<\/p>\n<p>You probably skipped this section, because you've stopped using <strong>RxJS<\/strong> since basic Signals are out of Developer Preview already. Yeah, maybe one day you'll return to RxJS, because it's still the more powerful option \ud83d\ude0e<\/p>\n<p>In any case, we have something more to cover here.<\/p>\n<h2>Two new migration schematics<\/h2>\n<p>Now to a (or two) completely different topic.<\/p>\n<p>Are you already using the fabulous migration schematics we've discussed recently?<\/p>\n<h3>Existing schematics<\/h3>\n<p>For the new template syntax <strong>control flow<\/strong>, more <a href=\"https:\/\/www.angulararchitects.io\/en\/blog\/angular-17-update-control-flow-app-builder-migration\/\">details in this post<\/a>.<\/p>\n<pre><code class=\"language-shell\">ng g @angular\/core:control-flow<\/code><\/pre>\n<p>For the new <strong>app builder<\/strong>, more <a href=\"https:\/\/www.angulararchitects.io\/en\/blog\/angular-17-update-control-flow-app-builder-migration\/\">details also in this post<\/a>.<\/p>\n<pre><code class=\"language-shell\">ng update @angular\/cli --name use-application-builder<\/code><\/pre>\n<p>For <strong>standalone components<\/strong>, more <a href=\"https:\/\/www.angulararchitects.io\/en\/blog\/tutorial-automatically-migrating-to-standalone-components-in-3-steps\/\">details in this post<\/a>.<\/p>\n<pre><code class=\"language-shell\">ng g @angular\/core:standalone<\/code><\/pre>\n<h3>New schematic to convert standalone component routes to be lazy loaded<\/h3>\n<p>For all standalone components used in the router, please <strong>lazy load 'em<\/strong>:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.angulararchitects.io\/wp-content\/uploads\/2024\/08\/lazy-cat.jpg\" alt=\"Lazy cat by andrea candraja from Pixabay\" \/><\/p>\n<pre><code class=\"language-shell\">ng g @angular\/core:route-lazy-loading<\/code><\/pre>\n<p>I've just tested this migration on some of my projects, and it really pushed my lazy loading a bit further.<br \/>\nThe script even tells you when you need to migrate components of your <em>NgModules<\/em> to <strong>standalone<\/strong> to be able to lazy load them as well (using the previous migration).<\/p>\n<h3>New schematic to convert constructor-based DI to the new functional inject()<\/h3>\n<p>The <em>Angular team<\/em> recently stated that both variants will continue being supported in the foreseeable future (thanks to Rainer for bringing up <a href=\"https:\/\/github.com\/angular\/angular\/pull\/57056#issuecomment-2240175719\">this question in the PR<\/a>). Nevertheless, I've been advocating the new <code>incject<\/code> for quite some time. Until I've read <a href=\"https:\/\/github.com\/angular\/angular\/issues\/50234\">this thread on <em>Angular GitHub<\/em><\/a>. After reading that discussion, I was definitely a chunk wiser, and thus now I'm kind of in a neutral stance on which is the better choice &ndash; preferably a consistent one in a codebase. There are good arguments for both. Nevertheless, if you want to use the new functional approach, you can now use the official migration schematic:<\/p>\n<pre><code class=\"language-shell\">ng g @angular\/core:inject-migration<\/code><\/pre>\n<p>Pro-tip: After running the migration you need to run <a href=\"https:\/\/prettier.io\/\"><strong>Prettier<\/strong><\/a> to get rid of the created empty lines. In some future post I'm going to share my best practices on setting up <strong>Prettier for <em>Angular<\/em> projects<\/strong>.<\/p>\n<h2>That's all folks<\/h2>\n<p>Yes, there are plenty of other improvements and fixes, but I don't think they will have a huge impact on our lives. After the big changes from <em>15<\/em> to <em>17<\/em>, maybe it's time to chill a bit. Still waiting for Signal inputs, model and queries to become production-ready, but I think don't think we'll get that in <em>18.3<\/em> in six weeks. The next major release <em>19<\/em> is <a href=\"https:\/\/angular.dev\/reference\/releases#release-schedule\">planned for November 2024<\/a>.<\/p>\n<p>In the meantime, I want to recommend:<\/p>\n<ul>\n<li><a href=\"https:\/\/thenewstack.io\/google-angular-lead-sees-convergence-in-javascript-frameworks\/\">this post<\/a> by Loraine Lawson on Minko Gechev's view on frontend frameworks and the convergence of <em>Angular<\/em> and <em>Wiz<\/em><\/li>\n<li><a href=\"https:\/\/www.youtube.com\/watch?v=fIjp9Rt_N_M\">this video<\/a> feat. <a href=\"https:\/\/x.com\/twerske\">Emma Twersky<\/a> about the future roadmap of <em>Angular<\/em> at the <a href=\"https:\/\/www.meetup.com\/angular-meetup-graz\/\"><em>Angular Meetup Graz<\/em><\/a> on June 24th, 2024<\/li>\n<li>or for something completely different, check out the <a href=\"https:\/\/www.techradar.com\/phones\/google-pixel-phones\/google-pixel-9-pro-review\">Pixel 9 Pro<\/a> &ndash; I just ordered the best option for iOS refusers \ud83d\ude0f<\/li>\n<\/ul>\n<h2>Workshops<\/h2>\n<p>If you want to deep dive into <em>Angular<\/em>, we offer a variety of workshops - both in English and German.<\/p>\n<ul>\n<li><a href=\"https:\/\/www.angulararchitects.io\/en\/training\/angular-accessibility-workshop\/\"><strong>Accessibility Workshop, next on Sep. 6th<\/strong><\/a> \u267f<\/li>\n<li><a href=\"https:\/\/www.angulararchitects.io\/en\/training\/angular-performance-optimization-workshop\/\"><strong>Performance Workshop, Sep. 2nd to 4th<\/strong><\/a> \ud83d\ude80<\/li>\n<li><a href=\"https:\/\/www.angulararchitects.io\/en\/training\/angular-styling-workshop\/\"><strong>NG Styling Workshop<\/strong><\/a> \ud83c\udfa8<\/li>\n<\/ul>\n<p>This blog post was written by <a href=\"https:\/\/alex.thalhammer.name\">Alexander Thalhammer<\/a>. Follow me on <a href=\"https:\/\/at.linkedin.com\/in\/thalhammer\">Linkedin<\/a>, <a href=\"https:\/\/twitter.com\/LX_T\">X<\/a> or <a href=\"https:\/\/github.com\/L-X-T\">giThub<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In May 2024, the Angular Version 18 was released. Manfred discussed the new features in a detailed post. In this post, we want to present the additional features of the minor release 18.2 (including release 18.1). @let it begin While some highly motivated Angular bloggers introduced the strong>@let&quot;@&quot;@let-variable@let@let@let<\/p>\n","protected":false},"author":21,"featured_media":26422,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_price":"","_stock":"","_tribe_ticket_header":"","_tribe_default_ticket_provider":"","_ticket_start_date":"","_ticket_end_date":"","_tribe_ticket_show_description":"","_tribe_ticket_show_not_going":false,"_tribe_ticket_use_global_stock":"","_tribe_ticket_global_stock_level":"","_global_stock_mode":"","_global_stock_cap":"","_tribe_rsvp_for_event":"","_tribe_ticket_going_count":"","_tribe_ticket_not_going_count":"","_tribe_tickets_list":"[]","_tribe_ticket_has_attendee_info_fields":false,"footnotes":""},"categories":[18],"tags":[],"class_list":["post-26424","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Latest Updates in Angular 18.2 (and 18.1) - ANGULARarchitects<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.angulararchitects.io\/en\/blog\/latest-updates-in-angular-18-2-and-18-1\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Latest Updates in Angular 18.2 (and 18.1) - ANGULARarchitects\" \/>\n<meta property=\"og:description\" content=\"In May 2024, the Angular Version 18 was released. Manfred discussed the new features in a detailed post. In this post, we want to present the additional features of the minor release 18.2 (including release 18.1). @let it begin While some highly motivated Angular bloggers introduced the strong&gt;@let&quot;@&quot;@let-variable@let@let@let\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.angulararchitects.io\/en\/blog\/latest-updates-in-angular-18-2-and-18-1\/\" \/>\n<meta property=\"og:site_name\" content=\"ANGULARarchitects\" \/>\n<meta property=\"article:published_time\" content=\"2024-08-19T21:31:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-06T06:46:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.angulararchitects.io\/wp-content\/uploads\/2024\/08\/sujet-ng182.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Alexander Thalhammer\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.angulararchitects.io\/wp-content\/uploads\/2024\/08\/sujet-ng182.jpg\" \/>\n<meta name=\"twitter:creator\" content=\"@LX_T\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Alexander Thalhammer\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.angulararchitects.io\/en\/blog\/latest-updates-in-angular-18-2-and-18-1\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.angulararchitects.io\/en\/blog\/latest-updates-in-angular-18-2-and-18-1\/\"},\"author\":{\"name\":\"Alexander Thalhammer\",\"@id\":\"https:\/\/www.angulararchitects.io\/en\/#\/schema\/person\/eefb0cd4d115dfd406a02b6dbc760d45\"},\"headline\":\"Latest Updates in Angular 18.2 (and 18.1)\",\"datePublished\":\"2024-08-19T21:31:49+00:00\",\"dateModified\":\"2025-04-06T06:46:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.angulararchitects.io\/en\/blog\/latest-updates-in-angular-18-2-and-18-1\/\"},\"wordCount\":56,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.angulararchitects.io\/en\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.angulararchitects.io\/en\/blog\/latest-updates-in-angular-18-2-and-18-1\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.angulararchitects.io\/wp-content\/uploads\/2024\/08\/shutterstock_2458988065.jpg\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.angulararchitects.io\/en\/blog\/latest-updates-in-angular-18-2-and-18-1\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.angulararchitects.io\/en\/blog\/latest-updates-in-angular-18-2-and-18-1\/\",\"url\":\"https:\/\/www.angulararchitects.io\/en\/blog\/latest-updates-in-angular-18-2-and-18-1\/\",\"name\":\"Latest Updates in Angular 18.2 (and 18.1) - ANGULARarchitects\",\"isPartOf\":{\"@id\":\"https:\/\/www.angulararchitects.io\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.angulararchitects.io\/en\/blog\/latest-updates-in-angular-18-2-and-18-1\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.angulararchitects.io\/en\/blog\/latest-updates-in-angular-18-2-and-18-1\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.angulararchitects.io\/wp-content\/uploads\/2024\/08\/shutterstock_2458988065.jpg\",\"datePublished\":\"2024-08-19T21:31:49+00:00\",\"dateModified\":\"2025-04-06T06:46:02+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.angulararchitects.io\/en\/blog\/latest-updates-in-angular-18-2-and-18-1\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.angulararchitects.io\/en\/blog\/latest-updates-in-angular-18-2-and-18-1\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.angulararchitects.io\/en\/blog\/latest-updates-in-angular-18-2-and-18-1\/#primaryimage\",\"url\":\"https:\/\/www.angulararchitects.io\/wp-content\/uploads\/2024\/08\/shutterstock_2458988065.jpg\",\"contentUrl\":\"https:\/\/www.angulararchitects.io\/wp-content\/uploads\/2024\/08\/shutterstock_2458988065.jpg\",\"width\":1000,\"height\":667},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.angulararchitects.io\/en\/blog\/latest-updates-in-angular-18-2-and-18-1\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.angulararchitects.io\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Latest Updates in Angular 18.2 (and 18.1)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.angulararchitects.io\/en\/#website\",\"url\":\"https:\/\/www.angulararchitects.io\/en\/\",\"name\":\"ANGULARarchitects\",\"description\":\"AngularArchitects.io\",\"publisher\":{\"@id\":\"https:\/\/www.angulararchitects.io\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.angulararchitects.io\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.angulararchitects.io\/en\/#organization\",\"name\":\"ANGULARarchitects\",\"alternateName\":\"SOFTWAREarchitects\",\"url\":\"https:\/\/www.angulararchitects.io\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.angulararchitects.io\/en\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.angulararchitects.io\/wp-content\/uploads\/2023\/07\/AA-Logo-RGB-horizontal-inside-knowledge-black.svg\",\"contentUrl\":\"https:\/\/www.angulararchitects.io\/wp-content\/uploads\/2023\/07\/AA-Logo-RGB-horizontal-inside-knowledge-black.svg\",\"width\":644,\"height\":216,\"caption\":\"ANGULARarchitects\"},\"image\":{\"@id\":\"https:\/\/www.angulararchitects.io\/en\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/github.com\/angular-architects\",\"https:\/\/www.linkedin.com\/company\/angular-architects\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.angulararchitects.io\/en\/#\/schema\/person\/eefb0cd4d115dfd406a02b6dbc760d45\",\"name\":\"Alexander Thalhammer\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.angulararchitects.io\/en\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/23f1b6f9b1ee7d04247b8320851762347d56c76b1537d100d07390d6d919b78d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/23f1b6f9b1ee7d04247b8320851762347d56c76b1537d100d07390d6d919b78d?s=96&d=mm&r=g\",\"caption\":\"Alexander Thalhammer\"},\"sameAs\":[\"https:\/\/x.com\/LX_T\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Latest Updates in Angular 18.2 (and 18.1) - ANGULARarchitects","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.angulararchitects.io\/en\/blog\/latest-updates-in-angular-18-2-and-18-1\/","og_locale":"en_US","og_type":"article","og_title":"Latest Updates in Angular 18.2 (and 18.1) - ANGULARarchitects","og_description":"In May 2024, the Angular Version 18 was released. Manfred discussed the new features in a detailed post. In this post, we want to present the additional features of the minor release 18.2 (including release 18.1). @let it begin While some highly motivated Angular bloggers introduced the strong>@let&quot;@&quot;@let-variable@let@let@let","og_url":"https:\/\/www.angulararchitects.io\/en\/blog\/latest-updates-in-angular-18-2-and-18-1\/","og_site_name":"ANGULARarchitects","article_published_time":"2024-08-19T21:31:49+00:00","article_modified_time":"2025-04-06T06:46:02+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/www.angulararchitects.io\/wp-content\/uploads\/2024\/08\/sujet-ng182.jpg","type":"image\/jpeg"}],"author":"Alexander Thalhammer","twitter_card":"summary_large_image","twitter_image":"https:\/\/www.angulararchitects.io\/wp-content\/uploads\/2024\/08\/sujet-ng182.jpg","twitter_creator":"@LX_T","twitter_misc":{"Written by":"Alexander Thalhammer"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.angulararchitects.io\/en\/blog\/latest-updates-in-angular-18-2-and-18-1\/#article","isPartOf":{"@id":"https:\/\/www.angulararchitects.io\/en\/blog\/latest-updates-in-angular-18-2-and-18-1\/"},"author":{"name":"Alexander Thalhammer","@id":"https:\/\/www.angulararchitects.io\/en\/#\/schema\/person\/eefb0cd4d115dfd406a02b6dbc760d45"},"headline":"Latest Updates in Angular 18.2 (and 18.1)","datePublished":"2024-08-19T21:31:49+00:00","dateModified":"2025-04-06T06:46:02+00:00","mainEntityOfPage":{"@id":"https:\/\/www.angulararchitects.io\/en\/blog\/latest-updates-in-angular-18-2-and-18-1\/"},"wordCount":56,"commentCount":0,"publisher":{"@id":"https:\/\/www.angulararchitects.io\/en\/#organization"},"image":{"@id":"https:\/\/www.angulararchitects.io\/en\/blog\/latest-updates-in-angular-18-2-and-18-1\/#primaryimage"},"thumbnailUrl":"https:\/\/www.angulararchitects.io\/wp-content\/uploads\/2024\/08\/shutterstock_2458988065.jpg","inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.angulararchitects.io\/en\/blog\/latest-updates-in-angular-18-2-and-18-1\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.angulararchitects.io\/en\/blog\/latest-updates-in-angular-18-2-and-18-1\/","url":"https:\/\/www.angulararchitects.io\/en\/blog\/latest-updates-in-angular-18-2-and-18-1\/","name":"Latest Updates in Angular 18.2 (and 18.1) - ANGULARarchitects","isPartOf":{"@id":"https:\/\/www.angulararchitects.io\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.angulararchitects.io\/en\/blog\/latest-updates-in-angular-18-2-and-18-1\/#primaryimage"},"image":{"@id":"https:\/\/www.angulararchitects.io\/en\/blog\/latest-updates-in-angular-18-2-and-18-1\/#primaryimage"},"thumbnailUrl":"https:\/\/www.angulararchitects.io\/wp-content\/uploads\/2024\/08\/shutterstock_2458988065.jpg","datePublished":"2024-08-19T21:31:49+00:00","dateModified":"2025-04-06T06:46:02+00:00","breadcrumb":{"@id":"https:\/\/www.angulararchitects.io\/en\/blog\/latest-updates-in-angular-18-2-and-18-1\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.angulararchitects.io\/en\/blog\/latest-updates-in-angular-18-2-and-18-1\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.angulararchitects.io\/en\/blog\/latest-updates-in-angular-18-2-and-18-1\/#primaryimage","url":"https:\/\/www.angulararchitects.io\/wp-content\/uploads\/2024\/08\/shutterstock_2458988065.jpg","contentUrl":"https:\/\/www.angulararchitects.io\/wp-content\/uploads\/2024\/08\/shutterstock_2458988065.jpg","width":1000,"height":667},{"@type":"BreadcrumbList","@id":"https:\/\/www.angulararchitects.io\/en\/blog\/latest-updates-in-angular-18-2-and-18-1\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.angulararchitects.io\/en\/"},{"@type":"ListItem","position":2,"name":"Latest Updates in Angular 18.2 (and 18.1)"}]},{"@type":"WebSite","@id":"https:\/\/www.angulararchitects.io\/en\/#website","url":"https:\/\/www.angulararchitects.io\/en\/","name":"ANGULARarchitects","description":"AngularArchitects.io","publisher":{"@id":"https:\/\/www.angulararchitects.io\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.angulararchitects.io\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.angulararchitects.io\/en\/#organization","name":"ANGULARarchitects","alternateName":"SOFTWAREarchitects","url":"https:\/\/www.angulararchitects.io\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.angulararchitects.io\/en\/#\/schema\/logo\/image\/","url":"https:\/\/www.angulararchitects.io\/wp-content\/uploads\/2023\/07\/AA-Logo-RGB-horizontal-inside-knowledge-black.svg","contentUrl":"https:\/\/www.angulararchitects.io\/wp-content\/uploads\/2023\/07\/AA-Logo-RGB-horizontal-inside-knowledge-black.svg","width":644,"height":216,"caption":"ANGULARarchitects"},"image":{"@id":"https:\/\/www.angulararchitects.io\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/github.com\/angular-architects","https:\/\/www.linkedin.com\/company\/angular-architects\/"]},{"@type":"Person","@id":"https:\/\/www.angulararchitects.io\/en\/#\/schema\/person\/eefb0cd4d115dfd406a02b6dbc760d45","name":"Alexander Thalhammer","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.angulararchitects.io\/en\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/23f1b6f9b1ee7d04247b8320851762347d56c76b1537d100d07390d6d919b78d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/23f1b6f9b1ee7d04247b8320851762347d56c76b1537d100d07390d6d919b78d?s=96&d=mm&r=g","caption":"Alexander Thalhammer"},"sameAs":["https:\/\/x.com\/LX_T"]}]}},"_links":{"self":[{"href":"https:\/\/www.angulararchitects.io\/en\/wp-json\/wp\/v2\/posts\/26424","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.angulararchitects.io\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.angulararchitects.io\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.angulararchitects.io\/en\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/www.angulararchitects.io\/en\/wp-json\/wp\/v2\/comments?post=26424"}],"version-history":[{"count":9,"href":"https:\/\/www.angulararchitects.io\/en\/wp-json\/wp\/v2\/posts\/26424\/revisions"}],"predecessor-version":[{"id":29630,"href":"https:\/\/www.angulararchitects.io\/en\/wp-json\/wp\/v2\/posts\/26424\/revisions\/29630"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.angulararchitects.io\/en\/wp-json\/wp\/v2\/media\/26422"}],"wp:attachment":[{"href":"https:\/\/www.angulararchitects.io\/en\/wp-json\/wp\/v2\/media?parent=26424"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.angulararchitects.io\/en\/wp-json\/wp\/v2\/categories?post=26424"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.angulararchitects.io\/en\/wp-json\/wp\/v2\/tags?post=26424"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}