Skip to content

Conversation

@dkrasnoff
Copy link
Collaborator

Deprecated the old compilation endpoint.

Now it should return 400 and provide an explanation of what to do with it.

To check, you can call:

curl -X 'GET' \
  'http://localhost:8080/kotlinServer?type=test&addByteCode=false' \
  -H 'accept: application/json'

The response will be:

This endpoint is not available anymore.
And will be soon removed from the Kotlin Playground.
If you are using playground widget, then update to the new version: https://github.com/JetBrains/kotlin-playground 
Otherwise, use the new api available at: https://api.kotlinlang.org/api/<kotlin_version>/compiler/run .

nikpachoo and others added 20 commits October 1, 2025 12:18
They were necessary only for the idea dependencies
We are using `kotlin-compiler-arguments-description` maven dependency for extracting all known compiler arguments for the current kotlin version.
We've added an endpoint for getting all known compiler dependencies by the given platform.
We've extended `run` and `translate` endpoints with the user's compiler args.
@dkrasnoff dkrasnoff requested a review from zoobestik October 16, 2025 13:41
@dkrasnoff dkrasnoff force-pushed the kotlin-community/dev branch from 258f857 to 7caabf9 Compare November 3, 2025 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants