Judge0 API v1.4.0 Release Notes
Release Date: 2019-10-31 // over 4 years ago-
v1.4.0 (2019-10-31)
๐ New Features
- Added support for
compiler_options
andcommand_line_arguments
. - Added configuration variables
ENABLE_COMPILER_OPTIONS
,ALLOWED_LANGUAGES_FOR_COMPILER_OPTIONS
andENABLE_COMMAND_LINE_ARGUMENTS
for controlling usage of compiler options and command line arguments.
๐ Security Improvements
- ๐ง Run compilation process for compiled languages inside sandbox and use values of limit configuration variables for controlling sandbox resources.
- ๐ Move application location from
/usr/src/api
to/api
to prevent untrusted code from reading it.- Commits: @0f1b07fe
Other Changes
- 0๏ธโฃ Don't link math library for C language by default. You now need to send
-lm
incompiler_options
.- Commits: @619a3bbe
๐ Deployment Procedure
๐ณ 1. Install Docker and Docker Compose. ๐ 2. Download and extract release archive:
wget https://github.com/judge0/api/releases/download/v1.4.0/judge0-api-v1.4.0.zip unzip judge0-api-v1.4.0.zip
Run all services and wait few seconds until everything is initialized:
cd judge0-api-v1.4.0 docker-compose up -d sleep 10s
Your instance of Judge0 API v1.4.0 is now available at
http://<IP OF YOUR SERVER>:3000
.
- Added support for