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 and command_line_arguments.
    • Added configuration variables ENABLE_COMPILER_OPTIONS, ALLOWED_LANGUAGES_FOR_COMPILER_OPTIONS and ENABLE_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.

    Other Changes

    • 0๏ธโƒฃ Don't link math library for C language by default. You now need to send -lm in compiler_options.

    ๐Ÿš€ 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
    
    1. Run all services and wait few seconds until everything is initialized:

      cd judge0-api-v1.4.0 docker-compose up -d sleep 10s

    2. Your instance of Judge0 API v1.4.0 is now available at http://<IP OF YOUR SERVER>:3000.