Skip to content

v0.13.0

Latest
Compare
Choose a tag to compare
@candiduslynx candiduslynx released this 16 May 04:57
41fa1e5

Warning

This release includes a breaking change since the last release

What's Changed

Breaking changes

  • Expose team_id parameter for use with org-wide app by @candiduslynx in #1283:
    Changed interface:
    Old New
    Client.GetBotInfo(bot string) (*Bot, error) Client.GetBotInfo(parameters GetBotInfoParameters) (*Bot, error)
    Client.GetBotInfoContext(ctx context.Context, bot string) Client.GetBotInfoContext(ctx context.Context, parameters GetBotInfoParameters)
    Client.GetTeamProfile() (*TeamProfile, error) GetTeamProfile(teamID ...string) (*TeamProfile, error)
    GetTeamProfileContext(ctx context.Context) (*TeamProfile, error) GetTeamProfileContext(ctx context.Context, teamID ...string) (*TeamProfile, error)
    Client.GetBillableInfo(user string) (map[string]BillingActive, error) Client.GetBillableInfo(params GetBillableInfoParams) (map[string]BillingActive, error)
    Client.GetBillableInfoContext(ctx context.Context, user string) (map[string]BillingActive, error) Client.GetBillableInfoContext(ctx context.Context, params GetBillableInfoParams) (map[string]BillingActive, error)
    Client.GetBillableInfoForTeam() (map[string]BillingActive, error) dropped, use Client.GetBillableInfo with empty params
    Client.GetBillableInfoForTeamContext(ctx context.Context) (map[string]BillingActive, error) dropped, use Client.GetBillableInfoContext with empty params

Bug fixes

Enhancements

New Contributors

Full Changelog: v0.12.5...v0.13.0