Skip to content

Releases

v1.6.1

Choose a tag to compare

@github-actions github-actions released this 29 Nov 18:39

Added

  • The Windows setup has a "Previous installations" page: it lists earlier setups of this program and any folder in PATH with an asc.exe or angelscript.exe, and removes the ones left checked before installing, so no older copy hides the new one.
  • install.ps1 registers the install under Settings > Apps with an uninstall.ps1 in the install folder, warns when another copy in PATH would hide the new one, and removes those copies with -RemoveOthers or ANGELSCRIPT_CLI_REMOVE_OTHERS=1.

Changed

  • --help groups the options into Run options, Ahead-of-time, Debugging, API stub and General, with the descriptions in one column. A usage error prints the message and a pointer to --help; running with no arguments prints the whole help.
  • CI also runs on pushes to develop.
  • The READMEs show the install commands and the launch.json, as.json and addon.json examples as separate indented code blocks.

Full Changelog: v1.6.0...v1.6.1

v1.6.0

Choose a tag to compare

@github-actions github-actions released this 29 Nov 04:47

Added

  • --dump-predefined --format[=<path>] lays out the generated .as.predefined stub using the nearest .clang-format or a style file supplied on the command line.

Changed

  • Updated angelscript-api-dumper to v0.2.0 for configurable stub layout.

Full Changelog: v1.5.0...v1.6.0

v1.4.1

Choose a tag to compare

@github-actions github-actions released this 28 Nov 22:45

Fixed

  • The Linux builds with the JIT failed because the JIT 0.3.1 sources lacked <cstdint>. The JIT submodule moves to v0.3.2, which also builds the 32-bit AOT target.

Full Changelog: v1.4.0...v1.4.1

v1.4.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 22:15

Added

  • Native addons: --addon <name|path> (repeatable) loads a shared library that registers types and functions on the script engine, so scripts can use a graphics library or any other native code without a C++ project of their own. The contract is include/angelscript-cli/addon.h (asc_addon_get_info, asc_addon_register, ABI number 1); the CLI refuses an addon built for another ABI or another AngelScript version and says why (exit code 2). A name is searched in ASC_ADDON_PATH, addons/ next to the executable, ../share/angelscript-cli/addons/ and ~/.angelscript/addons/. See docs/ADDONS.md.
  • angelscript addon show | install | remove (plugin is a synonym). install takes user/repo[@tag] (it downloads the release asset <repo>-as<engine>-<system>-<arch>.tar.gz with curl, checks its .sha256 and unpacks it with tar), a folder with addon.json, or a .tar.gz; --build clones and compiles the repository with git and cmake instead. The install is atomic and refuses a wrong ABI, a wrong AngelScript version or a missing library. show lists the folders searched, the one install writes to ($ASC_ADDON_HOME, else ~/.angelscript/addons) and each addon's version and compatibility.
  • A project's as.json (found next to the script or in a parent folder) lists "addons" to load, so a script runs with them from an editor's F5, which cannot pass --addon. --no-project ignores it.
  • --dump-predefined accepts --addon, before or after it, and prints the API of the loaded addons too, so AngelLSP can complete them. --only-addons prints only what the addons registered, to sit next to angelscript-cli.as.predefined without duplicates.
  • tests/addons/sample, a minimal addon built by the test suite, and integration cases for loading, searching by name, the dump, a wrong ABI, missing addons, and the whole addon install | show | remove cycle against a local file:// release tree (checksums, ABI, versions, a missing asset, local folders and archives, as.json). Unit tests cover SHA-256, the JSON reader, as.json discovery and repository specs.
  • scripts/check-submodule-pins.py fails when a submodule is pinned to a commit that is not a stable release tag (--report lists newer releases); CI runs it in a submodule-pins job.

Changed

  • The installers (install.ps1, install.sh) accept an addons/ folder in the install directory and keep it when they upgrade.
  • Submodules now sit on stable releases: angelscript-engine v0.1.2 (was v0.1.0) and angelscript-jit v0.3.0 (was v0.2.0 plus three commits).

Full Changelog: v1.3.0...v1.4.0

v1.3.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 19:53

Added

  • JIT builds from AngelScript 2.33 (before: 2.37) through the version 1 JIT interface of angelscript-jit; the installers, the engine build plan and CMake gate on 2.33. The test suite passes with the JIT on 2.33.0 (25 tests) and 2.36.1 (26 tests).
  • --aot-export BASE writes BASE.c and BASE.externs for the script (the C that the JIT would compile, for ahead-of-time compilation with clang or gcc), and --aot BASE loads the shared library built from it, so a program starts with native code and no JIT compile. Builds with the angelsea JIT only; the example in the README shows the compile step. A library built for another AngelScript release or from another version of the script is skipped, not trusted.

Full Changelog: v1.2.2...v1.3.0

v1.2.2

Choose a tag to compare

@github-actions github-actions released this 26 Nov 04:25

Fixed

  • scripts/install.sh asked for the x64 build on a 32-bit system running under a 64-bit kernel, because it read the architecture from uname -m. It now detects a 32-bit userland, and --arch x64|x86|arm64 (or ANGELSCRIPT_CLI_ARCH) chooses the build by hand. The offline installer test of the Linux x86 CI job failed for this reason.

Full Changelog: v1.2.1...v1.2.2

v1.1.0

Choose a tag to compare

@github-actions github-actions released this 25 Nov 09:09

Added

  • Build against official AngelScript releases from 2.20 to 2.39 (scripts/build-engine.py) and publish a build for each supported engine with every release. ENGINE_VERSIONS.md lists what each version supports.
  • Optional angelsea JIT: build with -DANGELSCRIPT_CLI_JIT=angelsea (AngelScript 2.37 or later, x86-64 or arm64). angelscript --version reports jit: angelsea; --no-jit and debugger sessions keep the interpreter. The JIT workflow builds and tests it without blocking CI.
  • The Windows setup program has one checkbox per AngelScript release, so each angelscript-<version> can be installed on its own.
  • Windows x86 and Linux x86 builds: archives, a Windows setup program and a Debian package for each, plus an engine build for every supported release.
  • Support section in the README and a contributing guide in English and Spanish.

Changed

  • The engine fixes, SHA-256 pins and version matrix moved to angelscript-engine (external/angelscript-engine). The engine builds run in their own workflow (engine-builds.yml) after a release is published and attach their assets to it, so a failing engine build no longer blocks the release.
  • The debugger core now comes from the angelscript-dap submodule (external/angelscript-dap).
  • Spanish README and third-party notices moved to docs/.

Fixed

  • Builds on Linux arm64: C++-only flags no longer reach the assembly sources.
  • Builds on macOS with the older engine releases: the clashing assembly labels are renamed in the extracted copy of the engine.
  • The CI built the engine releases only for macOS x64 (a matrix include overwrote the other targets), so the Windows setup had no engine builds to bundle; every engine now builds on all seven targets and the CI runs each one on a sample script.
  • The CLI links Winsock on Windows, so engine releases without a debugger (before 2.36) build there.
  • AngelScript 2.30.2 and earlier link on 64-bit Windows: the MASM call-convention file is added to the engine build.
  • Engine releases without native calls on arm64 (2.33 and earlier, and 2.35 and 2.36 on macOS) build in the engine's portable mode; add-ons that have no portable registration are left out of those builds.
  • AngelScript 2.35.1 builds with Clang (macOS, Linux with clang); the extracted copy takes the Clang branch that 2.36.0 added to WRAP_MFN_PR.
  • AngelScript 2.22.0 to 2.22.2, 2.23.0, 2.26.0 and 2.26.1 no longer return wrong float results on Linux x64: their call-convention source is taken from the next point release.

Full Changelog: v1.0.0...v1.1.0

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 24 Nov 23:52

First release.

Added

  • The angelscript command, also available as asc and angelscript-cli, runs AngelScript 2.39 scripts with arguments, relative includes and a compile-only mode.
  • Standard library add-ons, the print, println and getArgs functions, and TCP sockets: tcpConnect, tcpListen, TcpSocket and TcpListener.
  • Runnable examples in examples/ for files, folders, strings, dates, exit codes and TCP, covered by the test suite.
  • Debug Adapter Protocol sessions for VS Code.
  • A setup program for Windows (Inno Setup, with an optional PATH entry and an uninstaller), a .pkg for macOS and a .deb for Linux, built on every release and listed in SHA256SUMS.
  • Windows x64, Linux x64 and arm64, and macOS x64 and arm64 archives with SHA-256 checksums, and PowerShell and POSIX shell installers with offline installation and uninstall.
  • THIRD_PARTY_NOTICES.md with the licenses of AngelScript, the debugger core (angelscript-dap), cppdap and nlohmann/json, included in every package.
  • English and Spanish READMEs with terminal demonstrations and step-by-step installation screenshots.
  • The release is created automatically when the version in CMakeLists.txt has no tag yet.
  • The CLI builds against official AngelScript releases from angelcode.com, not only the bundled 2.39.0. scripts/engine-matrix.py downloads each release, checks its pinned SHA-256, builds and tests it; three one-line compatibility fixes are applied to the extracted copy only. docs/ENGINE_VERSIONS.md lists all 43 releases from 2.20.0, and all of them build: full support from 2.36.0 with the debugger, run and check for the releases that pass every test, and the rest partial with their causes.
  • The installers take --engine X.Y.Z (-Engine on Windows, or ANGELSCRIPT_ENGINE_VERSION) to install a build against another release side by side as angelscript-X.Y.Z. scripts/build-engine.py builds any official release from source. CI builds and packages 2.38.0, 2.37.0, 2.36.1, 2.35.1, 2.33.0 and 2.30.2 for every platform on main, and the release attaches them. The Windows setup program offers those builds on a components page, built from the CI artifacts (package-installer.ps1 -EngineDir).
  • examples/angelscript-cli.as.predefined and examples/angelscript.rules.json make AngelLSP check the examples with no unknown names. The README adds an animated terminal capture and a plain Command Prompt capture.
  • The Debug Adapter Protocol core comes from the angelscript-dap repository (a submodule), shared with the example project and the asdebugger Sven Co-op plugin. The assembly sources of the arm64 call convention no longer receive the C++ compatibility flags, and engine releases before 2.39 get their global asm labels prefixed in the extracted copy so they build on Clang.
  • 2.22.0 to 2.22.2, 2.23.0, 2.26.0 and 2.26.1 return wrong float results or crash on Linux x64 in their own as_callfunc_x64_gcc.cpp. The extracted copy takes that file (and as_callfunc.h for 2.22) from the next point release, so 2.23.0, 2.26.0 and 2.26.1 now pass every test; the 2.22 releases and the rest of the partial list (2.20.x, 2.21.0, 2.31.0) stay documented with their causes.
  • CONTRIBUTING.md with a Spanish version, a Support section and a list of related projects in the READMEs. The Spanish README, the third-party notices and the roadmap live in docs/.
  • angelscript --dump-predefined prints every type and function a script sees as an .as.predefined stub, for the engine the binary was built with (2.39.0 or later).