Releases: dlang/dub
Releases · dlang/dub
v1.31.1
What's Changed
- Make
dub run --root=x
default app CWD in dub CWD by @WebFreak001 in #2583 - Fix path-based dependencies in sub-packages from path-based dependencies by @WebFreak001 in #2588
- PackageManager: Don't use deprecated interface to PackageOverride by @Geod24 in #2584
Full Changelog: v1.31.0...v1.31.1
v1.31.0
What's Changed
- Return null instead of empty array by @skoppe in #2492
- GH CI: Update runner OS and actions/checkout version by @Geod24 in #2319
- Restore compatibility with v2.093 by @Geod24 in #2494
- merge stable by @ibuclaw in #2495
- Deprecate yet another dub.remove overload using force_remove by @Geod24 in #2497
- Deprecate
PackageManager.refresh(true)
, only exposerefresh()
by @Geod24 in #2498 - Document PackageManager.getBestPackage, deprecate Dependency overload by @Geod24 in #2499
- PackageManager: Load packages lazily on dub build by @Geod24 in #2500
- Path: Add missing else clause on version statement by @Geod24 in #2507
- Minor paths improvements (remove unused code) by @Geod24 in #2508
- Make the test runner code more readable by @Geod24 in #2510
- Remove Vibe.d HTTP support / library-nonet by @Geod24 in #2509
- Fix #2512: Remove hard dependency on libcurl by @Geod24 in #2518
- Dub: Use removeFile instead of std.file.remove by @Geod24 in #2516
- Unify reading and writing files under a single API by @Geod24 in #2517
- Move existsDirectory next to existsFile by @Geod24 in #2520
- merge stable by @ibuclaw in #2523
- Move foreign code from global scope to dub.internal by @s-ludwig in #2525
- Fix add-path based development workflow by @s-ludwig in #2526
- merge stable by @ibuclaw in #2529
- CI: Use v2.100.1 temporarily instead of latest (2.101) by @Geod24 in #2532
- Replace all instances of mkdirRecurse with ensureDir by @Geod24 in #2530
- Add nothrow attributes to dub.semver module by @Geod24 in #2531
- Revert "Remove Vibe.d HTTP support / library-nonet" by @s-ludwig in #2533
- Improve dub init custom template docs by @WebFreak001 in #2536
- Fixed dub init docs by @WebFreak001 in #2537
- Rename localRepository to userPackages by @Geod24 in #2539
- Move computeBuildID outside of BuildGenerator by @Geod24 in #2541
- Move user & system settings definition to its own module by @Geod24 in #2540
- CI: Temporarily disable LDC master by @Geod24 in #2543
- Use a central build cache for all build artifacts by @Geod24 in #2542
- CI: Add test for building on Alpine Linux / Musl by @Geod24 in #1998
- Reduce dependency on
std.file
by @Geod24 in #2547 - Reduce dependency on the current working directory by @WebFreak001 in #2562
New Contributors
Full Changelog: v1.30.0...v1.31.0
v1.30.0: Major refactoring, better JSON support, colors...
What's Changed
- merge stable by @MartinNowak in #2242
- merge stable by @MartinNowak in #2245
- merge stable by @MartinNowak in #2250
- Fix #1856 - enable building the special test runner config by @kinke in #2218
- Add support for coverage at compile-time (CTFE) by @nordlow in #2256
- Merge stable by @kinke in #2265
- Fix issue 2258 where dependency target binaries are not copied by @rikkimax in #2259
- commandline: Refactor and streamline special syntaxes by @Geod24 in #2264
- Build{Options,Requirements}: Use a common templated struct by @Geod24 in #2266
- Fix #2234 make copies writable by @veelo in #2253
- Dependency: Isolate SemVer version logic in its own struct by @Geod24 in #2271
- Trivial: Re-use findPackageFile in commandline module by @Geod24 in #2274
- sdl: Do not use deprecated aliases by @Geod24 in #2275
- sdl/json: Do not create dummy dependencyBuildSettings entry by @Geod24 in #2276
- Upgrade dub.selections.json by @Geod24 in #2278
- Move fix for issue 711 outside of JSON/SDL parser by @Geod24 in #2277
- Allow "dub :subpackage" shortcut syntax to run a certain sub package by @s-ludwig in #2283
- Don't ignore targetName in non-executable unittest configurations by @kinke in #2289
- Add a command line option for upgrading all sub packages. by @s-ludwig in #2285
- merge stable by @ibuclaw in #2295
- Fix dub_test_root imports for non-all-at-once compilations by @kinke in #2288
- Project: Remove dead m_packageSettings var and related func by @Geod24 in #2297
- Avoid needless string concat in log calls by @Geod24 in #2298
- Merge stable by @kinke in #2299
- Project.addTestRunnerConfiguration(): Don't accidentally modify base config's
buildSettings
by @kinke in #2300 - Deprecate once-called redundant getLatestPackage by @Geod24 in #2301
- Remove leading hyphen in platform specs by @Geod24 in #2279
- getDefaultConfiguration(): Accept a const BuildPlatform argument by @kinke in #2304
- Dependency: Move
spec
/ git ref inside ofRepository
by @Geod24 in #2306 - PackageManager: Use PackageRecipe, not JSON, for dummy object by @Geod24 in #2307
- Move some version-only constants and helpers in VersionRange by @Geod24 in #2305
- Dependency: Improve attribute annotation and prepare for SumType by @Geod24 in #2308
- Trivial: Remove an always-true if by @Geod24 in #2313
- Various code simplification around
dub.selections.json
by @Geod24 in #2311 - SelectedVersions: Add Repository to overload set by @Geod24 in #2314
- Deprecate
PackageManager.loadSCMPackage
& otherDependency
-related refactoring by @Geod24 in #2312 - Deprecate duplicated JSON serialization for Dependency by @Geod24 in #2315
- Dependency: Change format for path-based dependencies by @Geod24 in #2316
- Dependency: Remove top-level safe, apply to decl by @Geod24 in #2317
- Trivial: Remove a leftover debug statement by @Geod24 in #2320
- sdl: Simplify Dependency parsing by @Geod24 in #2318
- Fix missing deserialization of fileVersion from dub.selections.json by @kinke in #2321
- Suppress
version
for path-based deps in Dependency.toJson() by @kinke in #2322 - commandline: Catch Exception, not Throwable by @Geod24 in #2323
- Refactor
Dependency
to usestd.sumtype
by @Geod24 in #2302 - Upgrade dub.selections.json with vibe-d v0.9.5 by @Geod24 in #2325
- Fix missing sanitizing of subpackage targetTypes by @kinke in #2326
- test/version-spec: Fix broken pipe issue by @Geod24 in #2327
- Fail fast on Windows. by @veelo in #2330
- Trivial: Streamline code when package not found in project by @Geod24 in #2332
- CI: Switch to macOS-11 as 10.15 will be removed Aug 30th by @Geod24 in #2334
- Trivial: Deduplicate GeneratorSettings initialization by @Geod24 in #2335
- Trivial: Fix syntax for Params documentation in packagesuppliers by @Geod24 in #2337
- Refactor and document private struct
SpecialDirs
by @Geod24 in #2336 - Do not call Project.reinit from commandline by @Geod24 in #2339
- Trivial: Deprecate Dub.remove(Package, bool) by @Geod24 in #2342
- Remove long-deprecated 'install' and 'uninstall' command by @Geod24 in #2340
- Move some package manager duties to
PackageManager
by @Geod24 in #2341 - Use
configy
to readdub.selections.json
by @Geod24 in #2310 - use json.get directly instead of casting by @WebFreak001 in #2344
- Commandline: Do not duplicate GeneratorSettings fields by @Geod24 in #2346
- CI: Fix script for issue1505 by @Geod24 in #2309
- Colored output by @veelo in #2268
- Use Configy to read user settings (
settings.json
) too by @Geod24 in #2343 - Move environment read outside of DependencyResolver by @Geod24 in #2351
- Support escaped forward slashes in YAML parser by @Geod24 in #2349
- settings/selections: Only warn on unknown keys, add changelog by @Geod24 in #2352
- Some
PackageManager
cleanup by @Geod24 in #2353 - Trivial: Update comments on PackageManager by @Geod24 in #2354
- Deprecate Dependency.matchesAny in favor of VersionRange by @Geod24 in #2357
- Dependency: Ensures call to version_ are on version-containing object by @Geod24 in #2356
- Expose a
visit
method forDependency
by @Geod24 in #2358 - Default
dub init
to SDL by @WebFreak001 in #2361 - Revert "Default
dub init
to SDL" by @WebFreak001 in #2362 - Also add options when we combine buildsettings by @ryuukk in #2363
- Minor cleanup between the
Dub
andPackageManager
interface by @Geod24 in #2364 - made return codes more consistent + improved man page format by @WebFreak001 in #2365
- Remove a few usages of old version-spec approach from test-suite by @Geod24 in #2370
- Integrate Configy colored output with dub's by @Geod24 in #2367
- Configy: Implement soundexer-based key-matching in strict mode by @Geod24 in #2368
- Remove
Dub.updatePackageSearchPath
by @Geod24 in #2369 - Improve
PackageOverride
API, deprecateDependency.versionSpec
by @Geod24 in #2366 - PackageManager: Move some code to
Location
instead of nested function by @Geod24 in #2371 - Improve searchPackages naming+docs by @WebFreak001 in #2372
- improve some output coloring by @WebFreak001 in #2350
- PackageManager: Move some
Location
-specific routines toLocation
by @Geod24 in #2373 - Dub.fetch: Deprecate Dependency overload, only accept Version[range] by @Geod24 in #2374
- Project: Use Dependency.visit instead of if/else by @Geod24 in #2376
- PackageManager.getBestPackage: Introduce Version[Range] overloads by @Geod24 in #2375
- Configy: Synchronize with upstream changes by @Geod24 in #2378
- Add
Flags.fromYAML
and other minor fixes by @Geod24 in #2379 - Minor: Replace a foreach with a nested function by @Geod24 in #2380
- Fix #2383 by @lempiji in #2384
- Fix x86 OMF build support by @0xEAB in #2389
- Configy: Move dub-specific extension tests to their own module by @Geod24 in #2392
- Us...
v1.29.2: Match versions of cached packages exactly
What's Changed
Full Changelog: v1.29.1...v1.29.2
v1.29.1
v1.29.0
What's Changed
- Removes dynamicLibrary being built as staticLibrary for targets other than OMF. by @rikkimax in #2211
- move command variable substitution to execution by @WebFreak001 in #2217
- Fix interactive run-unittest.d by @WebFreak001 in #2219
- merge stable by @MartinNowak in #2221
- fix: parse version from filesystem supplier correctly by @Panke in #2220
- merge stable by @MartinNowak in #2225
- add CompilerInvocationException by @WebFreak001 in #2226
- Adapt determinePlatform to the new defaults for Win32 by @MoonlightSentinel in #2227
- Define the $DUB_BUILD_PATH variable. by @veelo in #2228
- merge stable by @MartinNowak in #2231
- Add link to dub-docs. by @veelo in #2232
- Remove travis-ci badge from README.md by @ibuclaw in #2233
- Annotate escaping reference. by @veelo in #2237
- Posix: use /etc/dub/settings.json if in /usr by @WebFreak001 in #2203
- Add -fno-druntime to GDC BuildOptions; it is the betterC flag. by @ibara in #2186
- Fix #2238 - Renew source files after preGenerateCommands by @atilaneves in #2239
- Inject source file (replaces #2207) by @rikkimax in #2240
New Contributors
Full Changelog: v1.28.0...v1.29.0
v1.28.0
What's Changed
- Replace deprecated keyword
body
withdo
and avoid DIP-1000 scope errors by @nordlow in #2164 - fix Issue 1645: the DFLAGS env variable is not handled when --build is passed by @nordlow in #2169
- Forward dub dustmite parameter --strategy by @nordlow in #2173
- Forward dub dustmite parameter -j by @nordlow in #2174
- Draft: Put dustmite flags just after dustmite command and add --trace flag by @nordlow in #2175
- merge stable by @MartinNowak in #2162
- merge stable by @MartinNowak in #2178
- merge stable by @MartinNowak in #2179
- Expand tilde in --root path by @nordlow in #2181
- Fix build setting inheritance by @omerfirmak in #2182
- Windows: Copy .pdb files by @kinke in #2189
- Fix --data-list error message with dub describe by @WebFreak001 in #2195
- add UnsupportedArchitectureException & UnknownCompilerException by @WebFreak001 in #2196
- fix CLI --print-builds implementation by @WebFreak001 in #2197
- use dlang-community/setup-dlang by @WebFreak001 in #2202
- Fix CI issue2051 failing. by @rikkimax in #2208
Full Changelog: v1.27.0...v1.28.0
v1.27.0
What's Changed
- merge stable by @MartinNowak in #2132
- Add environment variables to BuildSettings by @shoo in #2121
- merge stable by @MartinNowak in #2138
- Fix dependency build settings flooding dflags by @omerfirmak in #2139
- merge stable by @MartinNowak in #2140
- Adds quotation marks to error message by @denizzzka in #2148
- Generate paths relative to visuald project files by @JudgeFish in #2150
- merge stable by @MartinNowak in #2152
- merge stable by @MartinNowak in #2154
- Fix #2141 - When used as a library, the default compiler is different from the expected. by @shoo in #2158
- Remove line 'Exclusing package.d blah...' from default dub build by @p0nce in #2157
- RegistryPackageSupplier.genPackageDownloadUrl added by @denizzzka in #2156
New Contributors
- @JudgeFish made their first contribution in #2150
Full Changelog: v1.26.1...v1.27.0
v1.26.1
v1.26.0
What's Changed
- merge stable by @MartinNowak in #2114
- Fix single file package dynamic library by @andre2007 in #2112
- fix #1867 - Add lowmem for settings by @shoo in #1905
- Fix #2046 - Dependencies specified with a path ignore optional settings by @shoo in #2103
- Replacing rununittest.sh by @drug007 in #2109
- merge stable by @MartinNowak in #2115
- merge stable by @MartinNowak in #2117
- Only show package.d warning once by @dkorpel in #2131
- [stable] LDC: Recognize
-gcc
as linker D flag by @kinke in #2135
New Contributors
Full Changelog: v1.25.0...v1.26.0