Skip to content

chore: upgrade v1.17 - #125

Merged
hwbrzzl merged 1 commit into
masterfrom
bowen/upgrade-v1.17-1
Feb 2, 2026
Merged

chore: upgrade v1.17#125
hwbrzzl merged 1 commit into
masterfrom
bowen/upgrade-v1.17-1

Conversation

@hwbrzzl

@hwbrzzl hwbrzzl commented Feb 2, 2026

Copy link
Copy Markdown
Contributor

Greptile Overview

Greptile Summary

This PR upgrades the github.com/goravel/framework dependency to a newer version and updates the setup script to use renamed API methods.

Key changes:

  • Updated framework dependency from v1.16.1-0.20260130094642 to v1.16.1-0.20260202061217 in go.mod
  • Renamed modify.AddProviderApply() to modify.RegisterProvider() in setup/setup.go:49
  • Renamed modify.RemoveProviderApply() to modify.UnregisterProvider() in setup/setup.go:78

The changes are consistent with a framework API refactor where method names have been improved for clarity. The functionality remains the same - these methods handle service provider registration/unregistration when using bootstrap setup mode.

Confidence Score: 5/5

  • Safe to merge - straightforward dependency upgrade with consistent API method renames
  • The changes are minimal and follow a clear pattern: upgrading the framework dependency and updating method calls to match the new API. The renamed methods (AddProviderApplyRegisterProvider, RemoveProviderApplyUnregisterProvider) are semantically equivalent with improved naming. No logic changes or new functionality introduced.
  • No files require special attention

Important Files Changed

Filename Overview
go.mod Updated github.com/goravel/framework from version v1.16.1-0.20260130094642-7135899a236e to v1.16.1-0.20260202061217-60e5444dde33 to pull in latest framework changes
go.sum Updated checksums for the new github.com/goravel/framework version
setup/setup.go Renamed API methods: AddProviderApply to RegisterProvider and RemoveProviderApply to UnregisterProvider for bootstrap setup mode

Sequence Diagram

sequenceDiagram
    participant User
    participant ArtisanCLI as Artisan CLI
    participant Setup as setup/setup.go
    participant Modify as modify package
    participant Bootstrap as bootstrap/providers.go
    participant App as config/app.go

    User->>ArtisanCLI: ./artisan package:install
    ArtisanCLI->>Setup: Execute setup script
    
    alt Bootstrap Setup Mode
        Setup->>Modify: RegisterProvider() [was AddProviderApply()]
        Modify->>Bootstrap: Add &minio.ServiceProvider{}
        Bootstrap-->>Setup: Provider registered
    else Traditional Setup Mode
        Setup->>Modify: modify.Register()
        Modify->>App: Add provider to app.go
        App-->>Setup: Provider registered
    end
    
    Setup->>Modify: AddImport() for minio facades
    Setup->>Modify: AddConfig() for minio disk
    Modify-->>Setup: Configuration updated
    
    Setup-->>ArtisanCLI: Installation complete
    ArtisanCLI-->>User: Package installed

    Note over Setup,Modify: API method names updated in v1.17:<br/>AddProviderApply → RegisterProvider<br/>RemoveProviderApply → UnregisterProvider
Loading

@hwbrzzl
hwbrzzl merged commit 62da6a3 into master Feb 2, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant