Releases: yoshinorin/qualtet
Release list
v2.15.0 (Scarlet Penerapi)
「助っ人を呼びました」ロジが僕に囁いた。「ペネラピです」
森博嗣.君たちは絶滅危惧種なのか? Are You Endangered Species? WWシリーズ(講談社タイガ)(p.98).講談社.Kindle版.
Refactor
- (51ed717) refactor: rename from
actiontocont - (2a472f0) refactor: delete unnecessary import
- (901663d) refactor(auth/jwt): use
giveninstead ofimplicit val - (86ac6cd) refactor(dpc/rest-api): reorganaize directory structures
- (ab86388) refactor(model/content): rename from
ReadContentDbRowtoContentReadModel - (1beedba) refactor(domains/models): add
modelsdirectory to eachdomainsdirectory - (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
givenfordoobie - (5c668ef) refactor(models): delete meaningless model
- (b7aae35) refactor(domain/contentSerializing): use
bulkUpsertinstead 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
ErrortoErrors - (1b244f4) refactor(domain/errors): delete
titlefield in calse classes - (3997cd2) refactor(domain/errors): rename
sealed traitfromErrortoDomainError - (5b7b799) refactor(http/errors): reorganize package
- (16bab87) refactor(errors): move
ProblemDetailsErrorcase class fromhttptodomains - (d37a3fa) refactor(domains): rename
RequestandResponsemodels - (41f6cf7) refactor(models/content): rename from
ContentResponseModeltoContentDetailResponseModel - (6b29ae7) refactor(content): separating
Responsecase class fromContentclass
Docker
- (89e8c67) chore(docker): bump JDK from
jammytonoble - (720d077) chore(docker): bump
mariadbfrom11.4.2to11.4.3
Misc
- (97bfd98) chore: use
-Xkind-projectorinstead 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-coverallsfrom1.3.9to1.3.13 - (04d61df) chore: bump sbt from
1.10.0to1.10.1 - (796fcaa) chore: bump scalafmt from
3.7.17to3.8.3 - (75622ff) chore: bump
scalafrom3.4.2to3.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.0to3.5.2and bump sbt from1.10.1to1.10.4 - (45b837c) chore(deps): update dependencies
- (d7c6b7e) chore(deps): bump
http4sfrom1.0.0-M42to1.0.0-M43 - (b99b606) chore(deps): update dependencies
- (5a6de84) chore(deps): update plugins
- (1650f65) chore(deps): bump
cats-effectfrom3.5.5to3.5.7
Docs
- (5ad060b) docs(rest-api): rename from
contents/post.ymltocontents/upsert.yml - (2fb02d3) fix(docs/rest-api): fix filename from
getbyPath.ymltogetByPath - (a370659) fix(docs/rest-api): append
requiredto 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/clifrom1.25.5to1.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
HikariCPinstead ofJDBC DriverManagerfor manage connection- (f980bd8) feat(db): read connection pool settings from config
Refactors
- (113ec55) refactor(http): delete
MethodNotAllowedSupporttrait* (be90602) chore: deleteTODOcomments.http4sdisallowed set
Allowheaders - (2af3db7) refactor: clean up redundant code
- (b441f9e) refactor: delete unnecessary val
- (127c0c5) refactor(tasks): delete unnecessary code
- (5db7014) refactor: move and rename
ProblemDetailscase class - (2449a39) refactor: use
cats.data.ContTinstead ofAction - (ef657a4) refactor: delete unnecessary val
- (ee63f9b) refactor: rename from
ErrortoProblemDetailsError - (2cf2b39) refactor: rename
FailtoErrorand move into thedomainspackage - (c347ec1) refactor: more accurate naming
- (7da30ee) refactor: move
log4catsLoggergiven instance from class to companion object - (a688372) refactor: better scope
- (2755cf6) refactor: do not refer
Modulesdirectory - (6445d56) refactor(config): delete unnecessary nested structure in
db - (9fae87b) refactor(task): rename from
CreateAuthortoCreateOrUpdateAuthor - (b1ae31a) refactor(test): move some
valintobeforeAll
Test
- (b74af35) test(task): enable comment-outed assertion
CI/CD
- (96a3c8d) ci: update
actions/setup-nodefromv3tov4
Dependencies
- (2c240ad) chore(plugins): downgrade
sbt-coverallsfrom1.3.11to1.3.9 - (7386022) chore(deps): update dependencies
- (77ac627) chore(deps): bump
mariadb-java-clientfrom3.3.3to3.4.0
Docs
- (394fcd2) docs: tweak
Misc
- (36c84e7) chore(log): suppress
DEBUGlevel on STDOUT - (6bc389d) chore(docs/deps): update
@redocly/clifrom1.14.0to1.18.0 - (9658416) chore: delete old comment-outed code
- (156da7a) chore(docker): remove
versionschema from compose file - (4c27c4d) chore: update
.env.example - (62dd168) chore: delete
println - (3ee06a7) chore(deps): update dependencies
- (332c703) chore(log): allow put
DEBUGlog to file whendevenv
Full Changelogs
v2.13.0 (Scarlet Nanayaku)
「私は、ユウイ・ナナヤク」
森博嗣.女王の百年密室 GOD SAVE THE QUEEN 百年シリーズ(講談社文庫)(p.37).講談社.Kindle版.
Refactors
- (17ef3a7) refactor: move router and related instances from
BootStraptoModules - (5fd894f) refactor: change type parameter order
- (2989b04) refactor: rename
TransactortoExecuter - (f2efc42) refactor: rename implicit from
transactortoexecuter - (ab41433) refactor(db): inject
doobie.transactorinstead 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
mariadbfrom10.11.6to10.11.7 - (4cb0935) chore(docker): bump
mariadbfrom10.11.xto11.4.x
Dependencies
- (65f88f3) chore(docs/deps): bump dependencies
- (7ae35a8) chore: bump
sbtfrom1.9.9to1.10.0 - (24a79e0) chore(deps): comment out unused deps for testing
- (c1979df) chore(deps): update dependencies
- (544c2a7) chore(deps): bump
@redocly/clifrom1.8.2to1.10.4 - (0fd15c1) chore: update scala from
3.4.0to3.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.1to3.4.2 - (4db10a4) chore(docs/deps): update dependencies
- (da271c3) chore(deps): update dependencies
Others
- (6b5cefe) perf: use
HikariCPinstead ofJDBC DriverManagerfor manage connection- (e22125a) Revert "perf: use
HikariCPinstead ofJDBC DriverManagerfor 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
v1prefix to each endpoints- (51f9e4b) refactor(http): append
/v1versioning prefix on each endpoint
- (51f9e4b) refactor(http): append
Notable Changes
- Scala 3.4.0
- (fb62001) chore: bump scala from
3.3.3to3.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
404instead of raise error if content not found
Recfactors
- (7a6cb89) refactor: use
F[_]instead ofM[_]for Higher-Kinded Types - (4f5edc7) refactor(syntax): more abstraction, use
HKTinstead ofIO - (199e160) refactor(db/transactor): more abstraction, use
Monadfor HKT instead ofIO - (b7ed267) refactor(syntax): use
Monadinstead ofIOfor more abstraction - (588f86a) refactor(auth/jwt): use
Monadinstead ofIOfor more abstraction - (9670be5) refactor(syntax/throwable): use
Monadinstead ofIOfor more abstraction - (06982f8) refactor: re-structure
Failcase classes - (8e6dbbe) refactor(http): rewrite error handling
- (abcaf5a) refactor(domains/repository): move into
repositoriesdirectory - (565fba7) refactor: rename case class for read db row
- (5580144) refactor(docs/rest-api): devide file
- (bbc93e9) refactor: use
Context Functionsif possible - (eb46d65) refactor: use
usingor add comment - (dd20aee) refactor: use
log4catsinBootStrapinstead ofslf4j - (12e4f85) refactor(db): avoid using
unsafeRunSync()in db migration - (3bdcbf2) refactor(http):
MethodNotAllowSupporttrait more abstract - (d43f008) fix(db/migrate): delete return types and run
unsafeRunSyncbefore 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
log4catsLoggerinstance fromBootStraptoModules
Docker
- (9cd0a9f) chore(docker): update
dbimage forlocalandtest - (5b78f73) chore(docker): add
--no-install-recommendsfor install packages - (3637cc5) chore(docker): reduce image size with multi stage build
- (df9e4d5) chore(docker): enable
QUALTET_HTTP_ENDPOINT_SYSTEM_METADATA_ENABLEDon 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
TODOcomment - (571217d) test(http): assert
Content-Typeexplicitly in all endpoint - (b9db55d) test(http): assert JSON response for all endpoints
CI
- (f019d3e) chore(ci): bump
actions/checkoutfrom3to4 - (5b1c658) chore(ci): bump
actions/setup-javafrom3to4 - (3b6c562) chore(ci): update
actions - (8f5ee22) chore(ci): bump
actions/cachefrom@v3to@v4 - (3a4fc84) ci: update cache settings
- (3cfb94c) ci: use
coursier/cache-actioninstead 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.1to3.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.7to1.9.9 - (59af9ea) chore: bump scala from
3.3.1to3.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
deprecatedoption tostatusendpoint - (739ff1c) docs(openapi): add
requestandresponseheader description - (0620b8c) docs(openapi): update
externalDocsurl - (d55ea19) docs(openapi): fix typo
- (8ed98fa) docs(openapi): update
headerssection - (7d8a6ad) docs(openapi): add
External Resourcessection - (dde8e71) docs: update
README.md - (1931c47) docs: update
README.md - (c503e32) docs: update LICENSE year
- (917a0fe) docs: fix example
docker-compose.ymlurl - (e364154) docs: fix wrong library name
- (c8b7565) docs(deps): update dependencies
- (2a8ab29) docs(rest-api): add
NOTEsection - (71d40f6) docs(README): update coverage badge
- (145b831) docs(README): update coverage badge
- (1e579ef) docs: add missing
robotsAttributesdescription - (3eb094a) docs(rest-api): memtion to which content excludes from the response
Misc
- (2f9fdbb) chore: add
TODOandFIXMEcomment - (176c332) chore: add comment
- (2853f48) chore: suppress
SeqApplyin recursive function - (386b390) chore: update
scalafmtsettings - (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-sbtimage - (30cd028) chore(docker): bump
docker-sbtversion - (b40a9ff) chore(docker): bump base image
- (db733ba) chore(docker): delete unnecessary layer, package and files
CI/CD
- (d6670fa) ci: add
Java 21to matrix
Dependencies
- (28dc8a0) chore(deps): bump scala from
3.3.0to3.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-reportplugin
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
statusendpoint
Notable Changes
- (81ad641) chore(deps): bump
http4sfrom1.0.0-M39to1.0.0-M40and bumpcats-effectfrom3.4.11to3.5.1
Docker
- (de48746) chore(docker): bump
docker-mariadbfromv10.11.4tov10.11.5
CI / CD
- (500ef21) Revert "chore(plugin): bump
sbt-coverallsfrom1.3.9to1.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/metadataendpoint and related commits- (a5cdbf1) feat(http/system): add
metadataendpoint - (4dc0381) feat(http/system): configurable
metadataendpoint enable or not - (306c813) refactor(http/metadata): if expression
- (152a791) refactor(config): reorganize stracture
- (743598d) pref(http/system): use
lazy valfor getmetadata - (a4a9e9c) feat(http/system): return more field when
GETrequest tometadataendpoint - (c254ec7) test(http/system): delete unnecessary var
- (a5cdbf1) feat(http/system): add
- Add
system/healthendpoint 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.Foreverinstead ofIOApp - (54807d2) refactor: delete unnecessary
import,valandargs - (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-coverallsfrom1.3.9to1.3.11 - (398eb50) chore: bump
scalafmtfrom3.7.9to3.7.12
Docs
Misc
- (a5573d5) chore(plugins): add
sbt-buildinfoandsbt-git - (12ee11d) chore(deps/docs): update dependencies
- (294d1fc) chore(http): add
withShutdownTimeoutoption - (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-Idheader to response and refactorhttpAppbuild sequence - (b247ebb) feat(auth): case insensitive
Bearersupport - (51774df) feat(docker): define
QUALTET_VERSIONENV - (25e8823) feat(tags): return
countfields that related number of articles
Fixes
- (7f2a1e9) fix(http/cors): avoid allow all origin if config contains invalid URL
- (2618170) fix(http/queryParams):
limitdefault value from1to10
Refactors
- (a71105a) refactor(contents): delete
requestIdfield - (27817d0) test(CORS): add test case for
CorsProvider - (e1ad0ca) refactor(http): remove
orNotFoundmethod fromRouterclass and applyCORSto router bulky - (58a0c1f) chroe: clean up
import - (b3497f5) refactor(http/cors): use
AllowOriginAllexplicitly if cors config is empty - (c55d8d6) refactor(http/router): clean up
import - (e27d102) refactor(http/queryParams): move from
Routerclass tosyntaxtrait and add test cases - (cce8366) refactor(http): move
HttpRoutes.ofmethods fromRouterclass to eachRoutesclasses - (419a3dc) refactor(http): move
HttpAppbuilder fromBootStraptoHttpAppBuilder - (7645d0b) refactor(auth): delete redundant pattern match
- (a54cf99) refactor(auth): clean up
import
Test
- (30eddb4) test(cors): add
emptytest case - (a2f8464) test(http/header): add test case for additional headers
Dependencies
- (0240403) chore(deps): bump sbt from
1.9.0to1.9.3
Misc
Docs
- (501fa73) docs(docker): add
Environment variablessection - (a0e93d6) docs: add
Using Stacksection - (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-Timeheader to response
Performances
- (bfc2f86) perf: use
opaque typeinstead ofvalue class
Refactor
- (8b00b3b) refactor: rename variable
- (faabdcc) refactor: extends trait for
value extension - (96feed5) refactor: extends
applymethod forIdfield - (e8e0bf0) refactor(contents): use
ContentId.apply() - (5cfbc33) refactor: delete unnecessary import
- (2e2ff5d) refactor: move the db migration process into the
runmethod to make the booting process easier to understand - (8ea19bc) refactor(cors): delete unnecessary import
Docs
Dependencies
- (1f7f299) chore(deps): bump
scalafmtfrom3.5.9to3.7.9 - (fed07d4) chore(plugins): update plugins
- (9135c2d) chore(deps): update dependencies
- (a405617) chore(docs/deps): bump
@redocly/clifrom^1.0.0-beta.127to1.0.0 - (bbc11e4) chore: bump docs
package.jsonversion