Skip to content

Releases: yoshinorin/qualtet

v2.6.0 (Scarlet Gamila)

01 Jul 14:31
ddd5b7c
Compare
Choose a tag to compare

「ガミラに会えることになった。今から行くかね?」
森博嗣.血か、死か、無か? Is It Blood, Death or Null?Wシリーズ(講談社タイガ)(p.67).講談社.Kindle版.

New Features

  • (66d1a86) feat(content): return id when GET a content

New Features (For Internal use)

  • (9011486) feat: add asEither for Option[_]

Fixes

  • (27e4b70) fix(log): enalbe ConsoleAppender and print STDOUT always
  • (76e0541) fix(auth): return correct statuscode (from 500 to 401)
  • (a4c799e) fix(http/content): return 422 instead of 404 if author, content-type and series is not exists

Refactors

  • (9c77eff) refactor(auth): use more meaningful type for onFailure
  • (2b31e1c) refactor(logback): delete unnecessary comment out
  • (857bc11) refactor: delete unnecessary commented out
  • (9ef42f0) refactor: use * instead of _ for import syntax
  • (bda3275) refactor(http): add RequestQueryParamater case class for request

Test

  • (ae49d23) test(content): add test case
  • (410edfc) test(syntax): add orThrow test case

Dependencies

  • (8a4b75a) chore(deps): update
  • (228307a) chore(deps): bump doobie from 1.0.0-RC2 to 1.0.0-RC4
  • (c7660e4) chore(plugins): update plugins

Miscs

  • (00e3e94) chore(auth): add type annotation to pattern match
  • (3118830) chore: add -Ykind-projector compiler option
  • (fcd639b) chore(articles): fix typo
  • (fa30d17) chore: build.sbt code format

Full Changelog

v2.5.0...v2.6.0

v2.5.0 (Scarlet Fouri)

22 Jun 15:34
ee38b4f
Compare
Choose a tag to compare

「フーリです。彼女はここで、数学と物理学を教えています」
森博嗣. 私たちは生きているのか? Are We Under the Biofeedback? Wシリーズ (講談社タイガ) (p.125). 講談社. Kindle 版.

New Features

  • Series Feature (Supports create and update. Not yet supports delete.)
    • (455d08e) feat(series): add series table
    • (1c47962) feat(series): implement GET: /series/<seriesPath>
    • (b1552a1) feat(series): implement GET: /series/
    • (f881369) fix(series): typo of table column name
    • (fd4ac48) fix(series): findByPath hardcorded value
    • (a1f3012) feat(series): implement upsert(POST) series
    • (396619a) chore(series): rename junction table for contents and series
    • (b616649) chore(series): rename table column from path to name
    • (b32f2c7) feat: return 404 if series not found when POST a content
    • (d2b98a5) feat(series): implement ContentSerializing domain
    • (8d905a4) feat(series): implement upsert to ContentSerializingRepository and ContentSerializingService
    • (df44bba) feat(series): upsert ContentSerializing table when upsert a Content
    • (c6a8ec2) fix(content): include contentSerializingUpsert to transaction
    • (403dcb3) feat(series): return series by name
    • (b9d5802) feat(series): implement get and return series with related articles
    • (fd4026a) test(series): add SeriesServiceSpec
    • (362bdc6) fix(series): validate name is not empty when POST a series
    • (af39c42) fix(http/series): error handling
    • (63d7cc4) test(http/series): add test for http routes
    • (a230985) test(http/series): workaround for CI red
    • (5a7ffb6) docs: update ERD
    • (a055ad1) docs(fix/rest-api): add 404 response
    • (b8b76fd) docs(fix/rest-api): rename path to name

Fixes

  • (810db1c) fix(log): put exception to STDOUT if envval QUALTET_ENV=dev

Refactors

  • (802ae3d) refactor: use === instead of ==
  • (58ca4ef) refactor: rename implicit context
  • (bb1af2f) refactor(db): rename type annotations
  • (9c64667) refactor: rename from getDevServerPID to getLocalServerPID
  • (45a0b9e) refactor(http): set default host and port if they None
  • (250eaee) refactor: rename from DoobieContext to DoobieTransactor
  • (cac76b2) refactor: file rename from DoobieContext to DoobieTransactor
  • (9cb8f9f) refactor: use java.net.URI instead of java.net.URL
  • (b8c5922) refactor(build/task): divide test task from docker task

Test

  • (5c54fa9) test: ignore meaningless (TODO) test case
  • (dcf7a28) test(http/tags): ignoe BeforeAndAfterAll for workaround
  • (cf2fbd8) test(http/tags): workaround for ci failuer
  • (2feb0b1) test: cleanup fixture
  • (348160a) test: implement fixure for create RequestContent instances
  • (462c55c) test: follow-up 8fd7072
  • (8fd7072) test: implement fixure for create contents
  • (a2e8197) test(http/tags): fix test failure caused by timing issue
  • (5ccbd48) test: use BeforeAndAfterAll for setup test data
  • (5e16373) test: rename implicit val in test
  • (0e1e273) test: fix compile error
  • (e8f0cee) test(docker): stores db data and logs in test-out-data

Docs

  • (28c0cb1) docs(remark): add Need Entropy section
  • (7c69582) docs: update README
  • (5d9fb4a) docs(rest-api): require npm v9.x and node 20.x
  • (d15ab39) docs(rest-api): update dependencies
  • (6a4ac11) docs: update requirements
  • (158ea8a) docs: update requirements
  • (b1210d1) docs: update features page
  • (cdc4800) docs: update features section
  • (d62d1e9) docs(rest-api): uniformalize versioning
  • (03de63f) docs(rest-api/deps): update dependencies
  • (2f8cbb7) docs: update copyright year
  • (21c8111) fix(docs): shutdown local docker db command
  • (461e4e8) docs: minor fix
  • (e470843) docs: add initialize local db section
  • (a5b09a7) docs: update README
  • (a5b407f) docs: update README abount depends on Hexo
  • (c973421) chore(docs): add Qualtet-CLI
  • (0432b54) docs: update development docs
  • (5efd424) docs: add ERD to README

CI / CD

  • (456223a) chore(ci): use scala 3.3.0
  • (4f9998f) chore(ci): add paths-ignore

Docker

  • (26b6b0c) chore(docker): bump base image
  • (c82a6b5) chore(docker): bump sbt image
  • (530b3d6) chore(docker): bump mariadb from 10.11.2 to 10.11.3

Dependencies

  • (f8f9de5) chore: bump scala from 3.2.2 to 3.3.0
    • (b6cafe7) chode: update assembly destination for build docker image
  • (6899926) chore(plugin): update wartremover from 3.0.11 to 3.1.1
  • (0bfac72) chore(plugin): bump wartremover from 3.1.1 to 3.1.3
  • (38d23e4) chore: bump sbt from 1.8.0 to 1.8.2
  • (f4eadcc) chore: bump sbt from 1.8.2 to 1.9.0
  • (716bfc7) chore(deps): update dependencies
  • (2fe58be) chore(deps): update dependencies
  • (6c90470) chore(deps): update dependencies
  • (ab6abb9) chore(deps): update dependencies

Misc

  • (8c8e09c) chore: delete println
  • (71fbfb5) chore(wart): suppress IterableOps warning
  • (0b389c6) chore(wart): delete unnecessary suppress annotation
  • (4046fc8) chore(wart): suppress AsInstanceOf warning
  • (1a024ef) chore(wart): suppress ToString warning
  • (698fd8b) chore(wartremover): delete unnecessary suppress warning annotation for wartremover
  • (65ce7dd) chore: code format

Full Changelog

v2.4.0...v2.5.0

v2.4.0 (Scarlet Eyes)

19 Apr 14:25
a1721ed
Compare
Choose a tag to compare

赤目姫の潮解 LADY SCARLET EYES AND HER DELIQUESCENCE

The main changes in this release is refactoring and re-architecting.

Refactors

  • (282a8bc) refactor(db): more abstraction
  • (25676ac) refactor: F[_]: Monad to M[_]: Monad
  • Scala 3 syntaxes
    • (cb7ba6d) refactor: use extension instead implicit class
    • (67ec99f) refactor: use using instead of implicit for providing context
    • (b47d357) refactor: use given instead of `implicit val
  • (1c3dd77) chore: delete .githooks and initialize procedure of sbt
  • (f93f618) chore: delete scalafix
  • (3c04d64) chore: delete Makefile
  • (09aa91f) refactor/fix(sbt/docker): use trait for docker command and task key change to unique
  • (1a63136) refactor: delete unnecessary import
  • (72a3364) refactor(sbt): move some tasks from build.sbt to project/LocalProcesses.scala
  • (0f98fde) refactor(sbt): move some tasks from build.sbt to project/Docker.scala

New Features (for develop commands)

  • (824c177) feat(sbt): implement Console that println wrapper
  • (c77762e) feat(sbt): improve visibility

Fixes

  • (6cea3b5) fix(log): print log with STDOUT only dev env
  • (0562fbf) fix(local/db): change docker container name for local dev

Test

  • (8dce5a5) test: delete unnecessary files

CI/CD

  • (642bf47) chore(ci): update actions
  • (3235f15) chore(ci): use COVERALLS_REPO_TOKEN instead of GITHUB_TOKEN
  • (9305ab3) chore(ci): add matrix.scala
  • (775a29b) chore(ci): update condition for building & publish docs
  • (cf5f1b6) chore(ci): set timeout for build application
  • (71424f3) chore(ci): ignore some paths when push a branch for application build
  • (22bb39a) chore(ci): update build & publish conditions

Dependencies

  • (6d5a9e6) chore(deps): update sbt-scoverage & sbt-coveralls
  • (621cc8d) chore(deps): update dependencies & plugins
  • (6539980) chore(deps): update dependencies
  • (61a7edd) chore: bump scala from 3.2.1 to 3.2.2
  • (057bfd3) chore(deps): update dependencies

Docs

  • (002953e) docs: enable coverage badge on README.md
  • (d018da0) docs: use & specify node.js 18+
  • (806d603) chore(ci): enable coverage report
  • (5bf36b6) fix(ci): update build & publish conditions
  • (c7a77c8) docs(rest-api): redoc-cli to @redocly/cli
  • (c9cedff) docs: update require mariadb version (follow up d5c9bb0)

Misc

  • (9435589) chore: add & delete comment
  • (d5c9bb0) chore(docker): bump mariadb from v10.6.10 to v10.11.2

Full Changelog

v2.3.0...v2.4.0

v2.3.0 (Scarlet Debou)

15 Feb 15:09
20a6dc4
Compare
Choose a tag to compare

「名前は、デボウ・スホといいます。敬称はいりません。デボウでけっこうですよ」
森博嗣. 女王の百年密室 GOD SAVE THE QUEEN 百年シリーズ (講談社文庫) (p.65). 講談社. Kindle 版.

New Features

  • (8783a9d) feat(search): exclude hits with url

Fixes

  • (8db1a3b) fix(auth/token): return correct HTTP status code when authorization failed
  • (e7dad5e) fix(contents): return contentId when POST a content

Dependencies

  • (ef20213) chore(deps): update dependencies
  • (58fce85) chore(deps): bump flyway from 9.11.0 to 9.14.1
  • (a99e33b) chore(deps): update dependencie

Docs

Misc

  • (e72ab0e) chore(docker): add docker-compose.local.yml for local development db

v2.2.0 (Scarlet Christina)

26 Jan 13:47
c4748b2
Compare
Choose a tag to compare

「クリスティナと名づけた。内緒でな」ヴォッシュは微笑む。
森博嗣.血か、死か、無か? Is It Blood, Death or Null?Wシリーズ(講談社タイガ)(p.154).講談社.Kindle版.

New Features

  • CORS Support
    • (17740ce) chore(script): fix script for export CORS settings
    • (1c8d8aa) feat(CORS): implement CORS
    • (dbe7b14) chore(tools): add checker for CORS etc
  • Configurable Search option
    • (5463259) feat(search): threshold values for validation const to configurable

Fixes

  • (cae6cab) fix(cache/feed): use correct config
  • (55fe95a) fix: partially revert f032584
  • (5d2766a) fix: Locale.ENGLISH to Locale.ROOT
  • (7481ac5) fix(http/search): BadRequest to UnprocessableEntity when invalid query params

Refactors

  • (a7bad8e) refactor(search): rename lambda
  • (3eae79a) refactor(types/points): rename method spread to expand
  • (072c1bd) refactor(types): add Points type as that alias of (Int, Int)
  • (bc6ea2a) refactor(config): devide all configs into each configs case class
  • (662e5bb) refactor(config): add final to each case classes
  • (785ecae) refactor(db): from object to class and rename from Migration to Migrator
  • (f1fdf45) refactor(build): cleanup
  • (1698740) refactor(build): divide wartremover settings into other file
  • (f335b85) refactor(deps): divided into other file
  • (f032584) refactor: like a Final Tagless
  • (4651e0f) refactor: implement toLower extends method
  • (eef0fed) refactor: delete unnecessary code

Docker

  • (65b2c19) chore(docker): delete unnecessary files when create docker image
  • (724cc7b) chore(docker): excludes tools directory when build docker image
  • (221642c) chore(deps): update dependencies

CI/CD

  • (7898c84) chore(ci): use .env instead of devenv.sh

Dependencies

  • (86c5ad5) chore(deps): update dependencies

Docs

  • (a23d504) docs: fix search api example response
  • (b33fea8) docs: fix typo
  • (e5e921b) docs: update remarks page
  • (0f01ee5) docs: fix typo
  • (cb4e51d) docs: add search api endpoint exmaple
  • (8298a3a) docs: some fix & additions

v2.1.0 (Scarlet Bosch)

01 Jan 12:21
Compare
Choose a tag to compare

僕が一番会いたかったのは、ドイツ人のハンス・ヴォッシュという博士だった。
森博嗣.魔法の色を知っているか? What Color is the Magic?Wシリーズ(講談社タイガ)(Kindleの位置No.807-808).講談社.Kindle版.

New Features

  • (41cbefa) feat(search): implement search feature
  • (2bdc23e) feat(log): write stacktrace

Fixes

  • (fdfa1db) fix(http): allow OPTION

Refactors

  • (7317502) refactor(search): rename argument
  • (a3a64eb) refactor: utils to actions

Dependencies

  • (93eccea) chore(deps): update dependencies

Tests

  • (417ac3f) test(search): fix test case
  • (fe4253d) test(search): fix test data and remove comment out for AND search test case
  • (4f6dbd3) test: use Uri.Path.unsafeFromString
  • (9ff3726) test: follow up 4f6dbd3

Misc

  • (8e009e2) chore(sbt): add kills and runs commands
  • (608d826) chore(log): enable JSON PrettyPrinting for STDOUT
  • (1855a0f) chore: update comment refs issue url

Docs

  • (6bcb944) docs: delete unnecessary front-matter from base.html for static site
  • (f87974d) docs: add dependency updates section
  • (fb7bbc7) docs: add configuration section
  • (1afdaf2) docs: add docker-integration section
  • (e3ac980) docs(README): update badge
  • (bc65761) docs(README): update badges

v2.0.0 (Scarlet Amira)

26 Dec 14:13
48cffda
Compare
Choose a tag to compare

「アミラは、本当は何という名ですか?」「スカーレットです。いえ、アミラでけっこうですよ」
森博嗣.青白く輝く月を見たか? Did the Moon Shed a Pale Light?Wシリーズ(講談社タイガ)(p.38).講談社.Kindle版.

Breaking Changes

  • Require Scala3 and related commits
    • (e4ae76d) feat(scala3): Hello! Scala3!!!
    • (e2d0ff2) docs: update docs
    • (cce71a7) ci(docs): delete copy assets step
    • (4fec65a) docs: rewrite docs
    • (cf8c73e) ci(docs): copy assets before publish a docs
    • (9031c9f) ci(docs): swap steps ordering
    • (16aa1d0) chore(docs/rest-api): fix build destination
    • (f831fb0) chore: update .gitignore
    • (83bcc21) chore(deps/docs/rest-api): update dependenceis
    • (dbc01a0) ci(docs): update names
    • (4d6d853) ci(docs): fix rest-api doc path
    • (81d0442) docs: generate website with scaladoc3
    • (e6ef324) chore(ci): skip send coverage report by upstream issue
    • (83ebf1c) chore(ci): delete cross-os test
    • (0966330) chore(ci): fix conditional operation by OS
    • (4f0eb59) Revert "fix(ci): conditional operator"
    • (931ad75) Revert "fix(ci): conditional operator by OS"
    • (537c142) fix(ci): conditional operator by OS
    • (7b97008) fix(ci): conditional operator
    • (6aa3a61) chore(ci): update test step
    • (f2171c9) chore(ci): test with Windows
    • (d2860a7) refactor: rename classes name
  • Require Java 17
  • (7829e62) feat(log): output with JSON format

Notable Changes

  • akka-http to http4s and related commits
    • (e3039bd) feat(http4s): migrate from akka-http to http4s
    • (bb4ec4a) feat(http): implement to return 405 if method not allowed in each endpoints
    • (3e808d2) feat(http): reject with Unauthorized if can't decode payload in token routes
    • (271a73e) refactor(http): delete unnecessary val with for-comprehension in auth routes
    • (fb3733a) chore: add TODO comment
    • (e88ed9d) feat(http): error handling in content routes
    • (4d98856) feat(http): implement Throwable to IO[Response[IO]]
    • (5f5994d) feat: logging when delete content
    • (9d50e88) refactor(author): delete unnecessary val
    • (52d71f4) feat(http/tag): implement error handling when delete
    • (5b570a6) feat(http): return 404 if tag is none
    • (2350ae6) feat(http/error): return as JSON format when domains raises exception
    • (800778a) feat(tags): logging when delete tag
    • (5de3647) feat(http/conetntType): return 404 if contentType is none
    • (3217a50) fix(http): return 404 if GET /xxxxxxx is not found
    • (5cb09ab) chore: code format & delete unnecessary import
    • (113abc5) refactor(http): move query paramaters from Router
    • (e2213e0) refactor(http): add alias for org.http4s.server.Router
    • (de7db6d) feat(syntax): new syntax for handle response
    • (65b64e5) test(http/content): more test
    • (1838436) test(http/content): remove unnecessary headers
    • (0f29ed2) fix(http/content): return Created instead of Ok when POST a content succeeded
    • (dc04570) feat(http/content): implement error handling
    • (709925d) feat(http/articlet): return 404 if articles is none
    • (abf33cf) chore: code format
    • (403555b) docs: update architecture image
    • (aacbbfe) feat(content): return 404 if content is none
    • (9a1797e) chore: update or delete some TODO comments
    • (e7ca3bb) feat(http): extract query parameters without http4s'
    • (ebcd216) fix(http/queryParams): add apply deal with ci red
    • (95d5328) fix(http/queryParams): override unapply

Features

  • (5dd0790) feat(syntax): implement orThrow for Option

Refactors

  • (efeed77) fix(contentTagging): rename class field to lowerCase
  • (20c833b) refactor: divide repository doobie implementation

Dependencies

  • (f5876ab) chore(deps/jsnoiter): Test to test-internal
  • (b05850d) chore(deps): update sbt-coveralls
  • (d24ad79) chore(deps): update dependencies

CI/CD

  • (6a6e00d) chore(ci): create log file for permission denied workaround
  • (a25befd) chore(ci): create log file for permission denied workaround

Docs

  • (ad5ca1a) docs: add ERD
  • (9690b92) docs(badge): add v2.x.x badge
  • (083b2b7) docs(README): add Branches section
  • (3da6e3e) docs(badge): update badges status for v2.x.x
  • (e547785) docs: update requirements
  • (464c638) docs: update remarks

Misc

  • (76a547c) docs(badge): use native GitHubActions badge instead of shields.io

v1.13.0 (Garnet Orchid)

21 Nov 15:35
64eba18
Compare
Choose a tag to compare

Changes

  • (4ee1ac1) chore: bump base image from docker-sbt:v1.7.1.2 to docker-sbt:v1.8.0
  • (ba21053) chore: bump sbt from 1.7.3 to 1.8.0
  • (c89d3ee) chore: bump scala from 2.13.8 to 2.13.10

Full Changelog: 7aee0f4...v1.13.0

v1.12.0 (Garnet Nasturtium)

21 Nov 15:24
8bd65e7
Compare
Choose a tag to compare

Dependencies

  • (7aee0f4) chore: update plugins
  • (0dcd9e0) chore(deps): update dependencies
  • (d14284b) chore: bump sbt from 1.7.1 to 1.7.3
  • (ef1f272) chore(deps): update dependencies
  • (96f9f90) chore(deps): update dependencies
  • (16180b0) chore(deps): update cats-effect from 3.3.4 to 3.3.14
  • (f3a6923) chore(docker): bump mariadb from 10.6.8 to 10.6.10

Refactor

  • (edefc12) refactor: some instances move BootStrap.scala to Modules.scala

Test

  • (d41ef1d) test: use Modules.scala

Docs

Full Changelog: v1.11.0...v1.12.0

v1.11.0 (Garnet Marquise)

29 Sep 13:43
7c9eb26
Compare
Choose a tag to compare

Breaking Changes (But no bump major version)

  • (4cfda8d) return empty array for externalResources and tags if empty

Notable Changes

  • circe to jsoniter
    • (755aee0) refactor: circe to jsoniter part1
    • (d273295) feat: implement syntax for json
    • (201c809) fix(content): too slow when decode content
    • (93026e5) refactor: delete unnecessary CodecMakerConfig for externalResources
    • (8504077) refactor(jwt): circe to jsoniter

Dependencies

  • (8ed1318) chore(deps): update dependencies

Refactors

  • (7247ac9) refactor: delete unnecessary class
  • (b87dc51) refactor: delete unnecessary inherit
  • (0cae1bb) refactor: delete unnecessary comment
  • (fafe89d) test: fix wrong package name for testOnly comment
  • (00331c7) refactor: delete unnecessary import
  • (0856514) refactor: rename variables