Releases: dlang-community/setup-dlang
v2.0.0
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
What's Changed
- Get master CI green: Disable dub-latest and bump minimum DMD by @Geod24 in #72
- Update actions/setup-node from v1 to v4 by @Geod24 in #73
- Upgrade action to Node 20 by @Geod24 in #74
- Enable arm64 arch with LDC by @JohanEngelen in #71
- Move actions/checkout to v4 by @Geod24 in #75
New Contributors
- @JohanEngelen made their first contribution in #71
Full Changelog: v1.3.0...v1.4.0
v1.3.0
What's Changed
- Upgrade action to use node16 by @Geod24 in #61
- Update downloads.dlang.org links to use https by @ibuclaw in #60
- Use osx-universal ldc2 builds on macOS by @LunaTheFoxgirl in #59
New Contributors
- @ibuclaw made their first contribution in #60
- @LunaTheFoxgirl made their first contribution in #59
Full Changelog: v1.2.1...v1.3.0
v1.2.1
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
What's Changed
- generate source map by @WebFreak001 in #53
- fix git diff in actions by @WebFreak001 in #55
- Fix #30: Allow installing a specific version of dub by @Geod24 in #57
Full Changelog: v1.1.1...v1.2.0
v1.1.1: std.net.curl and dmd nightly fixes
v1.1.0: Bundled distribution via @vercel/ncc
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 byncc
Detailed description of changes:
-
Update the
build
script inpackage.json
so that it builds and "links" the TypeScript code along with all of its (transitive) dependencies in a singleindex.js
file using@vercel/ncc
. -
Add / copy
scripts/{Invoke-7zdec.ps1,externals/7zdec.exe}
fromnode_modules/@actions/tool-cache/scripts
as its needed by the aforementioned dependency on Windows and it used to be included in thenode_modules
folder which will be deleted by the next commit. -
Change the
main
file inpackage.json
andaction.yml
todist/index.js
.ncc
allows only the out dir can be specified - the filename is alwaysindex.js
. -
Add
lib/
anddist/*
to .gitingore, but excludedist/index.js
from the list so it will be committed. -
Delete the
lib/
folder -
Add the
dist/index.js
file produced by runningnpm run build
. -
Add a
.gitattributes
file in order to set markdist/**
asbinary
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
intsconfig.json
toes2017
, 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 thedescription
field.
v1.0.6: Remove Let's Encrypt certificates introduced in v1.0.4
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
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
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.