Releases: yoshinorin/qualtet
v2.6.0 (Scarlet Gamila)
「ガミラに会えることになった。今から行くかね?」
森博嗣.血か、死か、無か? Is It Blood, Death or Null?Wシリーズ(講談社タイガ)(p.67).講談社.Kindle版.
New Features
- (66d1a86) feat(content): return
id
whenGET
a content
New Features (For Internal use)
- (9011486) feat: add
asEither
forOption[_]
Fixes
- (27e4b70) fix(log): enalbe
ConsoleAppender
and printSTDOUT
always - (76e0541) fix(auth): return correct statuscode (from
500
to401
) - (a4c799e) fix(http/content): return
422
instead of404
ifauthor
,content-type
andseries
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_
forimport syntax
- (bda3275) refactor(http): add
RequestQueryParamater
case class for request
Test
Dependencies
- (8a4b75a) chore(deps): update
- (228307a) chore(deps): bump
doobie
from1.0.0-RC2
to1.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 (Scarlet Fouri)
「フーリです。彼女はここで、数学と物理学を教えています」
森博嗣. 私たちは生きているのか? 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
andseries
- (b616649) chore(series): rename table column from
path
toname
- (b32f2c7) feat: return
404
ifseries
not found whenPOST
a content - (d2b98a5) feat(series): implement
ContentSerializing
domain - (8d905a4) feat(series): implement
upsert
toContentSerializingRepository
andContentSerializingService
- (df44bba) feat(series): upsert
ContentSerializing
table when upsert aContent
- (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 whenPOST
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
toname
- (455d08e) feat(series): add
Fixes
- (810db1c) fix(log): put exception to
STDOUT
if envvalQUALTET_ENV=dev
Refactors
- (802ae3d) refactor: use
===
instead of==
- (58ca4ef) refactor: rename implicit context
- (bb1af2f) refactor(db): rename type annotations
- (9c64667) refactor: rename from
getDevServerPID
togetLocalServerPID
- (45a0b9e) refactor(http): set default
host
andport
if theyNone
- (250eaee) refactor: rename from
DoobieContext
toDoobieTransactor
- (cac76b2) refactor: file rename from
DoobieContext
toDoobieTransactor
- (9cb8f9f) refactor: use
java.net.URI
instead ofjava.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
andnode 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 onHexo
- (c973421) chore(docs): add
Qualtet-CLI
- (0432b54) docs: update development docs
- (5efd424) docs: add ERD to
README
CI / CD
Docker
- (26b6b0c) chore(docker): bump base image
- (c82a6b5) chore(docker): bump
sbt
image - (530b3d6) chore(docker): bump
mariadb
from10.11.2
to10.11.3
Dependencies
- (f8f9de5) chore: bump scala from
3.2.2
to3.3.0
- (b6cafe7) chode: update assembly destination for build docker image
- (6899926) chore(plugin): update
wartremover
from3.0.11
to3.1.1
- (0bfac72) chore(plugin): bump
wartremover
from3.1.1
to3.1.3
- (38d23e4) chore: bump sbt from
1.8.0
to1.8.2
- (f4eadcc) chore: bump
sbt
from1.8.2
to1.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 (Scarlet Eyes)
The main changes in this release is refactoring and re-architecting.
Refactors
- (282a8bc) refactor(db): more abstraction
- (25676ac) refactor:
F[_]: Monad
toM[_]: Monad
- Scala 3 syntaxes
- (1c3dd77) chore: delete
.githooks
andinitialize
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
toproject/LocalProcesses.scala
- (0f98fde) refactor(sbt): move some tasks from
build.sbt
toproject/Docker.scala
New Features (for develop commands)
Fixes
- (6cea3b5) fix(log): print log with
STDOUT
onlydev
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 ofGITHUB_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
to3.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
tov10.11.2
Full Changelog
v2.3.0 (Scarlet Debou)
「名前は、デボウ・スホといいます。敬称はいりません。デボウでけっこうですよ」
森博嗣. 女王の百年密室 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
from9.11.0
to9.14.1
- (a99e33b) chore(deps): update dependencie
Docs
- (6096580) docs: update features
Misc
- (e72ab0e) chore(docker): add
docker-compose.local.yml
for local development db
v2.2.0 (Scarlet Christina)
「クリスティナと名づけた。内緒でな」ヴォッシュは微笑む。
森博嗣.血か、死か、無か? Is It Blood, Death or Null?Wシリーズ(講談社タイガ)(p.154).講談社.Kindle版.
New Features
- CORS Support
- 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
toLocale.ROOT
- (7481ac5) fix(http/search):
BadRequest
toUnprocessableEntity
when invalid query params
Refactors
- (a7bad8e) refactor(search): rename lambda
- (3eae79a) refactor(types/points): rename method
spread
toexpand
- (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
toclass
and rename fromMigration
toMigrator
- (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 ofdevenv.sh
Dependencies
- (86c5ad5) chore(deps): update dependencies
Docs
v2.1.0 (Scarlet Bosch)
僕が一番会いたかったのは、ドイツ人のハンス・ヴォッシュという博士だった。
森博嗣.魔法の色を知っているか? What Color is the Magic?Wシリーズ(講談社タイガ)(Kindleの位置No.807-808).講談社.Kindle版.
New Features
Fixes
- (fdfa1db) fix(http): allow
OPTION
Refactors
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
andruns
commands - (608d826) chore(log): enable JSON
PrettyPrinting
forSTDOUT
- (1855a0f) chore: update comment refs issue url
Docs
v2.0.0 (Scarlet Amira)
「アミラは、本当は何という名ですか?」「スカーレットです。いえ、アミラでけっこうですよ」
森博嗣.青白く輝く月を見たか? 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
- (18c2863) chore: drop Java11
- (7829e62) feat(log): output with JSON format
Notable Changes
akka-http
tohttp4s
and related commits- (e3039bd) feat(http4s): migrate from
akka-http
tohttp4s
- (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
toIO[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
iftag
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
ifcontentType
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 ofOk
when POST a content succeeded - (dc04570) feat(http/content): implement error handling
- (709925d) feat(http/articlet): return
404
ifarticles
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
- (e3039bd) feat(http4s): migrate from
Features
- (5dd0790) feat(syntax): implement
orThrow
forOption
Refactors
- (efeed77) fix(contentTagging): rename class field to lowerCase
- (20c833b) refactor: divide repository doobie implementation
Dependencies
- (f5876ab) chore(deps/jsnoiter):
Test
totest-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)
Changes
- (4ee1ac1) chore: bump base image from
docker-sbt:v1.7.1.2
todocker-sbt:v1.8.0
- (ba21053) chore: bump sbt from
1.7.3
to1.8.0
- (c89d3ee) chore: bump scala from
2.13.8
to2.13.10
Full Changelog: 7aee0f4...v1.13.0
v1.12.0 (Garnet Nasturtium)
Dependencies
- (7aee0f4) chore: update plugins
- (0dcd9e0) chore(deps): update dependencies
- (d14284b) chore: bump
sbt
from1.7.1
to1.7.3
- (ef1f272) chore(deps): update dependencies
- (96f9f90) chore(deps): update dependencies
- (16180b0) chore(deps): update
cats-effect
from3.3.4
to3.3.14
- (f3a6923) chore(docker): bump mariadb from
10.6.8
to10.6.10
Refactor
- (edefc12) refactor: some instances move
BootStrap.scala
toModules.scala
Test
- (d41ef1d) test: use
Modules.scala
Docs
- (5c3011e) docs: add github workflow for api docs
- (98ed682) chore(ci): update
github workflows
for publishing api docs - (0584eed, 2f72a5c, ecdb18a, 06c8678) docs: update
README.md
- (cd96e61) docs: add LICENSE section in
README.md
- (e92c239) docs: add
README.md
forapi
- (28dfb28) docs: update
features.md
Full Changelog: v1.11.0...v1.12.0