Skip to content

v2.12.0 (Scarlet Magata)

Latest
Compare
Choose a tag to compare
@yoshinorin yoshinorin released this 08 Mar 14:02
· 18 commits to master since this release
71e0a80

「私は、真賀田四季です。貴女が不審に思うような、他の人格ではありません」
森博嗣.すべてがFになる THEPERFECTINSIDERS&Mシリーズ(講談社文庫)(p.12).講談社.Kindle版.

Breaking Changes (But no-bump major version)

  • Java 21.x Support (and drop Java 17 Support)
    • (fcec78e) docs: add Java 21.x support
    • (2f2339f) chore(docker): use jdk21 image
    • (376afe5) ci: drop java 17
  • Error Response
    • (3a06ed9) feat(http): error responses are in accordance with RFC7807
  • Add v1 prefix to each endpoints
    • (51f9e4b) refactor(http): append /v1 versioning prefix on each endpoint

Notable Changes

  • Scala 3.4.0
    • (fb62001) chore: bump scala from 3.3.3 to 3.4.0

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 of M[_] for Higher-Kinded Types
  • (4f5edc7) refactor(syntax): more abstraction, use HKT instead of IO
  • (199e160) refactor(db/transactor): more abstraction, use Monad for HKT instead of IO
  • (b7ed267) refactor(syntax): use Monad instead of IO for more abstraction
  • (588f86a) refactor(auth/jwt): use Monad instead of IO for more abstraction
  • (9670be5) refactor(syntax/throwable): use Monad instead of IO 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 in BootStrap instead of slf4j
  • (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 from BootStrap to Modules

Docker

  • (9cd0a9f) chore(docker): update db image for local and test
  • (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 from 3 to 4
  • (5b1c658) chore(ci): bump actions/setup-java from 3 to 4
  • (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 of actions/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 to 3.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 to 1.9.9
  • (59af9ea) chore: bump scala from 3.3.1 to 3.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 to status endpoint
  • (739ff1c) docs(openapi): add request and response 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 and FIXME 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...v2.12.0