Releases: yoshinorin/qualtet
v2.15.0 (Scarlet Penerapi)
「助っ人を呼びました」ロジが僕に囁いた。「ペネラピです」
森博嗣.君たちは絶滅危惧種なのか? Are You Endangered Species? WWシリーズ(講談社タイガ)(p.98).講談社.Kindle版.
Refactor
- (51ed717) refactor: rename from
action
tocont
- (2a472f0) refactor: delete unnecessary import
- (901663d) refactor(auth/jwt): use
given
instead ofimplicit val
- (86ac6cd) refactor(dpc/rest-api): reorganaize directory structures
- (ab86388) refactor(model/content): rename from
ReadContentDbRow
toContentReadModel
- (1beedba) refactor(domains/models): add
models
directory to eachdomains
directory - (71abf0c) refactor(domain/models): divide objects and case classes into other files
- (cad204a) refactor(models): divide read and others
- (344d5d7) refactor(models): divide write and others
- (7786f21) refactor(models): delete unnecessary default values
- (b120787) refactor(repository): homogenize the naming of given instances for
doobie
- (89cc734) refactor(service): rename leftover function namings with previous commit
- (ee47419) refactor(repository): delete unnecessary
given
fordoobie
- (5c668ef) refactor(models): delete meaningless model
- (b7aae35) refactor(domain/contentSerializing): use
bulkUpsert
instead ofupsert
- (4a1d9eb) refactor(models): move common value objects to
ValueObjects
- (4ec5cad) refactor(errors): divide domain error case classes and http error case classes
- (c0bd17d) refactor: delete unused imports
- (16a3feb) refactor(domain): rename file name from
Error
toErrors
- (1b244f4) refactor(domain/errors): delete
title
field in calse classes - (3997cd2) refactor(domain/errors): rename
sealed trait
fromError
toDomainError
- (5b7b799) refactor(http/errors): reorganize package
- (16bab87) refactor(errors): move
ProblemDetailsError
case class fromhttp
todomains
- (d37a3fa) refactor(domains): rename
Request
andResponse
models - (41f6cf7) refactor(models/content): rename from
ContentResponseModel
toContentDetailResponseModel
- (6b29ae7) refactor(content): separating
Response
case class fromContent
class
Docker
- (89e8c67) chore(docker): bump JDK from
jammy
tonoble
- (720d077) chore(docker): bump
mariadb
from11.4.2
to11.4.3
Misc
- (97bfd98) chore: use
-Xkind-projector
instead of-Ykind-projector
CI
Test
- (433405a) test(tags): enable with query params tests cases
- (9ca127c) test(http/errors): add test cases
Dependencies
- (ada7594) chore(plugins): bump
sbt-coveralls
from1.3.9
to1.3.13
- (04d61df) chore: bump sbt from
1.10.0
to1.10.1
- (796fcaa) chore: bump scalafmt from
3.7.17
to3.8.3
- (75622ff) chore: bump
scala
from3.4.2
to3.5.0
- (5419971) chore: delete unnecessary compiler option
- (36945f5) chore(deps): update dependencies
- (20594de) chore(deps): update dependencies
- (2a41cc5) chore(deps): update dependencies
- (8fc7a28) chore(docs/deps): bump dependencies
- (7b370e9) chore: bump scala from
3.5.0
to3.5.2
and bump sbt from1.10.1
to1.10.4
- (45b837c) chore(deps): update dependencies
- (d7c6b7e) chore(deps): bump
http4s
from1.0.0-M42
to1.0.0-M43
- (b99b606) chore(deps): update dependencies
- (5a6de84) chore(deps): update plugins
- (1650f65) chore(deps): bump
cats-effect
from3.5.5
to3.5.7
Docs
- (5ad060b) docs(rest-api): rename from
contents/post.yml
tocontents/upsert.yml
- (2fb02d3) fix(docs/rest-api): fix filename from
getbyPath.yml
togetByPath
- (a370659) fix(docs/rest-api): append
required
to response fields if they must be returend - (e62cf88) docs: fix typo
- (a0cdb67) chore(docs/rest-api): bump require node version
- (b46c69a) chore(docs/deps): bump
@redocly/cli
from1.25.5
to1.25.15
- (7ca6013) fix(doc/rest-api): fix response schema when upsert content
Full Changelogs
v2.14.0 (Scarlet Orgasta)
ウォーカロン には、リーダがいて、名前はオーガスタというそうです
森博嗣. 天空の矢はどこへ? Where is the Sky Arrow? Wシリーズ (講談社タイガ) (p.23). 講談社. Kindle 版.
Performances
- (6bf38aa) perf(db): use
HikariCP
instead ofJDBC DriverManager
for manage connection- (f980bd8) feat(db): read connection pool settings from config
Refactors
- (113ec55) refactor(http): delete
MethodNotAllowedSupport
trait* (be90602) chore: deleteTODO
comments.http4s
disallowed set
Allow
headers - (2af3db7) refactor: clean up redundant code
- (b441f9e) refactor: delete unnecessary val
- (127c0c5) refactor(tasks): delete unnecessary code
- (5db7014) refactor: move and rename
ProblemDetails
case class - (2449a39) refactor: use
cats.data.ContT
instead ofAction
- (ef657a4) refactor: delete unnecessary val
- (ee63f9b) refactor: rename from
Error
toProblemDetailsError
- (2cf2b39) refactor: rename
Fail
toError
and move into thedomains
package - (c347ec1) refactor: more accurate naming
- (7da30ee) refactor: move
log4catsLogger
given instance from class to companion object - (a688372) refactor: better scope
- (2755cf6) refactor: do not refer
Modules
directory - (6445d56) refactor(config): delete unnecessary nested structure in
db
- (9fae87b) refactor(task): rename from
CreateAuthor
toCreateOrUpdateAuthor
- (b1ae31a) refactor(test): move some
val
intobeforeAll
Test
- (b74af35) test(task): enable comment-outed assertion
CI/CD
- (96a3c8d) ci: update
actions/setup-node
fromv3
tov4
Dependencies
- (2c240ad) chore(plugins): downgrade
sbt-coveralls
from1.3.11
to1.3.9
- (7386022) chore(deps): update dependencies
- (77ac627) chore(deps): bump
mariadb-java-client
from3.3.3
to3.4.0
Docs
- (394fcd2) docs: tweak
Misc
- (36c84e7) chore(log): suppress
DEBUG
level on STDOUT - (6bc389d) chore(docs/deps): update
@redocly/cli
from1.14.0
to1.18.0
- (9658416) chore: delete old comment-outed code
- (156da7a) chore(docker): remove
version
schema from compose file - (4c27c4d) chore: update
.env.example
- (62dd168) chore: delete
println
- (3ee06a7) chore(deps): update dependencies
- (332c703) chore(log): allow put
DEBUG
log to file whendev
env
Full Changelogs
v2.13.0 (Scarlet Nanayaku)
「私は、ユウイ・ナナヤク」
森博嗣.女王の百年密室 GOD SAVE THE QUEEN 百年シリーズ(講談社文庫)(p.37).講談社.Kindle版.
Refactors
- (17ef3a7) refactor: move router and related instances from
BootStrap
toModules
- (5fd894f) refactor: change type parameter order
- (2989b04) refactor: rename
Transactor
toExecuter
- (f2efc42) refactor: rename implicit from
transactor
toexecuter
- (ab41433) refactor(db): inject
doobie.transactor
instead ofconfig
- (21cac79) refactor(db): comment out unnecessary `ExecutionContext
Test
- (c24677c) test: delete unnecessary be verb
Docs
CI/CD
- (f4e051d) ci: enable
workflow_dispatch
Docker
- (60d67a9) chore(docker/db): bump
mariadb
from10.11.6
to10.11.7
- (4cb0935) chore(docker): bump
mariadb
from10.11.x
to11.4.x
Dependencies
- (65f88f3) chore(docs/deps): bump dependencies
- (7ae35a8) chore: bump
sbt
from1.9.9
to1.10.0
- (24a79e0) chore(deps): comment out unused deps for testing
- (c1979df) chore(deps): update dependencies
- (544c2a7) chore(deps): bump
@redocly/cli
from1.8.2
to1.10.4
- (0fd15c1) chore: update scala from
3.4.0
to3.4.1
- (c337c4c) chore(plugins): update plugins
- (698b751) chore(plugins): delete
wartremover
- (f850be7) chore(deps): update dependencies
- (c80d78b) chore(plugins): update plugins
- (888a560) chore: bump scala from
3.4.1
to3.4.2
- (4db10a4) chore(docs/deps): update dependencies
- (da271c3) chore(deps): update dependencies
Others
- (6b5cefe) perf: use
HikariCP
instead ofJDBC DriverManager
for manage connection- (e22125a) Revert "perf: use
HikariCP
instead ofJDBC DriverManager
for manage connection"
- (e22125a) Revert "perf: use
Full Changelog
v2.12.0 (Scarlet Magata)
「私は、真賀田四季です。貴女が不審に思うような、他の人格ではありません」
森博嗣.すべてがFになる THEPERFECTINSIDERS&Mシリーズ(講談社文庫)(p.12).講談社.Kindle版.
Breaking Changes (But no-bump major version)
- Java 21.x Support (and drop Java 17 Support)
- Error Response
- (3a06ed9) feat(http): error responses are in accordance with
RFC7807
- (3a06ed9) feat(http): error responses are in accordance with
- Add
v1
prefix to each endpoints- (51f9e4b) refactor(http): append
/v1
versioning prefix on each endpoint
- (51f9e4b) refactor(http): append
Notable Changes
- Scala 3.4.0
- (fb62001) chore: bump scala from
3.3.3
to3.4.0
- (fb62001) chore: bump scala from
New Features
- (287be32) feat(http/search): returns accumulated errors when search query params are invalid
Fixes
- (2dd0778) fix(http/content): excludes whitespace length from content length
- (81ae0ce) fix(contents): return
404
instead of raise error if content not found
Recfactors
- (7a6cb89) refactor: use
F[_]
instead ofM[_]
for Higher-Kinded Types - (4f5edc7) refactor(syntax): more abstraction, use
HKT
instead ofIO
- (199e160) refactor(db/transactor): more abstraction, use
Monad
for HKT instead ofIO
- (b7ed267) refactor(syntax): use
Monad
instead ofIO
for more abstraction - (588f86a) refactor(auth/jwt): use
Monad
instead ofIO
for more abstraction - (9670be5) refactor(syntax/throwable): use
Monad
instead ofIO
for more abstraction - (06982f8) refactor: re-structure
Fail
case classes - (8e6dbbe) refactor(http): rewrite error handling
- (abcaf5a) refactor(domains/repository): move into
repositories
directory - (565fba7) refactor: rename case class for read db row
- (5580144) refactor(docs/rest-api): devide file
- (bbc93e9) refactor: use
Context Functions
if possible - (eb46d65) refactor: use
using
or add comment - (dd20aee) refactor: use
log4cats
inBootStrap
instead ofslf4j
- (12e4f85) refactor(db): avoid using
unsafeRunSync()
in db migration - (3bdcbf2) refactor(http):
MethodNotAllowSupport
trait more abstract - (d43f008) fix(db/migrate): delete return types and run
unsafeRunSync
before select a data from db - (4650e3f) refactor(search): divide extract and validate search query function
- (858b091) refactor(http): delete unnecessary
implicit val
- (8ef223d) refactor(domain/repository): type classes
- (72ea9bc) refactor: escape reserved words instead of append suffix
- (a35c9e5) refactor(logger): move
log4catsLogger
instance fromBootStrap
toModules
Docker
- (9cd0a9f) chore(docker): update
db
image forlocal
andtest
- (5b78f73) chore(docker): add
--no-install-recommends
for install packages - (3637cc5) chore(docker): reduce image size with multi stage build
- (df9e4d5) chore(docker): enable
QUALTET_HTTP_ENDPOINT_SYSTEM_METADATA_ENABLED
on example docker compose file - (47b34d8) chore(docker): rename example docker compose file
- (e919585) chore(docker): bump runtime base image
- (d387505) docker: bump builder's image
Test
- (04609be) test: delete unnecessary import
- (70b4e59) test(http): assert JSON for error cases
- (badbbc7) test(http): add
TODO
comment - (571217d) test(http): assert
Content-Type
explicitly in all endpoint - (b9db55d) test(http): assert JSON response for all endpoints
CI
- (f019d3e) chore(ci): bump
actions/checkout
from3
to4
- (5b1c658) chore(ci): bump
actions/setup-java
from3
to4
- (3b6c562) chore(ci): update
actions
- (8f5ee22) chore(ci): bump
actions/cache
from@v3
to@v4
- (3a4fc84) ci: update cache settings
- (3cfb94c) ci: use
coursier/cache-action
instead ofactions/cache
- (6b43c03) ci: run compile before cache
- (7923bcc) ci: ignore take a coverage
- (e313dcd) ci: fix typo
- (af9429b) ci: enable take coverage and send report
- (1005acb) ci: bump scala from
3.3.1
to3.3.3
Dependencies
- (cfdcf38) chore(deps): update dependencies
- (ed3989a) docs(deps): update dependencies
- (294ef93) docs: bump dependencies
- (04eaf73) chore(deps): update dependencies
- (9aae68f) chore(deps): update dependencies
- (e4629f6) chore(plugins): update plugins
- (049b061) chore(deps): update dependencies
- (e7e7ea5) chore(deps): bump dependencies
- (3927898) chore: bump sbt from
1.9.7
to1.9.9
- (59af9ea) chore: bump scala from
3.3.1
to3.3.3
Docs
- (1883c9e) docs: update releases
- (3f73935) fix(docs/rest-api): fix wrong respons and etc
- (65d82c4) docs: update npm required engine version
- (c66c834) docs(openapi): add
deprecated
option tostatus
endpoint - (739ff1c) docs(openapi): add
request
andresponse
header description - (0620b8c) docs(openapi): update
externalDocs
url - (d55ea19) docs(openapi): fix typo
- (8ed98fa) docs(openapi): update
headers
section - (7d8a6ad) docs(openapi): add
External Resources
section - (dde8e71) docs: update
README.md
- (1931c47) docs: update
README.md
- (c503e32) docs: update LICENSE year
- (917a0fe) docs: fix example
docker-compose.yml
url - (e364154) docs: fix wrong library name
- (c8b7565) docs(deps): update dependencies
- (2a8ab29) docs(rest-api): add
NOTE
section - (71d40f6) docs(README): update coverage badge
- (145b831) docs(README): update coverage badge
- (1e579ef) docs: add missing
robotsAttributes
description - (3eb094a) docs(rest-api): memtion to which content excludes from the response
Misc
- (2f9fdbb) chore: add
TODO
andFIXME
comment - (176c332) chore: add comment
- (2853f48) chore: suppress
SeqApply
in recursive function - (386b390) chore: update
scalafmt
settings - (5d534cb) fix(tools): some fixes
Full Changelog
v2.11.0 (Scarlet Linda)
一人娘 で、リンダといった。
森博嗣. 幽霊を創出したのは誰か? Who Created the Ghost? WWシリーズ(講談社タイガ)(p.12).講談社.Kindle 版.
Docker
- (ab76c9c) chore(docker): bump
docker-sbt
image - (30cd028) chore(docker): bump
docker-sbt
version - (b40a9ff) chore(docker): bump base image
- (db733ba) chore(docker): delete unnecessary layer, package and files
CI/CD
- (d6670fa) ci: add
Java 21
to matrix
Dependencies
- (28dc8a0) chore(deps): bump scala from
3.3.0
to3.3.1
- (c79f558) chore(deps): update dependencies
- (e3392cd) chore(plugins): bump
scalafmt
- (ad81022) chore(plugins): bump plugins
- (939af1b) chore(deps): specify
log4cats
- (dd98c6f) chore(deps): update dependencies
- (cbd8785) chore(plugins): delete
sbt-license-report
plugin
Full Changelog
v2.10.0 (Scarlet Kanmapa)
ナクチュの区長であり、ここのリーダでもあるカンマパの許可を既に得てある。
森博嗣.風は青海を渡るのか? The Wind Across Qinghai Lake? Wシリーズ(講談社タイガ)(p.18).講談社.Kindle版.
Breaking Changes (but not bump major version)
- (11506b1) refactor(http/status): drop
status
endpoint
Notable Changes
- (81ad641) chore(deps): bump
http4s
from1.0.0-M39
to1.0.0-M40
and bumpcats-effect
from3.4.11
to3.5.1
Docker
- (de48746) chore(docker): bump
docker-mariadb
fromv10.11.4
tov10.11.5
CI / CD
- (500ef21) Revert "chore(plugin): bump
sbt-coveralls
from1.3.9
to1.3.11
"
Dependencies
Docs
- (d979ac3) docs(releases): add appendix section
Misc
- (3f4b854) docs(releases): fix typo
Full Changelog
v2.9.1
v2.9.0 (Scarlet Judy)
名前は、ジュディという。君に話しかけることはないと思う。控えめなのでね
森博嗣. 血か、死か、無か? Is It Blood, Death or Null? Wシリーズ (講談社タイガ) (p.153). 講談社. Kindle 版.
New Features
- Add
system/metadata
endpoint and related commits- (a5cdbf1) feat(http/system): add
metadata
endpoint - (4dc0381) feat(http/system): configurable
metadata
endpoint enable or not - (306c813) refactor(http/metadata): if expression
- (152a791) refactor(config): reorganize stracture
- (743598d) pref(http/system): use
lazy val
for getmetadata
- (a4a9e9c) feat(http/system): return more field when
GET
request tometadata
endpoint - (c254ec7) test(http/system): delete unnecessary var
- (a5cdbf1) feat(http/system): add
- Add
system/health
endpoint and related commits - (2b3988b) feat(docker): set a commit hash when build a docker image
- (237856f) feat(buildInfo): add
repository
- (97ba7ca) feat(logging): logging application info when boot a server
Refactor
- (c9fb76d) refactor: use
ResourceApp.Forever
instead ofIOApp
- (54807d2) refactor: delete unnecessary
import
,val
andargs
- (24aaf01) refactor(http): use
map[F]
instead offor-comprehension
- (075919b) refactor(docker): use v2 compose command in sbt task
CI / CD
- (98a17f0) fix(ci): ci doesn't run if change
Dockerfile
Test
- (764cfcd) test(http/system): nested should
Dependencies
- (9c0e66d) chore(deps): update dependencies
- (7a51202) chore(plugin): bump
sbt-coveralls
from1.3.9
to1.3.11
- (398eb50) chore: bump
scalafmt
from3.7.9
to3.7.12
Docs
Misc
- (a5573d5) chore(plugins): add
sbt-buildinfo
andsbt-git
- (12ee11d) chore(deps/docs): update dependencies
- (294d1fc) chore(http): add
withShutdownTimeout
option - (a933e22) chore: update compiler options
- (c5e5c46) chore(http): fix typo
Full Changelog
v2.8.0 (Scarlet Iman)
イマンという名で呼ばれていたそうだが、その……、人間を殺した最初の人工知能と呼ばれていたらしい
森博嗣. 血か、死か、無か? Is It Blood, Death or Null? Wシリーズ (講談社タイガ) (p.37). 講談社. Kindle 版.
New Features
- (c5e6a3a) feat(http): add
X-Request-Id
header to response and refactorhttpApp
build sequence - (b247ebb) feat(auth): case insensitive
Bearer
support - (51774df) feat(docker): define
QUALTET_VERSION
ENV - (25e8823) feat(tags): return
count
fields that related number of articles
Fixes
- (7f2a1e9) fix(http/cors): avoid allow all origin if config contains invalid URL
- (2618170) fix(http/queryParams):
limit
default value from1
to10
Refactors
- (a71105a) refactor(contents): delete
requestId
field - (27817d0) test(CORS): add test case for
CorsProvider
- (e1ad0ca) refactor(http): remove
orNotFound
method fromRouter
class and applyCORS
to router bulky - (58a0c1f) chroe: clean up
import
- (b3497f5) refactor(http/cors): use
AllowOriginAll
explicitly if cors config is empty - (c55d8d6) refactor(http/router): clean up
import
- (e27d102) refactor(http/queryParams): move from
Router
class tosyntax
trait and add test cases - (cce8366) refactor(http): move
HttpRoutes.of
methods fromRouter
class to eachRoutes
classes - (419a3dc) refactor(http): move
HttpApp
builder fromBootStrap
toHttpAppBuilder
- (7645d0b) refactor(auth): delete redundant pattern match
- (a54cf99) refactor(auth): clean up
import
Test
- (30eddb4) test(cors): add
empty
test case - (a2f8464) test(http/header): add test case for additional headers
Dependencies
- (0240403) chore(deps): bump sbt from
1.9.0
to1.9.3
Misc
Docs
- (501fa73) docs(docker): add
Environment variables
section - (a0e93d6) docs: add
Using Stack
section - (7d81caa) docs: update
README.md
- (bb5a1fe) docs(features): fix typo
Full Changelog
v2.7.0 (Scarlet Hagiri)
「ハギリ先生ですね?」そう言った。日本語だ。
森博嗣.彼女は一人で歩くのか? Does She Walk Alone?Wシリーズ(講談社タイガ)(p.8).講談社.Kindle版.
New Features
- (a1a6ca4) feat(contents): return content length
- (43927e8) feat(http): add
X-Response-Time
header to response
Performances
- (bfc2f86) perf: use
opaque type
instead ofvalue class
Refactor
- (8b00b3b) refactor: rename variable
- (faabdcc) refactor: extends trait for
value extension
- (96feed5) refactor: extends
apply
method forId
field - (e8e0bf0) refactor(contents): use
ContentId.apply()
- (5cfbc33) refactor: delete unnecessary import
- (2e2ff5d) refactor: move the db migration process into the
run
method to make the booting process easier to understand - (8ea19bc) refactor(cors): delete unnecessary import
Docs
Dependencies
- (1f7f299) chore(deps): bump
scalafmt
from3.5.9
to3.7.9
- (fed07d4) chore(plugins): update plugins
- (9135c2d) chore(deps): update dependencies
- (a405617) chore(docs/deps): bump
@redocly/cli
from^1.0.0-beta.127
to1.0.0
- (bbc11e4) chore: bump docs
package.json
version