From 83f1cda9f9470ced12e54cabfed54d497f0fdbf4 Mon Sep 17 00:00:00 2001 From: Chris McArthur Date: Sun, 7 Feb 2021 11:14:48 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20pre-release=201.0.0-dev.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/upload.yml | 2 +- api/openapi.yaml | 2 +- backend/conan.lock | 2 +- backend/include/um/user_management.hpp | 4 +- backend/readme.md | 14 +++--- changelog.md | 60 ++++++++++++++++++++++---- web-app/package.json | 4 +- web-app/readme.md | 6 +-- 8 files changed, 68 insertions(+), 26 deletions(-) diff --git a/.github/workflows/upload.yml b/.github/workflows/upload.yml index c873a72c..5d1d1fae 100644 --- a/.github/workflows/upload.yml +++ b/.github/workflows/upload.yml @@ -320,7 +320,7 @@ jobs: key: ${{ runner.os }}-${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }} - run: | cd web-app/ - sed -i "s/1.0.0-dev.0/$BUILD_VERSION/1" package.json + sed -i "s/1.0.0-dev.1/$BUILD_VERSION/1" package.json npm config set registry $NPM_REGISTRY_URL echo '_auth = ${{ secrets.JFROG_RTFACT_NPM_AUTH }}' > ~/.npmrc echo 'email = prince.chrismc@gmail.com' >> ~/.npmrc diff --git a/api/openapi.yaml b/api/openapi.yaml index fd29a957..2be9cf73 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -1,7 +1,7 @@ openapi: "3.0.0" info: title: User Management API - version: "1.0.0-dev.0" + version: "1.0.0-dev.1" description: >- A Simple API for creating, editing, and deleting users. The goal here is to offer minimal flexability diff --git a/backend/conan.lock b/backend/conan.lock index 2613bc6b..d37d97d5 100644 --- a/backend/conan.lock +++ b/backend/conan.lock @@ -2,7 +2,7 @@ "graph_lock": { "nodes": { "0": { - "ref": "user-management/1.0.0-dev.0", + "ref": "user-management/1.0.0-dev.1", "requires": [ "1", "3", diff --git a/backend/include/um/user_management.hpp b/backend/include/um/user_management.hpp index 4a251c51..76fb7c4f 100644 --- a/backend/include/um/user_management.hpp +++ b/backend/include/um/user_management.hpp @@ -1,6 +1,6 @@ // MIT License // Copyright (c) 2020 Christopher McArthur -// Version: 1.0.0-dev.0 +// Version: 1.0.0-dev.1 #ifndef UM_USER_MANAGEMENT_HPP_ #define UM_USER_MANAGEMENT_HPP_ @@ -15,7 +15,7 @@ #include "schemas.hpp" namespace user_management { -constexpr auto version = "1.0.0-dev.0"; +constexpr auto version = "1.0.0-dev.1"; using json = api::json; using user_key = size_t; diff --git a/backend/readme.md b/backend/readme.md index dda6d438..d7b1d5fb 100644 --- a/backend/readme.md +++ b/backend/readme.md @@ -63,7 +63,7 @@ cmake .. -DRUN_TIDY=ON To update the top level `conan.lock` run: ```sh -conan lock create conanfile.py --version=1.0.0-dev.0 --base --update +conan lock create conanfile.py --version=1.0.0-dev.1 --base --update ``` ```sh @@ -77,13 +77,13 @@ cd build && conan install .. -s build_type=Debug --lockfile=../conan.lock ### Lock Dependency graph ```sh -conan lock create conanfile.py --version 1.0.0-dev.0+`git rev-parse --short HEAD` --lockfile=conan.lock --lockfile-out=locks/conan.lock +conan lock create conanfile.py --version 1.0.0-dev.1+`git rev-parse --short HEAD` --lockfile=conan.lock --lockfile-out=locks/conan.lock ``` ### Package Back-end ```sh -conan create conanfile.py 1.0.0-dev.0+`git rev-parse --short HEAD`@ --lockfile locks/conan.lock +conan create conanfile.py 1.0.0-dev.1+`git rev-parse --short HEAD`@ --lockfile locks/conan.lock ``` ### Install Application @@ -91,23 +91,23 @@ conan create conanfile.py 1.0.0-dev.0+`git rev-parse --short HEAD`@ --lockfile l > :notebook: This step requires the [packing](#package) to be completed first ```sh -conan install user-managment/1.0.0-dev.0+`git rev-parse --short HEAD` --lockfile locks/conan.lock +conan install user-managment/1.0.0-dev.1+`git rev-parse --short HEAD` --lockfile locks/conan.lock ``` ### Build Docker Image ```sh -docker build . -f Dockerfile -t user-managment-backend:1.0.0-dev.0 # Docker does not support SemVer build information +docker build . -f Dockerfile -t user-managment-backend:1.0.0-dev.1 # Docker does not support SemVer build information ``` ## Run Container ```sh -docker run --rm -d -p 8443:8443 -v "$(pwd):/dist" user-managment-backend:1.0.0-dev.0 +docker run --rm -d -p 8443:8443 -v "$(pwd):/dist" user-managment-backend:1.0.0-dev.1 ``` > :notebook: By default the back-end image is setup for HTTPS for unsecure transport use the following ```sh -docker run --rm -d -p 8080:8080 -v "$(pwd):/dist" user-managment-backend:1.0.0-dev.0 dist -a "0.0.0.0" -p 8080 -n 4 +docker run --rm -d -p 8080:8080 -v "$(pwd):/dist" user-managment-backend:1.0.0-dev.1 dist -a "0.0.0.0" -p 8080 -n 4 ``` diff --git a/changelog.md b/changelog.md index 49d89b05..cf9a9f1f 100644 --- a/changelog.md +++ b/changelog.md @@ -2,6 +2,48 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## [v1.0.0-dev.1](https://github.com/prince-chrismc/user-management/tree/v1.0.0-dev.1) (2021-02-07) + +[Full Changelog](https://github.com/prince-chrismc/user-management/compare/v1.0.0-dev.0...v1.0.0-dev.1) + +**API updates:** + +- Conditional API requests - rfc7232 [\#10](https://github.com/prince-chrismc/user-management/pull/10) + +**Implemented enhancements:** + +- Logging support for backend [\#17](https://github.com/prince-chrismc/user-management/issues/17) +- Add support for an plain HTTP backend [\#63](https://github.com/prince-chrismc/user-management/pull/63) + +- implementation of conditional request support [\#11](https://github.com/prince-chrismc/user-management/pull/11) + +**Fixed bugs:** + +- Fix css loader configuration [\#77](https://github.com/prince-chrismc/user-management/pull/77) +- Current time displayed in the wrong position [\#66](https://github.com/prince-chrismc/user-management/issues/66) +- Separate front-end from FQDN + Fix front-end Etag handling + Stabilize CI [\#52](https://github.com/prince-chrismc/user-management/pull/52) +- add new user API is not correctly supported [\#14](https://github.com/prince-chrismc/user-management/issues/14) +- fixing new user being empty [\#13](https://github.com/prince-chrismc/user-management/pull/13) + +**Deployment improvements:** + +- Infrastructure as code [\#19](https://github.com/prince-chrismc/user-management/issues/19) +- Improve front-end test coverage + reduce bundle size [\#78](https://github.com/prince-chrismc/user-management/pull/78) +- Infrastructure as code deployment [\#70](https://github.com/prince-chrismc/user-management/pull/70) +- Combined Alpine deployment image [\#38](https://github.com/prince-chrismc/user-management/pull/38) +- Leverage alpine build and runtime image for condensed image sizes [\#37](https://github.com/prince-chrismc/user-management/pull/37) + +**Closed issues:** + +- Improved documentation [\#18](https://github.com/prince-chrismc/user-management/issues/18) + +**Merged pull requests:** + +- Updating project documentation [\#79](https://github.com/prince-chrismc/user-management/pull/79) +- Build various configuration of backend in parallel [\#32](https://github.com/prince-chrismc/user-management/pull/32) +- leveraging binary repo to store build artifacts [\#26](https://github.com/prince-chrismc/user-management/pull/26) +- Add code analysis to CI/CD [\#20](https://github.com/prince-chrismc/user-management/pull/20) + ## [v1.0.0-dev.0](https://github.com/prince-chrismc/user-management/tree/v1.0.0-dev.0) (2020-08-12) [Full Changelog](https://github.com/prince-chrismc/user-management/compare/30247851259609ff3d66a4e788abd86cd2ec0af9...v1.0.0-dev.0) @@ -16,14 +58,14 @@ All notable changes to this project will be documented in this file. This projec **Merged pull requests:** -- refinements to API documentation [\#9](https://github.com/prince-chrismc/user-management/pull/9) ([prince-chrismc](https://github.com/prince-chrismc)) -- adding tests for endpoints [\#8](https://github.com/prince-chrismc/user-management/pull/8) ([prince-chrismc](https://github.com/prince-chrismc)) -- Improve front-end testing [\#7](https://github.com/prince-chrismc/user-management/pull/7) ([prince-chrismc](https://github.com/prince-chrismc)) -- user delete tests produce false positive [\#6](https://github.com/prince-chrismc/user-management/pull/6) ([prince-chrismc](https://github.com/prince-chrismc)) -- adding tests for add, edit, and deleting a user [\#5](https://github.com/prince-chrismc/user-management/pull/5) ([prince-chrismc](https://github.com/prince-chrismc)) -- adding coverage test [\#4](https://github.com/prince-chrismc/user-management/pull/4) ([prince-chrismc](https://github.com/prince-chrismc)) -- limit the number of jobs ran on each commit [\#3](https://github.com/prince-chrismc/user-management/pull/3) ([prince-chrismc](https://github.com/prince-chrismc)) -- Bump websocket-extensions from 0.1.3 to 0.1.4 in /web-app [\#2](https://github.com/prince-chrismc/user-management/pull/2) ([dependabot[bot]](https://github.com/apps/dependabot)) -- Chore/update json schema [\#1](https://github.com/prince-chrismc/user-management/pull/1) ([prince-chrismc](https://github.com/prince-chrismc)) +- refinements to API documentation [\#9](https://github.com/prince-chrismc/user-management/pull/9) +- adding tests for endpoints [\#8](https://github.com/prince-chrismc/user-management/pull/8) +- Improve front-end testing [\#7](https://github.com/prince-chrismc/user-management/pull/7) +- user delete tests produce false positive [\#6](https://github.com/prince-chrismc/user-management/pull/6) +- adding tests for add, edit, and deleting a user [\#5](https://github.com/prince-chrismc/user-management/pull/5) +- adding coverage test [\#4](https://github.com/prince-chrismc/user-management/pull/4) +- limit the number of jobs ran on each commit [\#3](https://github.com/prince-chrismc/user-management/pull/3) +- Bump websocket-extensions from 0.1.3 to 0.1.4 in /web-app [\#2](https://github.com/prince-chrismc/user-management/pull/2) +- Chore/update json schema [\#1](https://github.com/prince-chrismc/user-management/pull/1) \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)* diff --git a/web-app/package.json b/web-app/package.json index 10d17270..0e7f5e24 100644 --- a/web-app/package.json +++ b/web-app/package.json @@ -1,6 +1,6 @@ { "name": "user-management-frontend", - "version": "1.0.0-dev.0", + "version": "1.0.0-dev.1", "description": "An open-source UI delivering a responsive user management experience", "homepage": "https://github.com/prince-chrismc/user-management/tree/master/web-app#readme", "keywords": [ @@ -98,4 +98,4 @@ "\\.(css|less)$": "identity-obj-proxy" } } -} \ No newline at end of file +} diff --git a/web-app/readme.md b/web-app/readme.md index c6bddfb0..7aed2423 100644 --- a/web-app/readme.md +++ b/web-app/readme.md @@ -85,7 +85,7 @@ yarn pack #### Build Docker Image ```sh -docker build . -f Dockerfile -t user-managment-frontend:1.0.0-dev.0 # Docker does not support SemVer build information +docker build . -f Dockerfile -t user-managment-frontend:1.0.0-dev.1 # Docker does not support SemVer build information ``` As an alternative, the previsous two teps (package and build image), can be execture with the multistage builder @@ -93,11 +93,11 @@ As an alternative, the previsous two teps (package and build image), can be exec ```sh docker build . -f Dockerfile.multistage \ --build-arg api_url=https://ec2-18-222-250-141.us-east-2.compute.amazonaws.com \ --t user-managment-frontend:1.0.0-dev.0 +-t user-managment-frontend:1.0.0-dev.1 ``` ### Run Containers ```sh -docker run --rm -d -p 80:80 user-managment-frontend:1.0.0-dev.0 +docker run --rm -d -p 80:80 user-managment-frontend:1.0.0-dev.1 ```