Skip to content

Releases: momeni/clean-arch

Go CleanArch 1.3.0

05 Sep 14:15
Compare
Choose a tag to compare

This release demonstrates four major items.
First, how boundary values for all settings (including the mutable and immutable items) may be managed in the configuration files and database both during the normal operation and API calls and also during the uni/multi-database migration operations.
Second, how the settings mutation transaction lifetime can be extended in order to cover the use case objects instantiation.
Third, how multiple RESTful API versions may be served together when they have small differences and it is not desired to just keep the latest version and remove the old versions.
Fourth, how the standard log/slog package may be used, both during the normal logging in the adapters and use cases layers and also by the Gin framework itself.

Go CleanArch 1.2.0

07 Mar 16:15
Compare
Choose a tag to compare

This release demonstrates two major features.
First, how mutable settings may be persisted in a database, loaded during the system start up (overriding the configuration file settings), and managed during a multi-database migration operation. Concepts of visible and invisible and mutable and immutable settings are also described.
Second, comments which are written in the YAML configuration files are now preserved when a new configuration file is written by a migration.

Go CleanArch 1.1.0

16 Feb 16:07
Compare
Choose a tag to compare

This release demonstrates how migrations between different semantic versions may be performed and how development and production environment specific initialization may be taken. The configuration files and database schema are versioned independently so they can be migrated separately while a configuration file provides the expected versions which should be checked while loading those data sources.
The demonstrated migration scheme uses distinct source and destination databases, so the migration result can be tested without affecting a source database contents, while also facilitates migration between different PostgreSQL major versions (in contrast to an in-place update).

Go CleanArch 1.0.0

19 Oct 13:33
Compare
Choose a tag to compare

This is the first release of an example Go (Golang) project demonstrating the Clean Architecture layers with a cars riding/parking sample use case, Gin-Gonic web framework, GORM and Pgx for interaction with a PostgreSQL DBMS server, a yaml-file configuration parsing and use cases instantiation code, and integration tests with podman-based postgres containers.