All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
Taiga has changed its authentication system to a more sophisticated JWT implementation. This requires the user to refresh their token every 24 hours (default setting). If you're using Taigo in a system which tends to run for longer than 24 hours, such as, a webserver where your taigo.Client
instance is preserved for days/weeks/months, then you need a way to keep your stored token fresh.
Taigo gets this task done automatically by polling a ticker in a goroutine and refreshing the stored tokens every 12 hours.
If you'd like to implement your own token refreshing mechanism, you have two options:
- implement your own routine based on
defaultTokenRefreshRoutine(c *Client, ticker *time.Ticker)
- disable the
RefreshTokenRoutine
by callingDisableAutomaticTokenRefresh()
and do the Token update your way (don't forget to update the contents ofClient.Headers
).
AuthService.RefreshAuthToken()
implemented- New fields added to
Client
:AutoRefreshDisabled
AutoRefreshTickerDuration
TokenRefreshTicker
- New methods added to
Client
:DisableAutomaticTokenRefresh()
- MAJOR Changed the signature of
*Client.AuthByToken(tokenType, token, refreshToken string) error
. It now requiresrefreshToken
too. - GitHub Workflows: Stepped go version to 1.18
- GitHub Workflows: Tests enabled on
feature_*
andissue_*
branches
- TAIGO-8 MAJOR Add missing Auth/Refresh auth token
- Support for getting, creating and editing Taiga Issue objects
- Added custom attribute get/update example for user stories
- Added support for working easily in a specific project's scope via *ProjectService
- TgObjectCustomAttributeValues are now exported and can be extended on-the-fly
- Struct members representing various agile points have been changed from regular int to float64
- Support for custom attribute handling
- Support for working easily in a specific project's scope via
*ProjectService
- A simplified init was implemented
- update
contribute/main.go
- Models have been improved for better accuracy
- First version of the product