diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..5859606d --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,30 @@ +# Changelog + +[Unreleased] + +- Changed + - [Config] Increase default rate limits - [#16](https://github.com/Accenture/reactive-interaction-gateway/pull/16) + - [Kafka] Make producing of Kafka messages in proxy optional (and turned off by default) - [#21](https://github.com/Accenture/reactive-interaction-gateway/pull/21) + +- Added + - [Deploy] Basic Travis configuration - [#17](https://github.com/Accenture/reactive-interaction-gateway/pull/17) + - [Docs] Configuration ADR document - [#19](https://github.com/Accenture/reactive-interaction-gateway/pull/19) + - [Docs] Websocket and SSE channels example - [#22](https://github.com/Accenture/reactive-interaction-gateway/pull/22) + - [Deploy] Maintain changelog file - [#25](https://github.com/Accenture/reactive-interaction-gateway/pull/25) + +- Fixed + - [Config] Fix Travis by disabling credo rule `Design.AliasUsage` - [#18](https://github.com/Accenture/reactive-interaction-gateway/pull/18) + +## v1.0.0 (November 9, 2017) + +- Changed + - [Config] Update configuration to be able to modify almost anything by environment variables on RIG start - [#5](https://github.com/Accenture/reactive-interaction-gateway/pull/5) + - [Deploy] Rework Dockerfile to use multistage approach for building RIG Docker image - [#9](https://github.com/Accenture/reactive-interaction-gateway/pull/9) + - [Config] Update entire code base to use `rig` keyword - [#13](https://github.com/Accenture/reactive-interaction-gateway/pull/13) + +- Added + - [Docs] Add `mix docs` script to generate documentation of code base - [#6](https://github.com/Accenture/reactive-interaction-gateway/pull/6) + - [Docs] Add ethics documentation such as code of conduct and contribution guidelines - [#6](https://github.com/Accenture/reactive-interaction-gateway/pull/6) + +- Removed + - [Config] Disable Origin checking - [#12](https://github.com/Accenture/reactive-interaction-gateway/pull/12) \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b1213ef2..bbc066ac 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -30,6 +30,7 @@ We follow the [standard GitHub workflow](https://guides.github.com/introduction/ Before submitting a PR, - please write tests, - make sure you run all tests and check the linter (credo) for warnings. +- update `CHANGELOG.md` file with your current change in form of `[Type of change e.g. Config, Kafka, .etc] Short description what it is all about - [#PR-ID-NUMBER](link to pull request)`, please put your change under suitable section - changed, added, fixed, removed, deprecated An overview of the directory structure: - `lib/rig` diff --git a/doc/architecture/decisions/0005-maintain-changelog.md b/doc/architecture/decisions/0005-maintain-changelog.md new file mode 100644 index 00000000..793cd0ec --- /dev/null +++ b/doc/architecture/decisions/0005-maintain-changelog.md @@ -0,0 +1,19 @@ +# 5. Maintain changelog + +Date: 14/12/2017 + +## Status + +Accepted + +## Context + +We need to track what changes have been made to RIG and make it clear to everyone. It should also help with identifying of issues that may be caused by changes in the past. + +## Decision + +We decided to use `CHANGELOG.md` to have it as a single source of truth to what happened in RIG. Every submitted Pull Request will contain update to this file as well. By this everyone can clearly see which version has which features or fixes. + +## Consequences + +Every contributor submitting Pull Request has to also update `CHANGELOG.md` file and keep everything up to date. Update has to be done in form of `[Type of change e.g. Config, Kafka, .etc] Short description what it is all about - [#PR-ID-NUMBER](link to pull request)`, please put your change under suitable section - changed, added, fixed, removed, deprecated diff --git a/mix.exs b/mix.exs index 8ad1d378..f388e3d0 100644 --- a/mix.exs +++ b/mix.exs @@ -101,9 +101,11 @@ defmodule Rig.Mixfile do "doc/configuration.md": [title: "Configuration"], "CODE_OF_CONDUCT.md": [title: "Code of Conduct"], "CONTRIBUTING.md": [title: "Contributing"], + "CHANGELOG.md": [title: "Changelog"], "doc/architecture/decisions/0001-record-architecture-decisions.md": [group: "Architecture Decisions"], "doc/architecture/decisions/0002-don-t-check-for-functionclauseerror-in-tests.md": [group: "Architecture Decisions"], "doc/architecture/decisions/0004-use-rig-config-for-global-configuration.md": [group: "Architecture Decisions"], + "doc/architecture/decisions/0005-maintain-changelog.md": [group: "Architecture Decisions"], ], main: "README", ]