Judge0 API v1.10.0 Release Notes
Release Date: 2020-07-27 // over 3 years ago-
v1.10.0 (2020-07-27)
๐ New Features
- Added support for multi-file programs in the terms of adding a new special language called Multi-file program. In total there are now 47 active languages.
ID Name Note 89 Multi-file program Multi-file programs allow you specify your own compilation and execution scripts that Judge0 will use.
To use multi-file program feature you need to choose a language called Multi-file program whoose ID is 89. Moreover, you need to send all program files with
additional_files
attribute. With multi-file programs attributesource_code
cannot be used, i.e. all files should be sent withadditional_files
attribute.For the Judge0 to know how to compile and execute your multi-file program you need to provide two special files that should be available in the root of the
.zip
archive that you are sending withadditional_files
attribute. These files should be namedcompile
andrun
, and are expected to be Bash scripts that know how to compile and execute your multi-file program. If your multi-file program does not need compilation step, then you don't need to providecompile
script. Take a look at this example to learn how to use this feature to compile and run multi-file C++ project that uses CMake.Other Changes
- โก๏ธ Updated gems.
๐ Deployment Procedure
๐ Judge0 is collecting telemetry data to help understand how to improve the product and to better understand how Judge0 is used in various production environments. Read more about telemetry here.
With HTTPS (SSL/TLS)
๐ณ 1. Install Docker and Docker Compose. ๐ 2. Download and extract release archive:
wget https://github.com/judge0/api/releases/download/v1.10.0/judge0-v1.10.0-https.zip unzip judge0-v1.10.0-https.zip
Change directory to
judge0-v1.10.0-https
:cd judge0-v1.10.0-https
Edit
docker-compose.yml
and change variablesVIRTUAL_HOST
,LETSENCRYPT_HOST
andLETSENCRYPT_EMAIL
.Run all services and wait few seconds until everything is initialized:
docker-compose up -d db redis sleep 10s docker-compose up -d sleep 5s
Your instance of Judge0 v1.10.0 is now available at
https://<YOUR DOMAIN>
.
With HTTP
๐ณ 1. Install Docker and Docker Compose. ๐ 2. Download and extract release archive:
wget https://github.com/judge0/api/releases/download/v1.10.0/judge0-v1.10.0.zip unzip judge0-v1.10.0.zip
Run all services and wait few seconds until everything is initialized:
cd judge0-v1.10.0 docker-compose up -d db redis sleep 10s docker-compose up -d sleep 5s
Your instance of Judge0 v1.10.0 is now available at
http://<IP ADDRESS OF YOUR SERVER>
.