Releases: dlang/dub
Releases · dlang/dub
v1.38.1: Remove support for OMF, make MSCOFF the default
v1.38.0: Various performance enhancements
What's Changed
- Implement filesystem attributes and use
PackageManager.store
by @Geod24 in #2886 - merge stable by @ibuclaw in #2888
- Trivial: Simplify ensureDirectory by @Geod24 in #2889
- Change all references to std.file in commandline to FQN by @Geod24 in #2890
- update version to v1.37.0-rc.1 by @ibuclaw in #2892
- merge stable by @ibuclaw in #2894
- Remove abandoned registry mirrors. by @s-ludwig in #2900
- Speed up Package.getPackageConfigs by @atilaneves in #2902
- Improve the output when the subcommand is not found by @electricface in #2896
- Speed up module parsing with hand-written parser by @atilaneves in #2897
- Respect skipRegistry value from configuration files by @the-horo in #2903
- Fix glitches in testcases by @shoo in #2904
- [stable] Fix regression in module-declarations parser by @kinke in #2910
New Contributors
- @electricface made their first contribution in #2896
Full Changelog: v1.37.0...v1.38.0
v1.37.0: Improved `dub fetch`: recursive, multi-argument, project aware
What's Changed
- update version to v1.36.0-beta.1 by @ibuclaw in #2771
- Deprecate
Package.load
, usePackageManager.load
instead by @Geod24 in #2769 - Trivial: Document and refactor
Project.reinit
by @Geod24 in #2770 - platform: add support for LoongArch by @liushuyu in #2705
- Dub.loadPackage: Error out if no recipe is found by @Geod24 in #2772
- CommandLine: Type the user-provided string into its name / path component by @Geod24 in #2773
- Simplify PackageManager's Location.lookup by @Geod24 in #2775
- Trivial: Make PackageManager.load non-const by @Geod24 in #2776
- Revert "Simplify PackageManager's Location.lookup" by @Geod24 in #2778
- Testsuite: Add more structured paths by @Geod24 in #2777
- Only check if the Package is managed by the Location in lookup by @Geod24 in #2779
- CI: Re-enable LDC master by @Geod24 in #2781
- Silence a trivial deprecation when doing dub test by @Geod24 in #2782
- Deprecate Package JSON constructor by @Geod24 in #2784
- Fix #2706: Dub run ignores locally registered packages by @Geod24 in #2787
- fetch: Support multiple arguments, projects, recursive fetch by @Geod24 in #2786
- Revert "Move data part of dub.platform to dub.data" by @Geod24 in #2788
- Trivial: Document and improve Dub.runCustomInitialization by @Geod24 in #2789
- Add betterC probing for performance and for applications without drun… by @etcimon in #2753
- Deprecate system flag for registration, use cache instead by @Geod24 in #2791
- Trivial: Silence buggy deprecation by @Geod24 in #2792
- Build with -preview=in by @Geod24 in #2783
- Upgrade dependencies by @Geod24 in #2793
- Allow building deprecated modules without deprecation warnings by @CyberShadow in #2650
- Configy: Synchronize with upstream by @Geod24 in #2794
- Fix gdc build and test failures by @the-horo in #2795
- Trivial: Replace redundant variable rootpack by @Geod24 in #2797
- Trivial: Deprecate string overload of readPackageRecipe by @Geod24 in #2798
- Deprecate unused getSubPackagePath by @Geod24 in #2799
- Introduce PackageName, to fully type a package name by @Geod24 in #2801
- Trivial: Make PackageManager.addPackages protected by @Geod24 in #2800
- Simplify PackageManager.getPackagePath by @Geod24 in #2802
- Expand selections file handling to handle new versions by @Geod24 in #2803
- Adapt getPackagePath to PackageName API by @Geod24 in #2804
- Simplify DependencyResolver.getRawPackage by @Geod24 in #2805
- packagesuppliers/filesystem.d: Only glob versions of a package_id by @the-horo in #2727
- Let user $DFLAGS override build settings as much as possible by @the-horo in #2796
- Adapt SelectedVersions to PackageName API by @Geod24 in #2807
- Improve Dub.fetch API by @Geod24 in #2808
- Deprecate Package.getInternalSubPackage, simplify DepedencyResolver by @Geod24 in #2806
- Trivial: Pass a PackageName to loadSCMPackage by @Geod24 in #2812
- Trivial: Align PackageManager's lookup signatures by @Geod24 in #2811
- Trivial: Adapt fixPathDependency to PackageName API by @Geod24 in #2810
- Adapt PackageSuppliers to PackageName API by @Geod24 in #2809
- Adapt dub.recipe.sdl to PackageName API by @Geod24 in #2813
- Adapt dub.recipe.json to PackageName API by @Geod24 in #2814
- Remove PackageName alias this to toString by @Geod24 in #2815
- Trivial: Add 'in' on a parameter by @Geod24 in #2816
- Adapt loadSCMPackage to PackageName API by @Geod24 in #2817
- Adapt PackageManager.get[Best]Package to PackageName API by @Geod24 in #2819
- Improve unittest framework to have a virtual FS by @Geod24 in #2820
- Do not allow for removal of subpackages by @Geod24 in #2824
- Trivial: Clean up temporary variable in Dub.fetch by @Geod24 in #2823
- Re-add CodeCov support by @Geod24 in #2825
- Trivial: Fix #2774 - Color codes on windows terminal by @MrcSnm in #2826
- Remove internal mentions to Travis by @Geod24 in #2827
- CI: Move single checks to Github, remove dead code by @Geod24 in #2828
- Build the tests and binary with -cov on POSIX by @Geod24 in #2829
- merge stable by @ibuclaw in #2833
- Trivial: Slightly simplify PackageManager.store by @Geod24 in #2834
- update version to v1.36.0 by @ibuclaw in #2835
- Update configy to the latest HEAD by @Geod24 in #2837
- Adapt DependencyResolver to PackageName API by @Geod24 in #2838
- Add a CI step to upload assets on release creation by @Geod24 in #2839
- Make 'Dependency.init' invalid and align Any/Invalid property by @Geod24 in #2842
- CLI: Simplify extractCommandNameArgument by @Geod24 in #2844
- CLI: Slightly reduce memory allocations by @Geod24 in #2843
- CI: Run all tests when coverage is enabled by @Geod24 in #2845
- Fix #2840: Build collision for single-package and FILE_FULL_PATH by @Geod24 in #2841
- Trivial: Make TestDub.ProjectPath a NativePath by @Geod24 in #2846
- Tests: Move root FSEntry from PackageManager to TestDub by @Geod24 in #2847
- Allow better dependency injection on PackageManager's SCM operation by @Geod24 in #2848
- PackageManager: Move addPackages inside loadGitPackage by @Geod24 in #2850
- Tests: Add the ability for TestDub to use an initialized filesystem by @Geod24 in #2849
- Tests: Simplify loadSCMPackage implementation by @Geod24 in #2852
- Upgrade checkout and codecov to latest version by @Geod24 in #2858
- Make all overloads of download private by @Geod24 in #2860
- Tests: Fix writeFile implementation with vibe-d by @Geod24 in #2857
- Use the proper constructor for PackageDependency by @Geod24 in #2862
- Clear up unprinted deprecation for overrides by @Geod24 in #2861
- Hoist imports and remove versioning in FilesystemPackageSupplier by @Geod24 in #2859
- Tests: Use TestDub FSEntry constructor for more accurate tests by @Geod24 in #2856
- Remove an unused JSON serialization call by @Geod24 in #2863
- Properly fix issue #2691 by reverting to the original scanning behavior by @s-ludwig in #2865
- Move writing selections file to PackageManager by @Geod24 in #2864
- Trivial: Simplify PackageManager's loadInternal by @Geod24 in #2866
- Load dub.selections.json in unittest by @Geod24 in #2868
- Introduce readText and make stripUTF8BOM private by @Geod24 in #2869
- Test registry: Store version separate from Package by @Geod24 in #2871
- Tests: FSEntry.writeFile write to wrong directory by @Geod24 in #2870
- Remove FileInfo.timeCreated by @Geod24 in #2873
- Merge both TestDub constructors by @Geod24 in #2874
- Test: Move writePackageFile to UFCS, better document by @Geod24 in #2875
- Make FSEntry const and scope correct by @Geod24 in #2877
- Tests: Remove FSEntry.this dependency on TestDub by @Geod24 in #2878
- Allow tests to call customCachePaths by @Geod24 in #2872
- Introduce FSEntry.removeFile, FSEntry.removeDir, refactor FSEntry.writeFile by @Geod24 in https://github.com/dl...
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