変更履歴¶
このドキュメントは、リビジョン8cb1b24b48a1cff873f4e0ab64b5097516cb9423から22b5011459047d6418c9d2a99d4ddf8687498782までの変更を時系列順にまとめたものです。
2023年8月13日¶
機能追加¶
- 4c991e9 (Simon Klinkert): product creation via command
- プロダクト作成のためのコマンド機能を実装
- 146ce60 (Simon Klinkert): have mappers for req->command
- リクエストからコマンドへのマッパーを実装
2024年1月16日¶
依存関係の管理¶
- f684eb4 (Simon Klinkert): Create dependabot.yml
- Dependabotの設定ファイルを作成
依存関係の更新¶
- c7ff3af (dependabot[bot]): Bump github.com/labstack/echo/v4 from 4.11.1 to 4.11.4
- Echo フレームワークを v4.11.1 から v4.11.4 にアップデート
- d2e06bb (dependabot[bot]): Bump gorm.io/gorm from 1.25.2 to 1.25.5
- GORM を 1.25.2 から 1.25.5 にアップデート
- cb30ef1 (dependabot[bot]): Bump gorm.io/driver/postgres from 1.5.2 to 1.5.4
- PostgreSQL ドライバーを 1.5.2 から 1.5.4 にアップデート
マージ¶
- 3fe184c (Simon Klinkert): Merge pull request #5 from sklinkert/dependabot/go_modules/gorm.io/gorm-1.25.5
- GORM のアップデートをマージ
- d70413d (Simon Klinkert): Merge pull request #4 from sklinkert/dependabot/go_modules/github.com/labstack/echo/v4-4.11.4
- Echo フレームワークのアップデートをマージ
- e2e6518 (Simon Klinkert): Merge pull request #3 from sklinkert/dependabot/go_modules/gorm.io/driver/postgres-1.5.4
- PostgreSQL ドライバーのアップデートをマージ
2024年1月22日¶
依存関係の更新¶
- d512f12 (dependabot[bot]): Bump gorm.io/driver/sqlite from 1.5.2 to 1.5.4
- SQLite ドライバーを 1.5.2 から 1.5.4 にアップデート
2024年1月29日¶
依存関係の更新¶
- 36ff693 (dependabot[bot]): Bump github.com/google/uuid from 1.3.0 to 1.6.0
- UUID ライブラリを 1.3.0 から 1.6.0 にアップデート
2024年2月10日¶
マージ¶
- 70920eb (Simon Klinkert): Merge pull request #9 from sklinkert/dependabot/go_modules/github.com/google/uuid-1.6.0
- UUID ライブラリのアップデートをマージ
- 8f05aff (Simon Klinkert): Merge pull request #6 from sklinkert/dependabot/go_modules/gorm.io/driver/sqlite-1.5.4
- SQLite ドライバーのアップデートをマージ
機能追加¶
- 5e129f8 (Simon Klinkert): FindAll()
- FindAll メソッドを実装
- 2068d7f (Simon Klinkert): ById()
- ById メソッドを実装
2024年3月11日¶
依存関係の更新¶
- 851120d (dependabot[bot]): Bump gorm.io/driver/postgres from 1.5.4 to 1.5.7
- PostgreSQL ドライバーを 1.5.4 から 1.5.7 にアップデート
2024年3月14日¶
マージ¶
- 6c91853 (Simon Klinkert): Merge pull request #15 from sklinkert/dependabot/go_modules/gorm.io/driver/postgres-1.5.7
- PostgreSQL ドライバーのアップデートをマージ
- 31de2ca (Simon Klinkert): Merge pull request #14 from sklinkert/dependabot/go_modules/github.com/stretchr/testify-1.9.0
- Testify ライブラリのアップデートをマージ
- cfb019e (Simon Klinkert): Merge pull request #17 from sklinkert/dependabot/go_modules/go_modules-security-group-cf2ebfe372
- セキュリティ関連のモジュールアップデートをマージ
依存関係の更新¶
- 8c33d61 (dependabot[bot]): Bump github.com/stretchr/testify from 1.8.4 to 1.9.0
- Testify ライブラリを 1.8.4 から 1.9.0 にアップデート
- 6f9ac8f (dependabot[bot]): Bump the go_modules group group with 1 update
- Go モジュールグループをアップデート
2024年4月1日¶
依存関係の更新¶
- 12e7923 (dependabot[bot]): Bump gorm.io/gorm from 1.25.7-0.20240204074919-46816ad31dde to 1.25.9
- GORM を 1.25.7 から 1.25.9 にアップデート
2024年4月19日¶
依存関係の更新¶
- c00dd67 (dependabot[bot]): Bump golang.org/x/net from 0.19.0 to 0.23.0 in the go_modules group
- golang.org/x/net を 0.19.0 から 0.23.0 にアップデート
2024年4月25日¶
マージ¶
- 427393c (Simon Klinkert): Merge pull request #22 from sklinkert/dependabot/go_modules/go_modules-b9ac453758
- Go モジュールのアップデートをマージ
- 50800ce (Simon Klinkert): Merge pull request #19 from sklinkert/dependabot/go_modules/gorm.io/gorm-1.25.9
- GORM のアップデートをマージ
機能改善¶
- b23b5ee (Simon Klinkert): product service: return error if seller does not exist in DB
- 出品者がDBに存在しない場合にエラーを返すように改善
- 5b92367 (Simon Klinkert): implement proper seller update
- 出品者の更新機能を適切に実装
- 05e060c (Simon Klinkert): product service: rename get all -> find all
- メソッド名を get all から find all に変更
- 4819cc7 (Simon Klinkert): product repo: don't return validated products on read methods
- 読み取りメソッドで検証済み製品を返さないように変更
- 9c80c91 (Simon Klinkert): seller repo: don't return validated products on read methods
- 読み取りメソッドで検証済み出品者を返さないように変更
- 99d254d (Simon Klinkert): application services: return interfaces
- アプリケーションサービスがインターフェースを返すように変更
- 6a4bc8f (Simon Klinkert): no var in the middle of the method
- メソッド内の変数宣言位置を改善
- 1bdcb38 (Simon Klinkert): rename controller method
- コントローラーメソッドの名前を変更
- 192112a (Simon Klinkert): add 404 response if item wasn't found
- アイテムが見つからない場合に404レスポンスを追加
ドキュメント¶
- 7fe11b0 (Simon Klinkert): README.md: add best practices section
- README.mdにベストプラクティスセクションを追加
- bb0e718 (Simon Klinkert): README.md: add link
- README.mdにリンクを追加
- b4b83df (Simon Klinkert): README.md: add one more best practice
- README.mdにさらにベストプラクティスを追加
2024年4月26日¶
リファクタリング¶
- 52e0e1e (Simon Klinkert): repo: make mapper functions private
- リポジトリのマッパー関数をプライベートに変更
ドキュメント¶
- 6c6fa55 (Simon Klinkert): README.md: find vs get
- README.mdに「find vs get」の説明を追加
2024年4月27日¶
ドキュメント¶
- d05bc3c (Simon Klinkert): README.md: soft delete
- README.mdにソフトデリートについての説明を追加
機能追加¶
- 33d3064 (Simon Klinkert): implement update seller controller
- 出品者更新コントローラーを実装
- d60dd5b (Simon Klinkert): implement delete seller controller
- 出品者削除コントローラーを実装
- 42781ad (Simon Klinkert): add tests for getting sellers
- 出品者取得のテストを追加
- ef8e7e0 (Simon Klinkert): prefix controllers with /api/v1
- コントローラーのパスに /api/v1 プレフィックスを追加
- 2b38725 (Simon Klinkert): add github.com/labstack/echo/v4/middleware
- Echo ミドルウェアを追加
- 9b6b52e (Simon Klinkert): e.Use(middleware.Recover())
- リカバリーミドルウェアを使用
依存関係の更新¶
- 4fd0d2d (Simon Klinkert): go mod: update github.com/labstack/echo/v4
- Echo フレームワークを更新
2024年4月29日¶
依存関係の更新¶
- b40e203 (dependabot[bot]): Bump gorm.io/gorm from 1.25.9 to 1.25.10
- GORM を 1.25.9 から 1.25.10 にアップデート
2024年4月30日¶
マージ¶
- e736139 (Simon Klinkert): Merge pull request #24 from sklinkert/dependabot/go_modules/gorm.io/gorm-1.25.10
- GORM のアップデートをマージ
2024年5月1日¶
リファクタリング¶
- 986120b (Simon Klinkert): rest dto package
- REST DTOパッケージを作成
- dbe5131 (Simon Klinkert): product controller: add dto and mapper to not expose domain entities to the outside world
- プロダクトコントローラーにDTOとマッパーを追加し、ドメインエンティティを外部に公開しないように変更
- e2206fe (Simon Klinkert): seller controller: add dto and mapper to not expose domain entities to the outside world
- 出品者コントローラーにDTOとマッパーを追加し、ドメインエンティティを外部に公開しないように変更
2024年5月4日¶
機能追加¶
- 87bafae (Simon Klinkert): entities: add CreatedAt and UpdatedAt
- エンティティにCreatedAtとUpdatedAtフィールドを追加
- a29f10b (Simon Klinkert): Seller.UpdateName()
- 出品者の名前更新メソッドを実装
- ece20fd (Simon Klinkert): implement product update methods
- プロダクト更新メソッドを実装
- 5ba226f (Simon Klinkert): more validation examples
- バリデーション例を追加
リファクタリング¶
- 4c59fcd (Simon Klinkert): rename ID -> Id
- IDをIdにリネーム
- 59ea1b3 (Simon Klinkert): move createdAt and updatedAt
- createdAtとupdatedAtの位置を移動
ドキュメント¶
- ad2ebf8 (Simon Klinkert): README.md: add diagram
- README.mdに図を追加
- 2897d4f (Simon Klinkert): README.md: update diagram
- README.mdの図を更新
2024年5月27日¶
リファクタリング¶
- 7dccc21 (Simon Klinkert): rename master to main
- masterブランチをmainにリネーム
2024年6月17日¶
依存関係の更新¶
- 48e118f (dependabot[bot]): Bump gorm.io/driver/postgres from 1.5.7 to 1.5.9
- PostgreSQL ドライバーを 1.5.7 から 1.5.9 にアップデート
2024年6月24日¶
マージ¶
- e6ca064 (Simon Klinkert): Merge pull request #26 from sklinkert/dependabot/go_modules/gorm.io/driver/postgres-1.5.9
- PostgreSQL ドライバーのアップデートをマージ
2024年7月15日¶
依存関係の更新¶
- 4011b6c (dependabot[bot]): Bump gorm.io/gorm from 1.25.10 to 1.25.11
- GORM を 1.25.10 から 1.25.11 にアップデート
2024年7月18日¶
マージ¶
- 47abbf6 (Simon Klinkert): Merge pull request #27 from sklinkert/dependabot/go_modules/gorm.io/gorm-1.25.11
- GORM のアップデートをマージ
2024年9月3日¶
ドキュメント¶
- 6a688ae (Simon Klinkert): Update README.md
- README.md を更新
2024年9月9日¶
依存関係の更新¶
- 387de47 (dependabot[bot]): Bump gorm.io/gorm from 1.25.11 to 1.25.12
- GORM を 1.25.11 から 1.25.12 にアップデート
2024年9月28日¶
マージ¶
- 1279a05 (Simon Klinkert): Merge pull request #31 from sklinkert/dependabot/go_modules/gorm.io/gorm-1.25.12
- GORM のアップデートをマージ
2024年10月28日¶
リファクタリング¶
- 9de1781 (Simon Klinkert): merge command with results into same file
- コマンドと結果を同じファイルにマージ
- c311d7c (Simon Klinkert): CI: use go 1.22
- CI で Go 1.22 を使用するように変更
- 22b5011 (Simon Klinkert): ID -> Id
- ID を Id にリネーム