Skip to content

v1.9.0-alpha.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@aeneasr aeneasr released this 20 Oct 15:50
· 1691 commits to master since this release
a270e4c

This release focuses on a complete refactor of the internal database abstraction layer (DBAL). We have been using gobuffalo/pop successfully in ORY Kratos and decided to move the ORY Hydra DBAL to gobuffalo/pop as well. As part of this refactoring, ORY Hydra now supports SQLite for both in-memory as well as on-disk databases, de-duplicating the codebase and allowing for quick and easy persistence in test environments.

This is an alpha release as we want to gather feedback from the community regarding performance and other potential issues before tagging the v1.9.0 version branch as stable.

1.9.0-alpha.1 (2020-10-20)

Bug Fixes

  • Add support for tracing to SQL (b3dda7c)
  • Address pop inconsistencies and update tests (8f3462f)
  • CGO build issues on Windows and Go 1.15+ (1c1fe19)
  • Do not require sqlite and CGO for other databases (8069205)
  • Do not run migrations in background (308edb9)
  • Explicitly set pwd in makefile (aeb1090)
  • Goreleaser add docker images (7a81908)
  • Improve cli flags and add -c config flag (bf3be84)
  • Improve schema typing for tracing (4cc25c3)
  • Improve tests and pop adapter (1354611)
  • Remove explicit cve allowlist (90caeda), closes #2117
  • Remove obsolete makefile targets (dc5d37f)
  • Remove unnecessary transactions (1df50ec)
  • Remove websocket direct dep (d525983), closes #2111
  • Run tests only once (4e1d0f6)
  • Set context in connection getter (644967a)
  • Update docker and quickstart examples (b01c246)
  • Update format to goimports (c4438b0)
  • Use context in transaction creator (db0ac86)
  • Use sqlite for standalone (e5b7147)

Code Refactoring

  • Move Dockerfiles to .docker directory (5508f2a)

  • Use gobuffalo/pop for SQL abstraction (#2059) (56bce67), closes #1730:

    This patch replaces the existing SQL and memory managers with a pop based persister. Existing SQL migrations are compatible as they have been migrated to the new SQL abstraction in version 1.7.x. As a goodie, ORY Hydra now supports SQLite for both in-memory as well as on-disk (useful for development and very small deployments) databases!

Documentation

Features

Tests

  • Fix confusing expected/got (#2135) (14b6db2):

    And fixed assert.EqualError params in right order in TestStrategyLoginConsent

  • Move tests to persistence (46d0571)

  • Remove unused expectSession variable (#2134) (eda8532)

  • Write migrate logs to file (9a1fbd8)

Changelog

f3056f6 autogen(docs): generate and format documentation
afde5c6 autogen(docs): generate and format documentation
6f51702 autogen(docs): generate and format documentation
c326ae8 autogen(docs): generate and format documentation
f5441d6 autogen(docs): generate and format documentation
8f87c1f autogen(docs): generate and format documentation
243adeb autogen(docs): generate and format documentation
d56bfb1 autogen(docs): generate and format documentation
8ff756c autogen(docs): generate and format documentation
849ead0 autogen(docs): generate and format documentation
049c415 autogen(docs): generate and format documentation
d560807 autogen(docs): generate cli docs
4734c88 autogen(docs): generate cli docs
ec71cd9 autogen(docs): generate cli docs
1dee4e3 autogen(docs): generate cli docs
878bd97 autogen(docs): generate cli docs
a8c33bc autogen(docs): regenerate and update changelog
3e011f6 autogen(docs): regenerate and update changelog
7b60472 autogen(docs): regenerate and update changelog
bb041f2 autogen(docs): update milestone document
1d45dec autogen(docs): update milestone document
e3f71d3 autogen(docs): update milestone document
434a3b1 autogen(docs): update milestone document
0ee3c10 autogen(openapi): Regenerate swagger spec and internal client
0eba003 autogen: add v1.8.5 to version.schema.json
0382fea autogen: add v1.9.0-alpha.0.pre.2 to version.schema.json
dc19f4a autogen: pin v1.9.0-alpha.0.pre.2 release commit
a270e4c autogen: pin v1.9.0-alpha.1 release commit
edb221c autogen: pin v1.9.0-pre.0 release commit
4fbf357 autogen: pin v1.9.0-pre.1 release commit
4062f77 chore(deps): bump cci orbs (#2132)
3e259c4 chore(docs): format
3f8f2d7 chore(docs): remove unneeded files (#2121)
1a23377 chore: add schema to gitignore
2fad604 chore: bump datadog dependency
75cc527 chore: bump gobuffalo/pop
eeb4576 chore: bump gobuffalo/pop
8ee0996 chore: bump gobuffalo/pop and integrate new tracing fixes
f83f662 chore: update Docker Images to golang 1.15.2, alpine 3.12 (#2127)
cf358c5 chore: update docusaurus template (#2104)
4e24824 chore: update docusaurus template (#2137)
92a207b chore: update repository templates
70c7998 ci: add docs format checking (#2099)
02edf37 ci: force changelog generation
fda87cf ci: remove mysql parameters which are set automatically
51d9390 ci: revert multiStatements removal
7ed8870 docs: add hypnoglow terraform provider
487e733 docs: correct port (#2101)
7aca301 docs: correct port (#2102)
71a4495 docs: fix typo
443a225 docs: remove obsolete doc section
4540ece docs: swagger route headline capitalization These should be the last places, therefore closes #2015
3cd22c4 docs: update code listings and image tags
bfed7f2 docs: update sql instructions
6d63a73 docs: updates kubernetes helm chart url
8e64202 feat: implement docker for quickstart
2f19837 feat: re-enable freebsd
e946487 feat: support sqlite in goreleaser
1c1fe19 fix: CGO build issues on Windows and Go 1.15+
b3dda7c fix: add support for tracing to SQL
8f3462f fix: address pop inconsistencies and update tests
8069205 fix: do not require sqlite and CGO for other databases
308edb9 fix: do not run migrations in background
aeb1090 fix: explicitly set pwd in makefile
7a81908 fix: goreleaser add docker images
bf3be84 fix: improve cli flags and add -c config flag
4cc25c3 fix: improve schema typing for tracing
1354611 fix: improve tests and pop adapter
90caeda fix: remove explicit cve allowlist
dc5d37f fix: remove obsolete makefile targets
1df50ec fix: remove unnecessary transactions
d525983 fix: remove websocket direct dep
4e1d0f6 fix: run tests only once
644967a fix: set context in connection getter
b01c246 fix: update docker and quickstart examples
c4438b0 fix: update format to goimports
db0ac86 fix: use context in transaction creator
e5b7147 fix: use sqlite for standalone
5508f2a refactor: move Dockerfiles to .docker directory
56bce67 refactor: use gobuffalo/pop for SQL abstraction (#2059)
6b2ad6b style: format and cleanup
5257f73 style: update tracing docker-compose definition
14b6db2 test: fix confusing expected/got (#2135)
46d0571 test: move tests to persistence
eda8532 test: remove unused expectSession variable (#2134)
9a1fbd8 test: write migrate logs to file

Docker images

  • docker pull oryd/hydra:v1
  • docker pull oryd/hydra:v1.9
  • docker pull oryd/hydra:v1.9.0
  • docker pull oryd/hydra:v1.9.0-alpha.1
  • docker pull oryd/hydra:latest
  • docker pull oryd/hydra:v1-alpine
  • docker pull oryd/hydra:v1.9-alpine
  • docker pull oryd/hydra:v1.9.0-alpine
  • docker pull oryd/hydra:v1.9.0-alpha.1-alpine
  • docker pull oryd/hydra:latest-alpine
  • docker pull oryd/hydra:v1-sqlite
  • docker pull oryd/hydra:v1.9-sqlite
  • docker pull oryd/hydra:v1.9.0-sqlite
  • docker pull oryd/hydra:v1.9.0-alpha.1-sqlite
  • docker pull oryd/hydra:latest-sqlite