Dmitriy Novozhilov
9b63dde1c3
Add error-level OptIn on safeAs, cast and assertedCast functions in addToStdlib
...
Usage of this function is unsafe because it does not have native compiler
support. This means that compiler won't report UNCHECKED_CAST,
CAST_NEVER_SUCCEED or similar diagnostics in case of error cast
(which can happen immediately or after some refactoring of class hierarchy)
2022-10-06 06:57:07 +00:00
Nikolay Krasko
8517249776
Update plexus-component-metadata plugin 1.7.1 -> 2.1.0
...
There's an unstable order of components in plexus/components.xml
KTI-729
2022-09-28 15:26:41 +00:00
Dmitriy Novozhilov
671083c701
[Serialization] Implement serialization checker for K2 version of plugin
...
^KT-53178 Fixed
2022-09-07 07:57:38 +00:00
Dmitriy Novozhilov
cc00dcc038
[Serialization] Reorganize module structure
2022-08-22 17:23:18 +03:00
Dmitriy Novozhilov
1a8496757e
[Compiler] Mark all entrypoints to compiler API as experimental
2022-06-29 12:00:01 +00:00
Ilya Chernikov
bb996c1b27
Switch kotlin version to 1.8
...
with appropriate fixes in testdata, tests and other
places.
2022-06-29 10:20:30 +02:00
Ilya Chernikov
352fa7540c
Fix versions in poms, etc, unmute and fix appropriate test
2022-04-22 15:04:26 +02:00
Mikhail Glukhikh
ffbd574a08
Use -opt-in instead of -Xopt-in in comments and scripts
2021-09-08 23:43:55 +03:00
Mikhael Bogdanov
a1bd728aef
Update SNAPSHOT version in maven projects/tests
2021-07-29 19:45:57 +02:00
Dmitriy Novozhilov
13d9520a4a
Revert "[TMP] Add -Xskip-prerelease check to maven projects"
...
This reverts commit 57929ab5
2021-04-03 14:31:46 +03:00
Dmitriy Novozhilov
57929ab587
[TMP] Add -Xskip-prerelease check to maven projects
...
This commit will be reverted after bootstrap to stable stdlib
2021-04-03 13:31:33 +03:00
Nikolay Krasko
133e39b783
Advance snapshot version 1.4.255 -> 1.5.255 (KTI-421)
...
#KTI-421 Fixed
2020-12-31 15:49:06 +03:00
Alexander Udalov
256f4449ce
IR: annotate obsolete API in IrPluginContext with ObsoleteDescriptorBasedAPI
2020-08-17 21:18:19 +02:00
Roman Artemev
fa2c49a311
[Plugin API] Add extension point to contribute synthetic properties
...
- needs to fix KT_41006
2020-08-14 11:59:37 +03:00
Vyacheslav Gerasimov
8d06744a6a
Set local build version to 1.4.255-SNAPSHOT
...
#KT-36128
(cherry picked from commit a8650ccfd2 )
2020-04-20 18:48:00 +03:00
Stanislav Erokhin
74348d5ffb
Fix compile configuration for maven compiler plugins
...
Previously in kotlin-maven-noarg & kotlin-maven-serialization plugins
java was compiled before kotlin, and because of that links from java
to kotlin was unresolved.
It was fixed as prescribed by docs: https://kotlinlang.org/docs/reference/using-maven.html#compiling-kotlin-and-java-sources
2020-02-26 12:12:35 +03:00
Vyacheslav Gerasimov
06448b6469
Revert "Set local build version to 1.4.255-SNAPSHOT"
...
This reverts commit a8650ccf
2020-01-30 18:20:27 +03:00
Vyacheslav Gerasimov
a8650ccfd2
Set local build version to 1.4.255-SNAPSHOT
...
#KT-36128
2020-01-29 20:20:33 +03:00
Nikolay Krasko
7fa8c982b4
Advance version to 1.4 in libraries
2020-01-17 10:33:50 +03:00
Mikhael Bogdanov
a122cba862
Switch Kotlin project to jvm-target 1.8
...
#KT-29405
2019-01-31 07:43:05 +01:00
Leonid Startsev
662c1b6d4a
Make serialization plugin for Maven consistent with all other plugins:
...
Use correct import handler because old one was not working in IDE
Change maven artifact id to match pattern from other plugins
2018-12-26 18:53:53 +03:00
Sergey Rostov
5237079c5d
Move resources: fix copy-resources kotlin compiler maven plugins
2018-11-30 15:01:02 +03:00
Leonid Startsev
9aba3b6c72
Add forgotten kotlinx-maven-serialization
2018-09-07 21:17:08 +03:00
Leonid Startsev
dea69e4469
Integrate serialization plugin into big Kotlin plugin
...
Split import handlers into multiple files
Add empty Maven handler for Android Studio
Add testRuntime dependency on kx-serialization-plugin for all modules which require compiler
plugins in test classpath
2018-09-07 21:17:07 +03:00
Leonid Startsev
087f60389a
Migrating to 1.3 preview API
2018-09-07 21:17:06 +03:00
Leonid Startsev
9ad3922c7d
Fix 1.2.50 compatibility
...
Updated version to 0.5.1
Fix resolving serializers for classes from other modules
(Kotlin/kotlinx.serialization/153)
Respect @SerialName on classes
Add support for @SerialInfo on class-level
2018-09-07 21:16:58 +03:00
Leonid Startsev
97694e65aa
Update version to 0.4
...
Optimize references in generated code. Also fixes Kotlin/kotlinx.serialization/issues/65
Fix (again) broken char boxing
Rebased on 1.2.40 and fixed broken compatibility
Fix https://github.com/Kotlin/kotlinx.serialization/issues/107 and code reformatting
(cherry picked from commit d4c307d)
Add correct type parameter information to synthetic declarations
Needed by kapt due to https://github.com/Kotlin/kotlinx.serialization/issues/76
Make correct call to sealed class constructor
Fixes https://github.com/Kotlin/kotlinx.serialization/issues/112
Bump version
1.2.50-eap-1 compatible
2018-09-07 21:16:54 +03:00
Leonid Startsev
5e19e89dda
Enhanced support for custom serializers definition
...
kotlin.Triple serializer
Resolving serializers for mutable collection interfaces on JS
Remove idea-related source files form maven compilation
Serialization url in plugin.xml
Removed note about JPS incompatibility
Don't use serial names in produced JS code (https://github.com/Kotlin/kotlinx.serialization/issues/43 )
Generator for calling `update` functions
Fix synthetic serialinfo implementations for 2-slots vars (double and long) (https://github.com/Kotlin/kotlinx.serialization/issues/60 )
Prohibit usage of nullable serializers for non-null fields (https://github.com/Kotlin/kotlinx.serialization/issues/59 )
Fix incorrect `this` referencing after update to 1.2.20 compiler
2018-09-07 21:16:53 +03:00
Leonid Startsev
f42767fcc2
Serialization plugin GSK build
...
Fixed issue when serialDesc property getter was generated, but backing field not.
Respect @Serializable(with=...) on property
Calling 3-arg readElementValue for support of custom contexts
Ability to nest context-based serializer
Migration to 1.2-Beta2
Use polymorphicSerializer prior to default
Don't use polymorphic serializers for all java classes
Docs and maven project update
Remove plugin runtime dependency on stdlib
2018-09-07 21:16:50 +03:00
Leonid Startsev
8a250b07df
Default case in "load" switch-case throws exception instead of silent read ending.
...
Improved error descriptions, fixed issue with transient properties
without backing field (Kotlin/kotlinx.serialization#2 )
Don't add serialClassDesc property if user already defined one
(Kotlin/kotlinx.serialization#10 )
Bump version to 0.1.1
Fix issue with mixing serial name with real property name (Kotlin/kotlinx.serialization#13 )
2018-09-07 21:16:49 +03:00
Leonid Startsev
02d0322029
Plugins renaming: kotlinx-<buildSystem>-serialization-plugin
2018-09-07 21:16:48 +03:00
Leonid Startsev
3eb10823d4
Maven serialization plugin
2018-09-07 21:16:47 +03:00