cli/v1.6.0
Breaking Changes
Most changes is related to ireturn
: "Return concrete, Accept interfaces". Useless interfaces are now removed over their concrete implementations.
-
deepsquare.Client
anddeepsquare.Watcher
are now concrete instead of an interface. -
client.Balance
,client.Transfer
is nowclient.CreditManager.Balance
,client.CreditManager.Transfer
... -
client.GetAllowance
,client.SetAllowance
, ... is nowclient.AllowanceManager.GetAllowance
,client.AllowanceManager.SetAllowance
... -
client.GetProvider
is nowclient.ProviderManager.GetProvider
. -
GridLogger
is now returned byDialContext
instead of the interface. -
JobFetcher.GetJobs
has changed. It does not return an interface anymore. Also, the client is no more embedded inside the iterator. Before:it, err := fetcher.GetJobs(ctx) job, err = it.Next(ctx)
After:
it, err := fetcher.GetJobs(ctx) job, err = fetcher.Next(ctx, it)
-
NewOracle
returns the concrete implementation. -
RPCClientSet
returns concrete implementations. -
NewEventSubscriber
returns the concrete implementation. -
NewJobsByProviderFetcher
returns the concrete implementation. -
sbatch.NewService
returns the concrete implementation.
Changes
context.Context
is now handled inside the TUI layer.dps init
now prints the output path.
SHA256 Checksums
5b9f6b02b444b68e3e0925f484b3f42ab2c9ae8b5a0c4d5b1ac6a75121884efa *dps-darwin-amd64
97926f5c2ebbdf45bc8e907647ad80e4c4a22d6b5a2504177d7eb5165936cc26 *dps-darwin-arm64
7550a3d1bcfbe3156250eb84dc5b41f6543dcbbcb195f90bb8ebde5568f4dbf9 *dps-freebsd-arm64
7550a3d1bcfbe3156250eb84dc5b41f6543dcbbcb195f90bb8ebde5568f4dbf9 *dps-freebsd-arm64
34d1ee882ae1e4ed4a5c6df632e6cf68296ffee64944da420abe1157a014a152 *dps-linux-amd64
c8c368fc3fc7d82e133ee4766d09493908f452ccab0692c86c722e9b7d76fbd2 *dps-linux-arm64
0658d38499de86c9cfa71cfbbb715ae089675e43436cad1b4270910bf8c0a92e *dps-linux-riscv64
c8db559f3ac007dc1f6c82dc120d543c49b776100e998e51885dcdf699e2a597 *dps-windows-amd64.exe
Quick Install for Linux and OSX
curl https://raw.githubusercontent.com/deepsquare-io/grid/main/cli/get-dps | bash
Full Changelog: cli/v1.5.3...cli/v1.6.0