{"id":92147,"date":"2020-08-23T19:42:34","date_gmt":"2020-08-23T17:42:34","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/vyshel-kotlin-1-4"},"modified":"2020-08-23T19:42:34","modified_gmt":"2020-08-23T17:42:34","slug":"vyshel-kotlin-1-4","status":"publish","type":"post","link":"https:\/\/prohoster.info\/cs\/blog\/news\/vyshel-kotlin-1-4","title":{"rendered":"Vy\u0161el Kotlin 1.4","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Co bylo zahrnuto do Kotlin 1.4.0:<\/p>\n<ul>\n<noindex><\/p>\n<li><a rel=\"nofollow\" href=\"https:\/\/kotlinlang.org\/docs\/reference\/whatsnew14.html#new-more-powerful-type-inference-algorithm\">Nov\u00fd, siln\u011bj\u0161\u00ed algoritmus odvozov\u00e1n\u00ed typ\u016f je zapnut\u00fd jako v\u00fdchoz\u00ed. Automaticky odvozuje typy v mnohem v\u00edce p\u0159\u00edpadech, podporuje smart-cast i ve slo\u017eit\u011bj\u0161\u00edch sc\u00e9n\u00e1\u0159\u00edch, l\u00e9pe zpracov\u00e1v\u00e1 delegovan\u00e9 vlastnosti a mnohem v\u00edce.<\/a><\/li>\n<p><\/noindex><\/p>\n<li><a rel=\"nofollow\" href=\"https:\/\/kotlinlang.org\/docs\/reference\/whatsnew14.html#unified-backends-and-extensibility\">Nov\u00e9 IR backendy pro JVM a JS jsou dostupn\u00e9 v alfa re\u017eimu. Po stabilizaci budou pou\u017e\u00edv\u00e1ny jako v\u00fdchoz\u00ed.<\/a><\/li>\n<\/ul>\n<p>Kotlin 1.4 p\u0159in\u00e1\u0161\u00ed spoustu nov\u00e9ho:<\/p>\n<ul>\n<li><a rel=\"nofollow\" href=\"https:\/\/kotlinlang.org\/docs\/reference\/whatsnew14.html#sam-conversions-for-kotlin-interfaces\">SAM konverze pro Kotlin rozhran\u00ed<\/a><\/li>\n<li><a rel=\"nofollow\" href=\"https:\/\/kotlinlang.org\/docs\/reference\/whatsnew14.html#explicit-api-mode-for-library-authors\">Explicitn\u00ed API m\u00f3d pro autory knihoven<\/a><\/li>\n<li><a rel=\"nofollow\" href=\"https:\/\/kotlinlang.org\/docs\/reference\/whatsnew14.html#mixing-named-and-positional-arguments\">Sm\u00ed\u0161en\u00e9 pojmenovan\u00e9 a pozi\u010dn\u00ed argumenty<\/a><\/li>\n<li><a rel=\"nofollow\" href=\"https:\/\/kotlinlang.org\/docs\/reference\/whatsnew14.html#trailing-comma\">Z\u00e1v\u011bre\u010dn\u00e1 \u010d\u00e1rka<\/a><\/li>\n<li><a rel=\"nofollow\" href=\"https:\/\/kotlinlang.org\/docs\/reference\/whatsnew14.html#callable-reference-improvements\">Vylep\u0161en\u00ed pro callable reference<\/a><\/li>\n<li><a rel=\"nofollow\" href=\"https:\/\/kotlinlang.org\/docs\/reference\/whatsnew14.html#using-break-and-continue-inside-when-expressions-included-in-loops\">Pou\u017e\u00edv\u00e1n\u00ed break a continue uvnit\u0159 when cykl\u016f<\/a><\/li>\n<\/ul>\n<p>Vylep\u0161en\u00ed standardn\u00ed knihovny:<\/p>\n<p><noindex><\/p>\n<p>Hlavn\u00edm sm\u011brem pr\u00e1ce na standardn\u00ed knihovn\u011b Kotlin je zlep\u0161en\u00ed konzistence na r\u016fzn\u00fdch platform\u00e1ch i mezi samotn\u00fdmi operacemi. V tomto vyd\u00e1n\u00ed byly do standardn\u00ed knihovny p\u0159id\u00e1ny nov\u00e9 <a rel=\"nofollow\" href=\"https:\/\/kotlinlang.org\/docs\/reference\/whatsnew14.html#new-functions-for-arrays-and-collections\">kolek\u010dn\u00ed oper\u00e1tory<\/a>, <a rel=\"nofollow\" href=\"https:\/\/kotlinlang.org\/docs\/reference\/whatsnew14.html#delegated-properties-improvements\">vylep\u0161en\u00ed delegovan\u00fdch vlastnost\u00ed<\/a>, <a rel=\"nofollow\" href=\"https:\/\/kotlinlang.org\/docs\/reference\/whatsnew14.html#arraydeque\">implementace obousm\u011brn\u00e9 fronty ArrayDeque<\/a> a <a rel=\"nofollow\" href=\"https:\/\/kotlinlang.org\/docs\/reference\/whatsnew14.html#standard-library\">mnoho dal\u0161\u00edch<\/a>.<\/p>\n<p><\/noindex><\/p>\n<p>Krom\u011b toho nen\u00ed t\u0159eba deklarovat z\u00e1vislost na stdlib<br \/>\nv Gradle-Kotlin projektech, a\u0165 u\u017e vyv\u00edj\u00edte pro jednu platformu nebo vytv\u00e1\u0159\u00edte multiplatformn\u00ed projekt. Od verze Kotlin 1.4.0 je tato z\u00e1vislost p\u0159id\u00e1v\u00e1na jako v\u00fdchoz\u00ed.<\/p>\n<p>Pr\u00e1ce na dal\u0161\u00edch \u010d\u00e1stech ekosyst\u00e9mu Kotlin pokra\u010duje:<\/p>\n<ul>\n<li><a rel=\"nofollow\" href=\"https:\/\/github.com\/Kotlin\/kotlinx.coroutines\">kotlinx.coroutines<\/a><\/li>\n<li><a rel=\"nofollow\" href=\"https:\/\/kotlinlang.org\/docs\/reference\/serialization.html\">Knihovna pro serializaci<\/a> se bl\u00ed\u017e\u00ed k zral\u00e9mu stavu. Byla p\u0159edstavena <a rel=\"nofollow\" href=\"https:\/\/github.com\/Kotlin\/kotlinx.serialization\/releases\/tag\/1.0.0-RC\">kotlinx.serialization<\/a> ve verzi 1.0.0-RC.<\/li>\n<li>Byl vyd\u00e1n p\u0159edb\u011b\u017en\u00fd p\u0159ehled DateTime API, experiment\u00e1ln\u00ed knihovny <a rel=\"nofollow\" href=\"https:\/\/github.com\/Kotlin\/kotlinx-datetime\">kotlinx-datetime<\/a><\/li>\n<\/ul>\n<p><noindex><\/p>\n<p><a rel=\"nofollow\" href=\"https:\/\/kotlinlang.org\/docs\/reference\/whatsnew14.html\">Detaily<\/a><\/p>\n<p><\/noindex><\/p>\n<p>Zveme v\u0161echny z\u00e1jemce na \u010dty\u0159denn\u00ed online konferenci v\u011bnovanou Kotlin 1.4!<\/p>\n<p><noindex><\/p>\n<p>Ud\u00e1lost bude vys\u00edl\u00e1na 12.\u201315. \u0159\u00edjna. Bezplatn\u00e1 registrace zde: <a rel=\"nofollow\" href=\"https:\/\/kotlinlang.org\/lp\/event-14#registration\">https:\/\/kotlinlang.org\/lp\/event-14#registration<\/a><\/p>\n<p><\/noindex><\/p>\n<p>Zdroj: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"http:\/\/www.linux.org.ru\/news\/development\/15866825\">linux.org.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0412\u043e\u0442 \u0447\u0442\u043e \u0432\u043e\u0448\u043b\u043e \u0432 Kotlin 1.4.0: \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0432\u043a\u043b\u044e\u0447\u0435\u043d \u043d\u043e\u0432\u044b\u0439, \u0431\u043e\u043b\u0435\u0435 \u043c\u043e\u0449\u043d\u044b\u0439 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u0432\u044b\u0432\u043e\u0434\u0430 \u0442\u0438\u043f\u043e\u0432. \u041e\u043d \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0442\u0438\u043f\u044b \u0432 \u0431\u043e\u043b\u044c\u0448\u0435\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0435 \u0441\u043b\u0443\u0447\u0430\u0435\u0432, \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 smart-cast \u0434\u0430\u0436\u0435 \u0432 \u0441\u043b\u043e\u0436\u043d\u044b\u0445 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044f\u0445, \u043b\u0443\u0447\u0448\u0435 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u0434\u0435\u043b\u0435\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u0438 \u043c\u043d\u043e\u0433\u043e\u0435 \u0434\u0440\u0443\u0433\u043e\u0435. \u041d\u043e\u0432\u044b\u0435 IR-\u0431\u044d\u043a\u0435\u043d\u0434\u044b \u0434\u043b\u044f JVM \u0438 JS \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0432 \u0430\u043b\u044c\u0444\u0430-\u0440\u0435\u0436\u0438\u043c\u0435. \u041f\u043e\u0441\u043b\u0435 \u0441\u0442\u0430\u0431\u0438\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043e\u043d\u0438 \u0431\u0443\u0434\u0443\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e. \u0412 Kotlin 1.4 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-92147","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0412\u043e\u0442 \u0447\u0442\u043e \u0432\u043e\u0448\u043b\u043e \u0432 Kotlin 1.4.0: \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0432\u043a\u043b\u044e\u0447\u0435\u043d \u043d\u043e\u0432\u044b\u0439, \u0431\u043e\u043b\u0435\u0435 \u043c\u043e\u0449\u043d\u044b\u0439.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/cs\/blog\/news\/vyshel-kotlin-1-4\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"cs_CZ\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0412\u044b\u0448\u0435\u043b Kotlin 1.4 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0412\u043e\u0442 \u0447\u0442\u043e \u0432\u043e\u0448\u043b\u043e \u0432 Kotlin 1.4.0: \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0432\u043a\u043b\u044e\u0447\u0435\u043d \u043d\u043e\u0432\u044b\u0439, \u0431\u043e\u043b\u0435\u0435 \u043c\u043e\u0449\u043d\u044b\u0439.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/cs\/blog\/news\/vyshel-kotlin-1-4\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-08-23T17:42:34+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-08-23T17:42:34+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Vyd\u00e1n Kotlin 1.4 | ProHoster","description":"Co bylo zahrnuto do Kotlin 1.4.0: V\u00fdchoz\u00ed zapnut\u00ed nov\u00e9ho, siln\u011bj\u0161\u00edho.","canonical_url":"https:\/\/prohoster.info\/cs\/blog\/news\/vyshel-kotlin-1-4","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"cs_CZ","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0412\u044b\u0448\u0435\u043b Kotlin 1.4 | ProHoster","og:description":"\u0412\u043e\u0442 \u0447\u0442\u043e \u0432\u043e\u0448\u043b\u043e \u0432 Kotlin 1.4.0: \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0432\u043a\u043b\u044e\u0447\u0435\u043d \u043d\u043e\u0432\u044b\u0439, \u0431\u043e\u043b\u0435\u0435 \u043c\u043e\u0449\u043d\u044b\u0439.","og:url":"https:\/\/prohoster.info\/cs\/blog\/news\/vyshel-kotlin-1-4","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-08-23T17:42:34+00:00","article:modified_time":"2020-08-23T17:42:34+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"92147","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 12:14:22","updated":"2022-10-09 09:55:22","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/posts\/92147","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/comments?post=92147"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/posts\/92147\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/media?parent=92147"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/categories?post=92147"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/tags?post=92147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}