<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/kotlin-2-3-0-nested-type-aliases-return-in-expression-bodies-jdk-25-support-and-more-mpxtmklrx" -->

---
title: Kotlin 2.3.0: Nested Type Aliases, Return in Expression...
description: Kotlin 2.3.0 introduces several quality-of-life improvements including data-flow-based exhaustiveness checks for when expressions that eliminate redundant...
canonical: https://daily.dev/posts/kotlin-2-3-0-nested-type-aliases-return-in-expression-bodies-jdk-25-support-and-more-mpxtmklrx
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Kotlin 2.3.0: Nested Type Aliases, Return in Expression Bodies, JDK 25 Support, and More | daily.dev
og:description: Kotlin 2.3.0 introduces several quality-of-life improvements including data-flow-based exhaustiveness checks for when expressions that eliminate redundant...
og:url: https://daily.dev/posts/kotlin-2-3-0-nested-type-aliases-return-in-expression-bodies-jdk-25-support-and-more-mpxtmklrx
og:image: https://api.daily.dev/og/posts/MpXtMKLrx.png
og:image:alt: Kotlin 2.3.0: Nested Type Aliases, Return in Expression Bodies, JDK 25 Support, and More
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Kotlin 2.3.0: Nested Type Aliases, Return in Expression Bodies, JDK 25 Support, and More

**[SoftwareMill](https://daily.dev/sources/softwaremill)** · 7 min read · 1 upvotes · 0 comments

## Summary

Kotlin 2.3.0 introduces several quality-of-life improvements including data-flow-based exhaustiveness checks for when expressions that eliminate redundant branches, nested type aliases as a stable feature for better code organization, return statements in expression bodies for cleaner guard clauses, and stable kotlin.time.Clock and kotlin.time.Instant APIs moved from kotlinx-datetime. The release also adds JDK 25 support and experimental explicit backing fields that simplify property encapsulation by allowing direct backing field definition with the field keyword.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://softwaremill.com/kotlin-2-3-0-nested-type-aliases-return-in-expression-bodies-jdk-25-support-and-more/>

## Similar posts on daily.dev

- [Kotlin Weekly \#498](https://daily.dev/posts/kotlin-weekly-498-yydicmxue) · Kotlin Weekly · 0 upvotes · 0 comments

---

Tags: [#kotlin](https://daily.dev/tags/kotlin), [#jdk](https://daily.dev/tags/jdk)

[View this post on daily.dev](https://daily.dev/posts/kotlin-2-3-0-nested-type-aliases-return-in-expression-bodies-jdk-25-support-and-more-mpxtmklrx)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Kotlin 2.3.0: Nested Type Aliases, Return in Expression Bodies, JDK 25 Support, and More","url":"https://daily.dev/posts/kotlin-2-3-0-nested-type-aliases-return-in-expression-bodies-jdk-25-support-and-more-mpxtmklrx","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/kotlin-2-3-0-nested-type-aliases-return-in-expression-bodies-jdk-25-support-and-more-mpxtmklrx"},"datePublished":"2026-01-15T10:10:55.121Z","dateModified":"2026-01-15T10:11:21.417Z","description":"Kotlin 2.3.0 introduces several quality-of-life improvements including data-flow-based exhaustiveness checks for when expressions that eliminate redundant...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/45b45c93b2c9dbb60b5402c3100ccc55?_a=AQAEulh","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/45b45c93b2c9dbb60b5402c3100ccc55?_a=AQAEulh","isAccessibleForFree":true,"articleSection":"SoftwareMill","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"SoftwareMill","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/30827c94697f47fcbc88ff9b59fa226f","url":"https://daily.dev/sources/softwaremill"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/kotlin-2-3-0-nested-type-aliases-return-in-expression-bodies-jdk-25-support-and-more-mpxtmklrx","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"kotlin,jdk","timeRequired":"PT7M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"SoftwareMill","item":"https://daily.dev/sources/softwaremill"},{"@type":"ListItem","position":3,"name":"Kotlin 2.3.0: Nested Type Aliases, Return in Expression Bodies, JDK 25 Support, and More"}]}
```

