Skip to content

first release

Compare
Choose a tag to compare
@wklken wklken released this 20 Jul 02:29
· 638 commits to master since this release

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