Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: cgrindel/rules_swift_package_manager
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.33.0
Choose a base ref
...
head repository: cgrindel/rules_swift_package_manager
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.34.0
Choose a head ref
  • 2 commits
  • 170 files changed
  • 3 contributors

Commits on Jun 21, 2024

  1. chore: update README.md for v0.33.0 (#1109)

    Automated update of `README.md` for release v0.33.0
    
    This pull request was created by
    [cgrindel/gha_create_release](https://github.com/cgrindel/gha_create_release).
    
    Co-authored-by: cgrindel <cgrindel@users.noreply.github.com>
    Configuration menu
    Copy the full SHA
    8399e0f View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2024

  1. feat: no longer need to check in swift_deps_index.json file and oth…

    …er big updates (#957)
    
    Lots of big changes in this PR:
    
    - The SPM-related rules no longer depend upon a Swift deps index JSON
    file.
    - Remove the `from_file` module extension tag class, as the ruleset no
    longer needs to read the Swift deps index file.
    - Remove the `swift_update_packages` macro as it is no longer required.
    - Remove support for `byName` references outside of a Swift package.
    This was supported in early SPM versions. It was one of the driving
    factors for having to pre-process the Swift dependencies and generate a
    Swift deps index file. Removing this support reduces the complexity of
    the `rules_swift_package_manager` implementation.
    - Remove `update_repos` command from the Gazelle plugin.
    - Add `swift_deps_info` repository rule to generate a Swift deps index
    JSON file as part of the build, not in the Gazelle plugin. This index
    file is used by the Gazelle plugin to resolve Swift module names to
    their respective Bazel target.
    - Introduce `from_package` module extension tag class telling the
    ruleset where the `Package.swift` and `Package.resolved` files for the
    workspace live. These are used to identify the Swift package transitive
    dependencies for the project.
    - Remove the `http_archive_ext_deps` example. The example existed to
    demonstrate and test indexing of Swift targets that were downloaded
    using `http_archive`. The Gazelle internals no longer provide some of
    the information needed for this to work properly with bzlmod enabled.
    Given that SPM has been widely adopted and there are some workarounds,
    we are removing support for this functionality in the Gazelle plugin
    when bzlmod is enabled.
    - Add output to the example test runner that demarcates different phases
    for the testing.
    
    Related to #924.
    cgrindel authored Jun 26, 2024
    Configuration menu
    Copy the full SHA
    4bf2ffe View commit details
    Browse the repository at this point in the history
Loading