Skip to content

Releases: dlang-community/setup-dlang

v2.0.0

30 May 20:03
0a7469b
Compare
Choose a tag to compare

Breaking Changes

  • the DC variable now has the full path to the compiler instead of just the name.

What's Changed

  • Refactor code and implement more version formats for dmd and ldc and support gdc by @the-horo in #77
    • gdc can now be installed through this action on linux runners (Debian/Ubuntu only, e.g. the official github runners)
    • you can now install a version relative to the latest version, e.g. dmd^3 is the 3rd latest DMD
    • the version can now omit the patch to get the latest ones

New Contributors

Full Changelog: v1.4.0...v2.0.0

v1.4.0

20 Feb 13:40
Compare
Choose a tag to compare

What's Changed

New Contributors

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

v1.3.0

15 Oct 00:42
43589c2
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.2.1...v1.3.0

v1.2.1

26 Sep 12:38
Compare
Choose a tag to compare

What's Changed

  • Failed HTTP requests will now attempt to retry 3 times by @WebFreak001 in #54

Full Changelog: v1.2.0...v1.2.1

v1.2.0: Standalone dub support

19 Jul 21:46
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.1.1...v1.2.0

v1.1.1: std.net.curl and dmd nightly fixes

15 Jul 17:54
763d869
Compare
Choose a tag to compare
  • Change Windows DMD path handling to fix std.net.curl usage (763d869)
  • Resolve detected npm vulnerabilities (c910ec8)
  • Support new DMD nightly location (8ae9872)

v1.1.0: Bundled distribution via @vercel/ncc

25 Apr 20:30
Compare
Choose a tag to compare

This release contains only internal changes. The most notable is that now instead of including the whole node_modules folder, only a single file JavaScript file is distributed, which the result of compiling the TypeScript source code and bundling all run-time dependencies.


All (Internal) changes since v1.0.6:

  • [.editorconfig]: Enable trim_trailing_whitespace

  • [package.json]: Add @vercel/ncc@^0.27.0 dev dependency

  • [build]: Replace node_modules with a single-file bundle produced by ncc

    Detailed description of changes:

    • Update the build script in package.json so that it builds and "links" the TypeScript code along with all of its (transitive) dependencies in a single index.js file using @vercel/ncc.

    • Add / copy scripts/{Invoke-7zdec.ps1,externals/7zdec.exe} from node_modules/@actions/tool-cache/scripts as its needed by the aforementioned dependency on Windows and it used to be included in the node_modules folder which will be deleted by the next commit.

    • Change the main file in package.json and action.yml to dist/index.js. ncc allows only the out dir can be specified - the filename is always index.js.

    • Add lib/ and dist/* to .gitingore, but exclude dist/index.js from the list so it will be committed.

    • Delete the lib/ folder

    • Add the dist/index.js file produced by running npm run build.

    • Add a .gitattributes file in order to set mark dist/** as binary for git diff and merge purposes. A wildcard is used as a sourcemap file could also be included later if necessary, which should also be considered a "binary" file.

    • Update .gitignore to the latest version from here: https://github.com/github/gitignore/blob/master/Node.gitignore

    • Set the target in tsconfig.json to es2017, which is supported by current Node.js version - v12, as should make for cleaner generated "down-leveled" code as it has native async/await suppor

  • [node_modules]: Delete the folder from git

  • [package.json]: Upgrade dependencies to their latest available versions

  • [ci]: Verify that dist/index.js is correctly generated

  • [package.json]: Bump the version to 1.1.0
    And also update the description field.

v1.0.6: Remove Let's Encrypt certificates introduced in v1.0.4

19 Jan 16:03
cf2096d
Compare
Choose a tag to compare

Following dlang.org outage on 2021-01-10 & 2021-01-11, a workaround was introduced to avoid CI outages.
The workaround was importing Let's Encrypt intermediate certificates (X1, X2, X3, R3, R4).
Since the problem has been resolved upstream, this workaround has been removed.

v1.0.5: Dependency update

11 Jan 11:15
0f1b86e
Compare
Choose a tag to compare

This release simply update the action's dependencies to their latest release.
In particular, the network fetching code will now retry harder on network issues.

v1.0.4: Work around TLS issue with dlang.org

11 Jan 09:17
Compare
Choose a tag to compare

Currently, https://dlang.org/d-keyring.gpg might throw a TLS verification error because the server does not bundle intermediate certificates.
This causes all pipeline to temporarily fail, until the configuration error is resolved.
This release works around this issue by importing the intermediate certificate directly. The workaround will be removed once the issue is resolved.