diff --git a/changelog/addcommand.dd b/changelog/addcommand.dd deleted file mode 100644 index 5401ccc..0000000 --- a/changelog/addcommand.dd +++ /dev/null @@ -1,30 +0,0 @@ -Add Command - -The `add` command adds a dependency to the dub.json/dub.sdl recipe file. - -Running `dub add vibe-d` queries the latest version for vibe-d from the -registry, then rewrites your recipe file with the new dependency added. - -dub.json: ------- - "dependencies": { - "vibe-d": "~>X.Y.Z" - } ------- - -dub.sdl: ------- -dependency "vibe-d" version="~>X.Y.Z" ------- - -It is also possible to add multiple packages at once and explicitly add a -simple $(LINK2 https://code.dlang.org/package-format?lang=json#version-specs,version specification) -for some of them. - -For example the command `dub add vibe-d='~>0.8.2' mir-algorithm=3.1.21` would -add the given 2 dependencies to the recipe file without querying the registry. - -Packages with and without version-specifier can be mixed in a single invocation. - -The can also be used to overwrite existing dependencies of the same name with -different version specifications. diff --git a/changelog/dubEnvVar.dd b/changelog/dubEnvVar.dd deleted file mode 100644 index b27a8cc..0000000 --- a/changelog/dubEnvVar.dd +++ /dev/null @@ -1,13 +0,0 @@ -dub now supports `$DUB` variable - -With this release, one can call dub from build commands in the following way: ------- - // dub.sdl: - preBuildCommands "$DUB run --single somebuildscript.d" ------ -This is useful if dub is not in the `$PATH`, or if several versions of dub are installed. - -`$DUB` is also accessible as environment variable in the build commands processes. - -`$DUB` points to the running executable, unless it is used as a library. -In such case, `$DUB` will resolve to the first dub executable found in `$PATH`. diff --git a/changelog/pre-post-run-commands.dd b/changelog/pre-post-run-commands.dd deleted file mode 100644 index a9fc6b9..0000000 --- a/changelog/pre-post-run-commands.dd +++ /dev/null @@ -1,6 +0,0 @@ -Pre/Post run commands added - -DUB now supports commands preRunCommands which are executed before the target run -and postRunCommands which are executed after the target run. -Environment variable DUB_TARGET_EXIT_STATUS contains the target executable call status -and is available in postRunCommands. \ No newline at end of file diff --git a/changelog/shebang-without-d-extension.dd b/changelog/shebang-without-d-extension.dd deleted file mode 100644 index 7e9b33d..0000000 --- a/changelog/shebang-without-d-extension.dd +++ /dev/null @@ -1,6 +0,0 @@ -Shebang without .d extension - -Dub single-file packages e.g. `app.d` can now be called without .d extension. -In addition to `dub app.d --param` you can call `dub app --param`. - -Also files without .d extension are supported now as single-file packages. \ No newline at end of file diff --git a/changelog/sortJson.dd b/changelog/sortJson.dd deleted file mode 100644 index fd3dc54..0000000 --- a/changelog/sortJson.dd +++ /dev/null @@ -1,3 +0,0 @@ -Sort JSON - -JSON files are now sorted before being written to dub.json. This is to prevent the order of the JSON properties from changing when dub.json is updated. diff --git a/changelog/version-identifier-filter.dd b/changelog/version-identifier-filter.dd deleted file mode 100644 index 57b8269..0000000 --- a/changelog/version-identifier-filter.dd +++ /dev/null @@ -1,54 +0,0 @@ -Added experimental feature to improve build cache efficiency - -Using version identifiers to configure certain features can often lead to -unnecessary rebuilds of dependencies that don't use those version -identifiers. In order to improve the build cache efficiency, dub gained a new -experimental `--filter-versions` switch. - -When `--filter-versions` is passed to any build, test, or generate command, dub -will grep for all the version identifiers packages actually use and only apply -those during building. This allows for example to reuse a cached build for a -library between two applications using different version identifiers when the -library isn't using any of those itself. - -The following regular expressions used to grep for version identifiers. ---- -enum verRE = ctRegex!`(?:^|\s)version\s*\(\s*([^\s]*?)\s*\)`; -enum debVerRE = ctRegex!`(?:^|\s)debug\s*\(\s*([^\s]*?)\s*\)`; ---- - -For packages that use version identifiers in mixins or auto-generated sources, -the list of applicable version identifiers can be specified explicitly in the -package file. - -dub.json: ---- -"-versionFilters": ["Have_vibe_d"] -"-versionFilters-posix": ["UseUnixSockets", "UseMMap"] -"-debugVersionFilters": ["ValidateRequests"] ---- -dub.sdl: ---- -x:versionFilters "Have_vibe_d" -x:versionFilters "UseUnixSockets" "UseMMap" platform="posix" -x:debugVersionFilters "ValidateRequests" ---- - -Note that the inferred version identifiers are cached and grepping is generally -very fast, so explicitly specifying version identifiers should only be used if -necessary. - -Also note that specifying either of versionFilters or debugVersionFilters will -disable inference for both of them. - -The reservered version identifier none can be used for packages that don't use -any version identifiers or debug version identifiers at all. - -dub.json: ----- -"-versionFilters": ["none"] ----- -dub.sdl: ----- -x:debugVersionFilters "none" -----