Skip to content

Releases: joaofnds/go-template

v1.42.0

09 Jan 21:11
9098ed4
Compare
Choose a tag to compare

1.42.0 (2025-01-09)

Feature

  • authz: add method to remove all policies for a subject (208056c)
  • authz: add method to revoke all roles for a user (0166bdd)
  • authz: add middleware (b5e28c9)
  • authz: change policy effect to deny-override (5e44733)
  • authz: use globMatch on actions (9f62785)
  • user: add authz (161a83d)
  • user: cleanup permissions when user is deleted (9098ed4)
  • user: require authentication (8e24288)

Chore

Refactor

  • authn: move middleware to http module (39cbd6c)
  • authz: add policy struct to allow deny policies (b879d9d)
  • authz: change grant to accept many requests (38506e0)
  • authz: rename enforcer to permission manager (a461bf5)
  • authz: split grant into grant and grant all (ea9b7eb)
  • authz: use refstring on middleware (2a8420c)
  • ref: change order of constructor params (221e03d)
  • user: extract permission service (9002fa8)
  • user: move user ref constructor to user package (3a4d316)

Test

  • add driver user, with the entity and its own driver (998a6d4)
  • casdoor: add admin login test (8e5092e)

v1.41.0

04 Jan 22:20
5955ef5
Compare
Choose a tag to compare

1.41.0 (2025-01-04)

Feature

Chore

  • authn: remove list method (c9b9af3)

Refactor

Test

  • auth: add fake auth provider and use it on tests (4ff40a8)
  • refactor harness functional options (4182587)
  • split harness and driver (2ce01fc)

CI

  • commit: enable mise experimental features (c98a559)

v1.40.1

03 Jan 03:13
5a4cb3c
Compare
Choose a tag to compare

1.40.1 (2025-01-03)

Chore

  • taskfile: rename lint tasks (01e2d4e)

Refactor

  • test-driver: add functional options (ff8c9ce)

v1.40.0

02 Jan 03:55
852b931
Compare
Choose a tag to compare

1.40.0 (2025-01-02)

Feature

  • metrics: add prom registry and factory (9a7f63a)
  • user: add UpdatedAt (65e65c7)

Chore

Documentation

Refactor

  • authn: restructure modules (af1abd9)
  • health: restructure modules (3d0ddec)
  • http: remove extra module (b882aed)
  • http: use a single invoke to register controllers (d21c542)
  • kv: restructure modules (3ad6c6e)
  • redis: restructure module (1467336)
  • user: restructure modules (95a002a)

Test

v1.39.0

28 Dec 18:00
286fcaa
Compare
Choose a tag to compare

1.39.0 (2024-12-28)

Feature

  • user: split listener module (286fcaa)

Documentation

CI

v1.38.0

28 Dec 12:19
cde9ca6
Compare
Choose a tag to compare

1.38.0 (2024-12-28)

Feature

  • watermill: add sonic marshaler (cde9ca6)

v1.37.0

27 Dec 14:13
6db86ed
Compare
Choose a tag to compare

1.37.0 (2024-12-27)

Feature

Chore

  • user: split http module (fa86d8d)

Documentation

Refactor

  • casdoor: add constructor for oauth2 config (3314360)

v1.36.0

21 Dec 13:21
3182b97
Compare
Choose a tag to compare

1.36.0 (2024-12-21)

Feature

  • auth: create user upon registration (3182b97)

Refactor

v1.35.0

19 Dec 19:26
8df848e
Compare
Choose a tag to compare

1.35.0 (2024-12-19)

Feature

  • casdoor: add user provider (320106c)

Chore

Refactor

  • user: use email instead of name (1585b81)

Test

  • driver: inject and share headers (1ae31d6)
  • req: add header helper methods (1a60a94)

v1.34.1

18 Dec 19:08
c8d4ff5
Compare
Choose a tag to compare

1.34.1 (2024-12-18)

Chore

  • move services config files to etc (c8d4ff5)