Releases: diffuse/gloss
Releases · diffuse/gloss
v0.3.0
Changes in this release:
- Routing has been moved to the
chipackage to allow for easy router swapping if chi is not desired - A Database instance is created in
main.goinstead ofhandlers.go, then passed to the router
Note:
- The example counter service may panic once or twice on a failed connection to the database with the ./bootstrap_example.sh script; this is due to the counter service coming up before the database service is fully initialized. You can just ignore the panics, because it will continue to panic-recover until it successfully connects.
v0.2.0
Changes in this release:
- Standard PostgreSQL environment variables are now used so that environment variable parsing can be delegated to the pq/pgx libraries
- pq PostgreSQL driver was replaced with pgx because pq is in maintenance mode and pgx is actively maintained
- Database code was abstracted with an interface to support dependency injection
- Rows are deleted from tables in unit test setup instead of a full table drop and recreate for efficiency
Note:
- The example counter service may panic once or twice on a failed connection to the database with the ./bootstrap_example.sh script; this is due to the counter service coming up before the database service is fully initialized. You can just ignore the panics, because it will continue to panic-recover until it successfully connects. I may resolve this in a future release.