Changelog History
Page 3
-
v1.3.1 Changes
September 15, 2019v1.3.1 (2019-09-16)
๐ Improvements
- Improved handling exec format error by introducing new status Exec Format Error.
- Commits: @93a60115
๐ Bug Fixes
- ๐ Fixed bug where execution of Go code with no
main
package would induceexecve("./main"): No such file or directory
because Go compiler wouldn't createmain
binary.- Commits: @93a60115
๐ Deployment Procedure
๐ณ 1. Install Docker and Docker Compose. ๐ 2. Download and extract release archive:
wget https://github.com/judge0/api/releases/download/v1.3.1/judge0-api-v1.3.1.zip unzip judge0-api-v1.3.1.zip
Run all services and wait few seconds until everything is initialized:
cd judge0-api-v1.3.1 docker-compose up -d sleep 10s
Your instance of Judge0 API v1.3.1 is now available at
http://<IP OF YOUR SERVER>:3000
.
- Improved handling exec format error by introducing new status Exec Format Error.
-
v1.3.0 Changes
September 15, 2019v1.3.0 (2019-09-15)
๐ New Features
- Added
MAX_QUEUE_SIZE
variable that defines a maximum submission queue size. If there is a new submission request and the queue is full, then that submission will be rejected.- Commits: @a2bcdecb
๐ Improvements
- ๐ Improved worker shutdown procedure. Workers are now gracefully shutdown on
docker stop
.- Commits: @2ae0cd31
๐ Bug Fixes
- ๐ Fixed a bug where authentication token was auto converted to integer.
๐ Deployment Procedure
๐ณ 1. Install Docker and Docker Compose. ๐ 2. Download and extract release archive:
wget https://github.com/judge0/api/releases/download/v1.3.0/judge0-api-v1.3.0.zip unzip judge0-api-v1.3.0.zip
Run all services and wait few seconds until everything is initialized:
cd judge0-api-v1.3.0 docker-compose up -d sleep 10s
Your instance of Judge0 API v1.3.0 is now available at
http://<IP OF YOUR SERVER>:3000
.
- Added
-
v1.2.2 Changes
September 07, 2019v1.2.2 (2019-09-07)
๐ Securty Fixes
- ๐ Fixed a bug that allowed anybody to read
judge0-api.conf
file. This bug was introduced in version v1.2.1 when config was mounted into container. With this fix, config is still mounted into container but not in/usr/src/api
folder but rather in/
. Root folder is not binded in isolate sandbox, whereas/usr/src/api
is.- Commits: @121c8f9d
Other Changes
- Don't allow execution of scripts in
/usr/src/api
folder.- Commits: @121c8f9d
๐ Deployment Procedure
๐ณ 1. Install Docker and Docker Compose. ๐ 2. Download and extract release archive:
wget https://github.com/judge0/api/releases/download/v1.2.2/judge0-api-v1.2.2.zip unzip judge0-api-v1.2.2.zip
Run all services and wait few seconds until everything is initialized:
cd judge0-api-v1.2.2 docker-compose up -d sleep 10s
Your instance of Judge0 API v1.2.2 is now available at
http://<IP OF YOUR SERVER>:3000
.
- ๐ Fixed a bug that allowed anybody to read
-
v1.2.1 Changes
August 24, 2019v1.2.1 (2019-08-24)
๐ Improvements
- ๐ Improved config loading. Config can now be changed and reload just with
docker-compose restart
command.- Commits: @06fc37f1
๐ Bug Fixes
- ๐ Fixed bug in
run-worker
script that didn't considerCOUNT
config variable.
๐ Deployment Procedure
๐ณ 1. Install Docker and Docker Compose. ๐ 2. Download and extract release archive:
wget https://github.com/judge0/api/releases/download/v1.2.1/judge0-api-v1.2.1.zip unzip judge0-api-v1.2.1.zip
Run all services and wait few seconds until everything is initialized:
cd judge0-api-v1.2.1 docker-compose up -d sleep 10s
Your instance of Judge0 API v1.2.1 is now available at
http://<IP OF YOUR SERVER>:3000
.
- ๐ Improved config loading. Config can now be changed and reload just with
-
v1.2.0 Changes
June 17, 2019๐ New Features
- Added new language Executable that allows executing custom executable files.
- Commits: @0ab08351
- Added new configuration variables:
REDIS_PASSWORD
,REDIS_PORT
andPOSTGRES_PORT
.- Commits: @962d7d1d
๐ Improvements
- ๐ Improved
run-server
andrun-worker
scripts.- Commits: @e1b3564b
๐ Bug Fixes
- ๐ Fixed
/etc/apt/sources.list
that prevented package update. - ๐ Fixed cleanup bug that didn't remove sandbox files if
tmp
directory was not empty.- Commits: @50ee4dbf
- ๐ Fixed another UTF-8 problem with Python that @nguyenvanquan7826 reported.
Other Changes
- โก๏ธ Updated some gems that had security issues.
- ๐ท Prepared Isolate Job for accepting custom compile flags.
- Commits: @4f2dde1f
๐ Deployment Procedure
๐ณ 1. Install Docker and Docker Compose. ๐ 2. Download and extract release archive:
wget https://github.com/judge0/api/releases/download/v1.2.0/judge0-api-v1.2.0.zip unzip judge0-api-v1.2.0.zip
Run all services and wait few seconds until everything is initialized:
cd judge0-api-v1.2.0 docker-compose up -d sleep 10s
Your instance of Judge0 API v1.2.0 is now available at
http://<IP OF YOUR SERVER>:3000
.
- Added new language Executable that allows executing custom executable files.
-
v1.1.5 Changes
February 17, 2019๐ Bug Fixes
- ๐ Fixed problem with assigning compile output to submission when rerunning submission.
- Commits: @c3cd0232
Other Changes
- โ Remove unwanted newlines from compile output.
- Commits: @c3cd0232
๐ Deployment Procedure
๐ณ 1. Install Docker and Docker Compose. ๐ 2. Download and extract release archive:
wget https://github.com/judge0/api/releases/download/v1.1.5/judge0-api-v1.1.5.zip unzip judge0-api-v1.1.5.zip
Run all services and wait few seconds until everything is initialized:
cd judge0-api-v1.1.5 docker-compose up -d sleep 10s
Your instance of Judge0 API v1.1.5 is now available at
http://<IP OF YOUR SERVER>:3000
.
- ๐ Fixed problem with assigning compile output to submission when rerunning submission.
-
v1.1.4 Changes
February 17, 2019๐ Bug Fixes
- ๐ Fixed problem with assigning compile output to submission when compile output is not empty.
- Commits: @22403707
๐ Deployment Procedure
๐ณ 1. Install Docker and Docker Compose. ๐ 2. Download and extract release archive:
wget https://github.com/judge0/api/releases/download/v1.1.4/judge0-api-v1.1.4.zip unzip judge0-api-v1.1.4.zip
Run all services and wait few seconds until everything is initialized:
cd judge0-api-v1.1.4 docker-compose up -d sleep 10s
Your instance of Judge0 API v1.1.4 is now available at
http://<IP OF YOUR SERVER>:3000
.
- ๐ Fixed problem with assigning compile output to submission when compile output is not empty.
-
v1.1.3 Changes
February 15, 2019๐ Improvements
- ๐ Improved cleanup of sandbox by deleting stdin, stdout, stderr and meta file before running isolate cleanup.
- Commits: @1dcfaf98
๐ Bug Fixes
- ๐ Fixed problem with compile output that contained invalid byte sequence in UTF-8.
- Commits: @37d46b14
- ๐ Fixed problem with submissions not changing their post-run attributes after rerun if compile error occured.
- Commits: @37d46b14
๐ Deployment Procedure
๐ณ 1. Install Docker and Docker Compose. ๐ 2. Download and extract release archive:
wget https://github.com/judge0/api/releases/download/v1.1.3/judge0-api-v1.1.3.zip unzip judge0-api-v1.1.3.zip
Run all services and wait few seconds until everything is initialized:
cd judge0-api-v1.1.3 docker-compose up -d sleep 10s
Your instance of Judge0 API v1.1.3 is now available at
http://<IP OF YOUR SERVER>:3000
.
- ๐ Improved cleanup of sandbox by deleting stdin, stdout, stderr and meta file before running isolate cleanup.
-
v1.1.2 Changes
February 15, 2019๐ Improvements
- ๐ Improved reading from stdin and writing to stdout, stderr and meta. They are now not available in sandbox.
๐ Bug Fixes
- ๐ Fixed writing of source code and stdin to disc, they are now written as binary files to avoid UTF-8 problems.
- Commits: @519efbea
- ๐ Fixed problem with stripping output that contained invalid byte sequence in UTF-8.
- Commits: @4c994c67
Other Changes
- ๐ Use
judge0/api-base:0.3.0
as base image which uses isolate@18554e83.- Commits: @350ff3a4
๐ Deployment Procedure
๐ณ 1. Install Docker and Docker Compose. ๐ 2. Download and extract release archive:
wget https://github.com/judge0/api/releases/download/v1.1.2/judge0-api-v1.1.2.zip unzip judge0-api-v1.1.2.zip
Run all services and wait few seconds until everything is initialized:
cd judge0-api-v1.1.2 docker-compose up -d sleep 10s
Your instance of Judge0 API v1.1.2 is now available at
http://<IP OF YOUR SERVER>:3000
.
-
v1.1.1 Changes
February 13, 2019๐ Bug Fixes
- ๐ Fixed a problem when
strip
method was called on anil
class when expected output wasnil
.- Commits: @b25153e9
Other Changes
- โก๏ธ Don't let worker update submission's
finished_at
attribute if it already exists. This allows Judge0 API administrators to manually rerun submissions from command line and preserve initial timestamps if some unexpected error occured.- Commits: @b25153e9
๐ Deployment Procedure
๐ณ 1. Install Docker and Docker Compose. ๐ 2. Download and extract release archive:
wget https://github.com/judge0/api/releases/download/v1.1.1/judge0-api-v1.1.1.zip unzip judge0-api-v1.1.1.zip
Run all services and wait few seconds until everything is initialized:
cd judge0-api-v1.1.1 docker-compose up -d sleep 10s
Your instance of Judge0 API v1.1.1 is now available at
http://<IP OF YOUR SERVER>:3000
.
- ๐ Fixed a problem when