Skip to content

Releases: TencentBlueKing/bk-iam

bugfix: ratelimit

17 Aug 02:34
d1885d0
Compare
Choose a tag to compare
  • bugfix: ratelimit middleware use wrong first param Limit, should be float number, not 1 every second

buffered logger and rate limit

04 Aug 08:46
3f4d8f4
Compare
Choose a tag to compare
  1. zap buffered logger
  2. rate limit

you can change the rate limit count of each system, default is 2000/second

quota:
  api:
    rate_limit: 2000

bugfix: web logger config

29 Jul 11:37
c98c921
Compare
Choose a tag to compare
  • bugfix: wrong config reference by web logger

first release

20 Jul 02:29
Compare
Choose a tag to compare

This is the first release, 1.8.X is the newest, we do a lot of refactoring and some bugfix.

1.8.1

  • bugfix: policy cache database make slice with wrong cap size

1.8.0

  • refactor: policy and expression cache layer, refactor to local cache with redis change list; data flow database->redis->local cache
  • refactor: SubjectDetail use custom msgpack marshal/unmarshal
  • refactor: rename subjectRelation to subjectGroup, use []ThinSubjectGroup
  • refactor: use zap in api/web logger, for better performance
  • add: extra random expired seconds for policy/expression redis cache
  • add: unmarshaled expression local cache
  • remove: environment unused field from all expression struct
  • remove: department pks from effective subject pks
  • remove: action scope scope_expression from all struct
  • fix: typo from polices to policies
  • bugfix: delete subject cache if update the expiredAt
  • add: /version api include the ts/date
  • upgrade: go.mod, the moduel to the newest