Commit Graph

4 Commits

Author SHA1 Message Date
627ceae0bc
Replace old Sentry client with the new SDK
* replace old Sentry client with the new SDK
* do not initialize Sentry SDK twice, correct panic processing
* account prefix for panics
* log errors with account context data
* tests
* linter fixes
* removed 1.18 from available versions
2022-03-18 10:46:22 +03:00
e6dd1643cf
[feature] Individual localizer for each context
* proposal with context localizer (engine.GetLocalizedMessage shouldn't be used for localizing for individual requests data)
* normal test for SetLocale
* use sync.Map
* method to preload languages into localizer
* DefaultLanguages variable
* PreloadLanguages field in core.Engine
* don't copy sync.Map
* patch for goroutine safety usage of Localizer
* fix for engine constructor
* additional test for localizer middleware, which is more close to real environment
* filter language.Und
* prevent root placeholder tag usage
* remove reduntant bundle storage, deprecated (*core.Localizer).FetchLanguage()
2020-05-18 13:37:24 +03:00
48773fbccb adaptations for broken BC in gin 1.6.2, now gin 1.6.2 is the minimum supported version 2020-04-29 10:08:00 +03:00
Alex Lushpai
34cba277b9 init 2019-09-04 15:22:27 +03:00