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 #2879
- Test: Directly mock writeFile/existsFile from PackageManager by @Geod24 in #2880
- Trivial: Upgrade remaining actions/checkout to v4 by @Geod24 in #2882
- Remove the need for intermediate
.zip
file in PackageSupplier by @Geod24 in #2876 - Simplify mocking IO in PackageManager, add a test for
add-path
by @Geod24 in #2881 - CLI: Simplify control flow by bundling two operations together by @Geod24 in #2884
New Contributors
Full Changelog: v1.36.0...v1.37.0