Releases: dlang/dub
Releases · dlang/dub
v1.36.0
What's Changed
- update version to v1.35.0-beta.1 by @ibuclaw in #2711
- update version to v1.35.0-rc.1 by @ibuclaw in #2715
- merge stable by @ibuclaw in #2720
- merge stable by @ibuclaw in #2726
- Trivial: Clear up some trailing whitespace by @Geod24 in #2731
- Move application code for static ctor in main module by @Geod24 in #2730
- Remove unused iterateDirectory(string) by @Geod24 in #2729
- Trivial: Remove dead existsFile import by @Geod24 in #2728
- Trivial: Simplify checkDubRequirements by @Geod24 in #2732
- Deprecate unused packageInfoFilenames by @Geod24 in #2733
- Change PackageSupplier interface to accept VersionRange by @Geod24 in #2734
- Remove inconsistent error on missing subpackage path by @Geod24 in #2737
- Trivial: Simplify some deprecated code by @Geod24 in #2736
- Remove dub.internal.vibecompat.file : listDirectory by @Geod24 in #2738
- Remove logging from dub.dependency by @Geod24 in #2743
- Move data part of dub.platform to dub.data by @Geod24 in #2744
- Trivial: Remove dead import from dub.dependency by @Geod24 in #2742
- Trivial: Reduce import scope in dub.recipe.selection by @Geod24 in #2741
- Move dmd version parser to packagerecipe by @Geod24 in #2745
- Deprecate string-as-version PackageManager.getBestPackage overload by @Geod24 in #2748
- PackageManager: Make field protected, not private by @Geod24 in #2749
- Dub: Make determineDefaultCompiler configurable by @Geod24 in #2750
- Trivial: Move TestDub behind a version (unittest) by @Geod24 in #2751
- Change platform dependency to use a VersionRange by @Geod24 in #2746
- Refactor loadConfig to not rely on class state by @Geod24 in #2757
- Trivial: Merge two related unittest in dub package by @Geod24 in #2756
- Trivial: Remove a dependency to std.path by @Geod24 in #2755
- Allow to load dub.selections.json before Project instantiation by @Geod24 in #2754
- Trivial: Make
TestDub
non-final by @Geod24 in #2758 - Add unittest framework and some dependency tests by @Geod24 in #2759
- Test framework: Return fully typed TestPackageManager from TestDub by @Geod24 in #2761
- Fix #2696: Segfault with bad dub.sdl by @Geod24 in #2762
- Remove fallback to ~master on dub fetch, fix #2679 by @Geod24 in #2763
- Deprecate Project.packageManager by @Geod24 in #2764
- Test framework: Add documentation and an example UT by @Geod24 in #2760
- merge stable by @ibuclaw in #2768
- [stable] Fix #2691: Use same structure for managed and unmanaged path by @Geod24 in #2780
Full Changelog: v1.35.1...v1.36.0
v1.35.1
v1.35.0
What's Changed
- merge stable by @ibuclaw in #2671
- Fix failure of test suite on POSIX by @rtbo in #2648
- Don't wastefully execute everything via a shell by @CyberShadow in #2674
- merge stable by @ibuclaw in #2678
- Implemented recipe files for dub #2684 by @MrcSnm in #2685
- add --deep flag to
dub build
by @rtbo in #2647 - add the build ID in TargetDescription by @rtbo in #2644
- add changelog entry for #2647 by @WebFreak001 in #2688
- CI: Enable test/run-unittest.sh on Windows by @kinke in #2689
- fix typo in cImportPaths dub describe data by @WebFreak001 in #2693
- improve github CI definitions by @WebFreak001 in #2694
- add
dub describe --data=configs,builds
by @WebFreak001 in #2692 - interactively query for license, suggest SPDX licenses by @WebFreak001 in #1902
- Update isBasicType usage for Phobos PR 8838 by @pbackus in #2710
New Contributors
Full Changelog: v1.34.0...v1.35.0
v1.34.0
What's Changed
- update version to v1.33.0-beta.1 by @ibuclaw in #2635
- update version to v1.33.0-rc.1 by @ibuclaw in #2641
- Fix flags Json serialization by @rtbo in #2643
- Cache json db by @rtbo in #2642
- support specifying --d-versions by @WebFreak001 in #2646
- merge stable by @ibuclaw in #2653
- update version to v1.33.1-beta.1 by @ibuclaw in #2661
- update version to v1.33.1 by @ibuclaw in #2669
- dub.generators.generator: Don't create targetPath dir with --temp-build by @CyberShadow in #2652
Full Changelog: v1.33.1...v1.34.0
v1.33.0
What's Changed
- Add collection of c sources and headers to dub by @cschlote in #2544
- update version to v1.32.0-beta.1 by @ibuclaw in #2609
- Don't depend on the whole of Vibe.d for the test_registry by @Geod24 in #2612
- Upgrade dependencies by @Geod24 in #2613
- Make all static library exports contribute to dlls on Windows by @rikkimax in #2614
- Revert "Make all static library exports contribute to dlls on Windows" by @Geod24 in #2616
- PackageManager: Store packages hierarchically, by version by @Geod24 in #2610
- add pr_info GitHub actions run by @WebFreak001 in #2586
- try to fix pr_info permissions problem by @WebFreak001 in #2621
- fix pr_info_post file paths by @WebFreak001 in #2622
- update version to v1.32.0-rc.1 by @ibuclaw in #2625
- merge stable by @ibuclaw in #2628
- update version to v1.32.1-beta.1 by @ibuclaw in #2631
- update version to v1.32.1 by @ibuclaw in #2634
New Contributors
Full Changelog: v1.32.1...v1.33.0
v1.32.1
Full Changelog: v1.32.0...v1.32.1
v1.32.0
What's Changed
- Implement --color=auto|always|never, fix #2410 by @WebFreak001 in #2552
- update version to v1.31.0-beta.1 by @ibuclaw in #2555
- Remove GeneratorSettings.direct as it is never set by @Geod24 in #2559
- Fix various DDOC warnings by @Geod24 in #2558
- Don't assume the cache path is relative to CWD by @Geod24 in #2557
- replace std.variant with std.sumtype by @WebFreak001 in #2550
- add markdown documentation generator to gen_man.d by @WebFreak001 in #2563
- update version to v1.31.0-rc.1 by @ibuclaw in #2565
- Fix typo in subpackage license warning by @zyedidia in #2576
- merge stable by @ibuclaw in #2578
- fix man page generator by @WebFreak001 in #2571
- fix typo(s) by @WebFreak001 in #2564
- Add betterC support - fixes #1636 by @etcimon in #2581
- merge stable by @ibuclaw in #2591
- Add OpenBSD package to README.md by @ibara in #2592
- Fix #2574: Suggest alternative spelling when a command is mistyped by @elvodqa in #2593
- improve warning messages, especially with ~branch by @WebFreak001 in #2585
- reintroduce dmd-latest to CI runner by @WebFreak001 in #2594
- merge stable by @ibuclaw in #2595
- make build names much smaller by @WebFreak001 in #2589
- Make getDUBExePath returns a NativePath by @Geod24 in #2604
New Contributors
Full Changelog: v1.31.1...v1.32.0
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...