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