Skip to content

Releases: yoshinorin/qualtet

v1.10.0 (Garnet Lachenalia)

15 Sep 15:21
fcaf513
Compare
Choose a tag to compare

Breaking Changes (but no bump major version)

  • (96fcc04) feat(log): do not put domain part to log

New Features

  • (54d9c9d) feat(content): delete unrelated tags when upsert a content
    • (829cfd0) feat(contentTaggings): implement bulk delete
    • (d6ff99e) feat(tags): implement findByContentId
  • (a2e180e) chore(log): enable debug log when QUALTET_ENV contains dev

Refactors

  • (7702bd8) refactor(task): remove akka from createAuthor task
  • (4066b74) refactor(articles): turn back to DI from dispatch pattern
  • (0a22ba1) refactor: add type annotation to public member
  • (54ed9c4) refactor: name of HKT F to M
  • (42b7879) refactor: delete unnecessary code & update related code
  • (32f4e6a) refactor(robots): turn back to DI from dispatch pattern
  • (11819c2) refactor(externalResources): turn back to DI from dispatch pattern
  • (7dcd9a5) refactor(contentTypes): turn back to DI from dispatch pattern
  • (9d1d291) refactor(sitemaps): turn back to DI from dispatch pattern
  • (0fabc8f) refactor(tags, contentTaggings): turn back to DI from dispatch pattern
  • (bce7a09) refactor(contents): turn back to DI from dispatch pattern
  • (4ad6f09) refactor(archives): turn back to DI from dispatch pattern
  • (03473e0) refactor(author): turn back to DI from dispatch pattern

Dependencies

  • (4a75ae3) chore(deps): bump akka & akka-http
  • (cf120f0) chore(deps): bump logback-classic and slf4j-api
  • (09976fb) chore(deps): update dependencies

Misc

  • (cda58c2) docker(dev): update -Xlog:gc option
  • (4b875ee) docs: update README.md
  • (d3acb3d) chore: run scalafmt for test when run test
  • (2b3eeb3) test: put mysql general log when test
  • (b882dee) chore(format): format test code

Full Changelog

v1.9.0...v1.10.0

v1.9.0 (Garnet Kunzite)

27 Aug 05:22
6d7017b
Compare
Choose a tag to compare

Breaking changes (but no bump major version)

  • (c99874a) chore(log): delete from %logger

Docker

  • (b800282) chore(docker): bump base image from eclipse-temurin:17.0.3_7-jre to eclipse-temurin:17.0.4.1_1-jdk
    • Ubuntu 20.04 to 22.04
    • JRE to JDK
    • Java 17.0.3_7 to 17.0.4.1_1
  • (eb85034) chore(docker): apt-get to apt
  • (f21d587) chore(docker): add example of heapdump option for JVM
  • (7510521) chore(docker): add example of gc.log option for JVM
  • (9cb83d6) chore(docker): add comment-outed build path

Refactor

  • (6b103c3) refactor: rename buildNext to buildDoneWithoutAnyHandle

Full Changelog

v1.8.0 (Garnet Jasper)

18 Aug 13:31
0dcf1ac
Compare
Choose a tag to compare

Notable Changes

  • (9d29a40) migrate cats-effect-3.3.x

Refactors

  • (6095b42) refactor: delete redundant dispatcher
  • (d01de43) refactor: implement contentTaggingService
  • (baed36c) refactor: devide contentTagging from contents

Test

  • (507c6e8) test(refactor): add generateUlid for generate ULID

Miscs

  • (380e287) chore(scalafmt): bump scalafmt from 2.4.2 to 3.5.9 and reformat

Full Changelog

v1.7.1

16 Aug 12:17
189db90
Compare
Choose a tag to compare

Fixes

  • (5356007) fix(cache): invalidate caches correctly
  • (0743c7c) docs(api): fix DELETE api

Full Changelog

v1.7.0 (Garnet Inesite)

14 Aug 12:48
Compare
Choose a tag to compare

Features

  • (13d5e84) feat(tags): delete tag api
  • (544018b) feat: return 404 when DELETE content
  • (38b6b52) feat(feed): inmemory cache
  • (8b6ee7c) feat(cache): invalidate feed cache when exec caches DELETE API
  • (4f865c1) feat(articles): include contents.id field to response
  • (e187c88) feat(content): implement content delete api

Fixes

  • (823d0d2) fix(cache): wrap IO when invalidate
  • (136865f) fix(cache): error handling on cache api

Refactor

  • (29e5c17) refactor: implement option syntax and move stringify to it
  • (f8433b4) refactor: implement stringify for Option[HttpHeader] instead of toString()
  • (6454852) refactor: add alias to package for avoid permanently hidden by definition
  • (f7e985a) refactor: rename eitherT syntax
  • (5e2a8b2) refactor: add ClassTag to eitherT syntax
  • (fc7361e) refactor: throw IllegalArgumentException instead of return Unit if args are invalid when execuret createAuthor task
  • (b69e72d) refactor: avoid unnecessary inherit
  • (f06b43f) refactor: use throwIfNone instead of flatMap with match
  • (d11e7dc) refactor: implement buildNext for create Action[T] from any type
  • (90c64c0) refactor: use headOption instead of head
  • (06c386e) refactor: delete nunecessary argument
  • (2228e9b) refactor: rename io syntax
  • (173b14f) refactor: comment-out unused encoder and decorder for ExternalResource of circe
  • (fba137b) refactor: migration process

Docs

  • (b510a2f) docs(api): add security schemes
  • (b0116ac) docs(api): add tags to each endpoints
  • (dfebec9) docs(api): fix response fields
  • (be9a3d5) docs: update

Test

  • (16a57d7) test: add test case for invalid token when DELETE contents
  • (4b3440f) test: add invalidate cache to feedServiceSpec
  • (16a57d7) test: add test case for invalid token when DELETE contents

Dependencies

  • (8d55c47) chore(deps): bump flyway from 8.2.0 to 9.1.3
  • (a743168) chore(plugin): allow pre-release for reporting new releases of dependency
  • (fce9a8a) chore(deps): bump mockito-core from 4.6.1 to 4.7.0
  • (05bfd5b) chore(plugins): add sbt-updates
  • (7a94445) chore(deps): bump dependencies
  • (fce9a8a) chore(deps): bump mockito-core from 4.6.1 to 4.7.0
  • (8d55c47) chore(deps): bump flyway from 8.2.0 to 9.1.3
  • (753c20c) chore(plugins): update sbt-wartremover

Misc

  • (b841a86) chore: delete @deprecated annotation
  • (54c7673) chore: comment out unused function
  • (e847b18) chore(wartremover): ignore ScalaApp
  • (6e1ffbf) chore: run scalafmt before test
  • (42d94e7) chore: git hooks example
  • (6ffa127) chore: add () to override invalidate method
  • (d58691a) chore(wartremover): ignore Nothing
  • (a743168) chore(plugin): allow pre-release for reporting new releases of dependency

Full Changes

v1.6.1

10 Aug 11:14
f81558a
Compare
Choose a tag to compare

Fixes

  • (4af9539) fix: log level from ERROR to INFO when invalidate caches

Docs

Full Changelog

v1.6.0 (Garnet Heliconia)

08 Aug 16:35
caddf04
Compare
Choose a tag to compare

Breaking changes (but no bump major version)

  • (aad5b0e) fix - refactor(http-log): fix referer, UA format & refactor make log string & wrap each fields with ""

Features

  • (470fc49) feat: implement invalidate all caches API
  • (70bc14a) feat: implement cache service
  • (f1db9fe) feat(log): logging referer & UA

Fixes

  • (11db7ec) fix: add ClassTag to io syntax

Refactors

  • (50b6f74) refactor: receive return unit with _
  • (9a82785) refactor: implement Cacheable trait
  • (c422a79) refactor: delete unused import
  • (d682f55) refactor(feed): create FeedService and use it for get feeds
  • (a298da8) refactor: use _ for anonymouse val
  • (493a2a5) refactor: use _ for lambda
  • (95f0c9f) refactor: comment out unused imports
  • (de88215) refactor: specify charset to getBytes
  • (aed33cc) refactor: specify locale to toLowerCase
  • (1eb496f) refactor: rename & format
  • (d7d81d6) refactor: impleiment io syntax and use it instead of ServiceBase
  • (88d4910) refactor: use val for hostAddress & avoid unnecessary val in HttpLogger
  • (8a75d9e) refactor: remname http syntax
  • (bc1c25a) refactor: delete unnecessary implicit

Test

  • (cc247dc) test: add FeedSpec
  • (85ddeec) test: enable logback when run tests
  • (1dbe8f3) test(httpLogger): add test
  • (26a5d59) test: delete unnecessary assertion & update test case name

Dependencies

  • (6e00793) chore(deps): bump mariadb-java-client from 3.0.5 to 3.0.6
  • (1a50247) chore(deps): bump circe from 0.14.2 to 0.15.0-M1

CI/CD

  • (739ef49) chore(ci): update actions & change setup-jaba distribution from adopt to temurin

Docker

  • (357e644) chore(docker): migrate docker registry from docker-hub to ghcr & update version

Docs

  • (f1c1478) docs(api): add request body for token
  • (12b9ae7) docs(api): bump version
  • (f7499de) chore(docs/deps): update redoc-cli
  • (8383bd1) docs(api): fix typo
  • (bcd798c) docs(api): fix response when create or update content
  • (2d08fb7) docs(api): add require and fix wrong fields

Misc

  • (f059815) chore(wartermover): ignore Overloading waning
  • (125a982) chore: comment out unused test package
  • (66e3df5) chore(wartremover): ignore DefaultArguments warning
  • (2d75ad8) chore: add .sbtopts
  • (c4d7b0f) chore: code format

Full Changelog

v1.5.0 (Garnet Gloriosa)

28 Jul 17:27
23feed7
Compare
Choose a tag to compare

Features

  • (eacee2b) chore: bump scala from 2.13.6 to 2.13.8

Fix

  • (b17ca86) fix(content): reject with 404 when POST to API with empty title, rawContent, htmlContent

Dependencies

  • (04e2590) chore(deps): bump dependencies

Refactor

  • (465039d) refactor: implement validator syntax
  • (7ccd840) refactor: validator functions more generic
  • (4b47b77) refactor: divide syntax
  • (de6c2ee) refactor: add trimOrThrow syntax

Docs

Test

  • (733a210) test: fix name and comment
  • (8813437) test: update println message for test db container

Misc

  • (710b9b6) chore(wartremover): ignore Wart.Throw

Full Changelog

v1.4.0 (Garnet Flame)

23 Jul 08:41
e40d478
Compare
Choose a tag to compare

Dependencies

  • (289dba9) chore: bump sbt from 1.6.2 to 1.7.1
  • (7295801) chore(plugin): bump sbt-dotenv to 3.0.0
  • (7b2b4ae) chore(deps): bump flyway-core from 7.8.2 to 8.2.0
  • (62351bd) Revert "chore(deps): update flyway-core"
  • (6d8020b) chore(deps): update flyway-core
  • (5e070aa) chore(deps): update dependencies

Refactors

  • (35eff26) refactor: syntax naming
  • (5dac361) refactor: define dispatch to request object and use it when exec dispatch in ServiceLogic
  • (4c554c7) refactor: suppress wartremover warnings
  • (ee6ddc8) refactor: delete unnecessary parentheses
  • (8e25797) refactor: rename & implement new syntax for transaction
  • (37d590c) refactor: rename ServiceLogic to Action
  • (d4c94a8) refactor: perform to procedures
  • (9b6fdf0) refactor: define ServiceLogicOps implicit class
  • (9207ce2) refactor: rename execute to perform
  • (e06d646) refactor: rename serviceLogic object methods
  • (029cde5) refactor: add explicit type to public member

Docs

  • (3e9a8be) chore(docs): update README

Misc

  • (8d9fae3) chore(wartremover): update rules
  • (d9af153) chore(wartremover): enable only compile

Full Changelog

v1.3.0 (Garnet Dark)

29 May 04:20
0eeed10
Compare
Choose a tag to compare

Refactor

  • (6b50ed4) refactor: implement validateUnless function
  • (b50702c) refactor: implement Compositions object for validator
  • (1d10dcc) refactor: avoid using implicit parameter in each service classes
  • (f1be254) refactor: use ServiceLogic in each service classes
  • (5d8cda1) refactor: add pattern match to runWithoutTransaction
  • (315b373) refactor: remove implicit parameter from ServiceLogic and add final to case class
  • (c594fc0) refactor: separate ServiceLogic run method with transaction or not
  • (f44efb4) refactor: rename functions, type and arguments
  • (338be26) refactor: implement ServiceLogic object
  • (aa0624f) refactor: implement Repository object and use it
  • (b4ef907) refactor: define RepositoryRequest trait and apply it to each request objects
  • (98f86ed) refactor: delete unused import
  • (fa49357) refactor: avoid constractor DI for repository classes impl
  • (41ce687) refactor: requests to request
  • (007dbb9) refactor(content): create RepositoryRequests and use it
  • (d939471) refactor(archive): create RepositoryRequests and use it
  • (4b58b88) refactor(article): create RepositoryRequests and use it
  • (ea0f812) refactor(author): create RepositoryRequests and use it
  • (fb4d84f) refactor: missing override
  • (8becbea) refactor: move Fail object from error to message package
  • (6c28f65) refactor: add finnal to Fail case classes
  • (b4ed994) refactor(sitmaps): use inner def in get method
  • (e921889) refactor(contentTypes): create RepositoryRequests and use it
  • (eb6f300) refactor(externalResources): create RepositoryRequests and use it
  • (a75c2d8) refactor(robots): create RepositoryRequests and use it
  • (91e5314) refactor(tag): create RepositoryRequests and use it
  • (e61342d) refactor: delete unnecessary function
  • (2bdbde1) refactor(sitemaps): create RepositoryRequests and use it
  • (d691285) chore: forgot commit when 1ee191b
  • (4fae5bf) refactor: use =!= instead of !=
  • (f9ca65a) refactor: use === instead of ==
  • (a30b85d) refactor: delete models package
  • (f8e3a42) refactor: delete models and services package under the domains package
  • (830b83e) refactor: apply scalafix ExplicitResultTypes
  • (1ee191b) refactor: move Converter from util to syntax
  • (c0bce3d) refactor: move StringOps object to syntax package
  • (fdad7f2) refactor: create package object and move some implicit class
  • (bca145f) refactor: delete unused import & use _ for unused var
  • (0948efb) refactor: delete flexmark & htmlContent field from optional to require when user POST an article.
  • (dd0e750) refactor: avoid logging in validate functions
  • (4a6cbc7) refactor: Fail to Throwable at validate function curried argument
  • (5b40ad8) refactor: move Validator object under the validator package
  • (22979be) refactor: implement generic validator

Dependencies

  • (825f2ad) chore(deps): bump dependencies

Test

  • (78aa269) test: move ValidatorSpec under the validator package

Misc

  • (dcc5554) chore(plugins): add sbt-scala3-migrate
  • (003e91a) chore: add wartremover
  • (e274b81) chore: add scalafix and it's rules
  • (f162295) chore: ignore scalafix organize-imports
  • (30f38e7) chore: format
  • (3b93b39) chore: code format
  • (3b3045e) chore: delete unnecessary comment
  • (f7dd0c0) chore: update .gitignore
  • (f1717de) chroe: comment out StdIn in BootStrap.scala

Full Changelog