Skip to content
This repository has been archived by the owner on Jan 27, 2021. It is now read-only.

Latest commit

 

History

History
318 lines (172 loc) · 10.8 KB

CHANGELOG.md

File metadata and controls

318 lines (172 loc) · 10.8 KB

Changelog for unreleased (UNRELEASED)

The following sections list the changes in ocis-pkg unreleased.

Summary

  • Change - Unwrap roleIDs from access-token into metadata context: #59
  • Change - Provide cache for roles: #59
  • Change - Roles manager: #60

Details

  • Change - Unwrap roleIDs from access-token into metadata context: #59

    We pass the RoleIDs from the access-token into the metadata context.

    #59

  • Change - Provide cache for roles: #59

    In order to work efficiently with permissions we provide a cache for roles and a middleware to update the cache based on roleIDs from the metadata context. It can be used to check permissions in service handlers.

    #59

  • Change - Roles manager: #60

    We combined the roles middleware and cache into a roles manager. The manager doesn't expose the cache anymore and manages the state of the cache by fetching roles from the role service which don't exist in the cache, yet.

    #60

Changelog for 2.4.0 (2020-08-25)

The following sections list the changes in ocis-pkg 2.4.0.

Summary

  • Change - Use go-micro's metadata context for account id: #56

Details

  • Change - Use go-micro's metadata context for account id: #56

    We switched to using go-micro's metadata context for reliably passing the AccountID in the context across service boundaries.

    #56

Changelog for 2.3.0 (2020-08-17)

The following sections list the changes in ocis-pkg 2.3.0.

Summary

  • Bugfix - Remove redigo 2.0.0+incompatible dependency: #33
  • Change - Add middleware for x-access-token distmantling: #46
  • Enhancement - Add ocis.id and numeric id claims: #50

Details

  • Bugfix - Remove redigo 2.0.0+incompatible dependency: #33

    Get rid of redigo v2.0.0

    owncloud/ocis-graph#33

  • Change - Add middleware for x-access-token distmantling: #46

    We added a middleware that dismantles the x-access-token from the request header and makes it available in the context.

    #46

  • Enhancement - Add ocis.id and numeric id claims: #50

    We added an ocis.id claim to the OIDC standard claims. It allows the idp to send a stable identifier that can be exposed to the outside world (in contrast to sub, which might change whens the IdP changes).

    In addition we added uidnumber and gidnumber claims, which can be used by the IdP as well. They will be used by storage providers that integrate with an existing LDAP server.

    #50

Changelog for 2.2.1 (2020-04-21)

The following sections list the changes in ocis-pkg 2.2.1.

Summary

  • Bugfix - Pass flags to micro service: #44

Details

  • Bugfix - Pass flags to micro service: #44

    Passed flags to the micro service to be able to pass cli arguments while starting a grpc service.

    #44

Changelog for 2.2.0 (2020-03-30)

The following sections list the changes in ocis-pkg 2.2.0.

Summary

  • Change - Add header to cors handler: #41

Details

  • Change - Add header to cors handler: #41

    The x-requested-with header was added to allow ajax requests.

    #41

Changelog for 2.1.0 (2020-03-16)

The following sections list the changes in ocis-pkg 2.1.0.

Summary

  • Enhancement - Tracing middleware: #35

Details

  • Enhancement - Tracing middleware: #35

    A new tracing middleware has been added to unpack context propagation

    #35

Changelog for 2.0.2 (2020-03-04)

The following sections list the changes in ocis-pkg 2.0.2.

Summary

  • Enhancement - Allow http services to register handlers: #33

Details

  • Enhancement - Allow http services to register handlers: #33

    Added a handler option on http services

    #33

Changelog for 2.0.1 (2020-02-05)

The following sections list the changes in ocis-pkg 2.0.1.

Summary

  • Bugfix - Fix Module Path: #25
  • Bugfix - Change import paths to ocis-pkg/v2: #27

Details

  • Bugfix - Fix Module Path: #25

    The module version must be in the path. See https://github.com/golang/go/wiki/Modules#semantic-import-versioning for more information. > If the module is version v2 or higher, the major version of the module must be included as a /vN at the end of the module paths used in go.mod files (e.g., module github.com/my/mod/v2, require github.com/my/mod/v2 v2.0.1) and in the package import path (e.g., import "github.com/my/mod/v2/mypkg"). This includes the paths used in go get commands (e.g., go get github.com/my/mod/[email protected]. Note there is both a /v2 and a @v2.0.1 in that example. One way to think about it is that the module name now includes the /v2, so include /v2 whenever you are using the module name).

    #25

  • Bugfix - Change import paths to ocis-pkg/v2: #27

    Changed the import paths to the current version

    #27

Changelog for 2.0.0 (2020-02-04)

The following sections list the changes in ocis-pkg 2.0.0.

Summary

  • Change - Upgrade the micro libraries: #22

Details

  • Change - Upgrade the micro libraries: #22

    Upgraded the go-micro libraries to v2.

    #22

Changelog for 1.3.0 (2020-01-20)

The following sections list the changes in ocis-pkg 1.3.0.

Summary

  • Bugfix - Fix serving static assets: #14
  • Change - Add TLS support for http services: #19
  • Enhancement - Introduce OpenID Connect middleware: #8

Details

  • Bugfix - Fix serving static assets: #14

    Ocis-hello used "/" as root. adding another / caused the static middleware to always fail stripping that prefix. All requests will return 404. Setting root to "" in the ocis-hello flag does not work because Chi reports that routes need to start with /. path.Clean(root+"/") would yield "" for root="/".

    #14

  • Change - Add TLS support for http services: #19

    ocis-pkg http services support TLS. The idea behind is setting the issuer on phoenix's config.json to https. Or in other words, use https to access the Kopano extension, and authenticate using an SSL certificate.

    #19

  • Enhancement - Introduce OpenID Connect middleware: #8

    Added an openid connect middleware that will try to authenticate users using OpenID Connect. The claims will be added to the context of the request.

    #8

Changelog for 1.2.0 (2019-12-09)

The following sections list the changes in ocis-pkg 1.2.0.

Summary

  • Change - Add root path to static middleware: #9

Details

  • Change - Add root path to static middleware: #9

    Currently the Static middleware always serves from the root path, but all our HTTP handlers accept a custom root path which also got to be applied to the static file handling.

    #9

Changelog for 1.1.0 (2019-12-06)

The following sections list the changes in ocis-pkg 1.1.0.

Summary

  • Change - Better log level handling within micro: #2

Details

  • Change - Better log level handling within micro: #2

    Currently every log message from the micro internals are logged with the info level, we really need to respect the proper defined log level within our log wrapper package.

    #2

Changelog for 1.0.0 (2019-12-05)

The following sections list the changes in ocis-pkg 1.0.0.

Summary

  • Change - Initial release of basic version: #1

Details

  • Change - Initial release of basic version: #1

    Just prepared an initial basic version to have some shared functionality published which can be used by all other ownCloud Infinite Scale extensions.

    #1