diff --git a/.github/workflows/update-changelog.yml b/.github/workflows/update-changelog.yml new file mode 100644 index 0000000..0cdea23 --- /dev/null +++ b/.github/workflows/update-changelog.yml @@ -0,0 +1,28 @@ +name: "Update Changelog" + +on: + release: + types: [released] + +jobs: + update: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + with: + ref: main + + - name: Update Changelog + uses: stefanzweifel/changelog-updater-action@v1 + with: + latest-version: ${{ github.event.release.name }} + release-notes: ${{ github.event.release.body }} + + - name: Commit updated CHANGELOG + uses: stefanzweifel/git-auto-commit-action@v5 + with: + branch: main + commit_message: Update CHANGELOG + file_pattern: CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md index bbb0591..9d362af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,26 +2,50 @@ All notable changes to `laravel-db-auditor` will be documented in this file +## v1.8.1 - 2024-01-19 + +### What's Changed + +* Add Current User Name If Git commit not found or not commited the file by @vc-urvin in https://github.com/vcian/laravel-db-auditor/pull/42 + +**Full Changelog**: https://github.com/vcian/laravel-db-auditor/compare/v1.8.0...v1.8.1 + +## v1.8.0 - 2024-01-18 + +### What's Changed + +* Add quotes in SQL query by @vc-urvin in https://github.com/vcian/laravel-db-auditor/pull/37 +* Implement the database track command by @vc-urvin in https://github.com/vcian/laravel-db-auditor/pull/38 +* Add an art folder with screenshots. by @ruchit288 in https://github.com/vcian/laravel-db-auditor/pull/39 +* Create update-changelog.yml by @ruchit288 in https://github.com/vcian/laravel-db-auditor/pull/40 +* feat: add database track related screenshot and update readme file. by @ruchit288 in https://github.com/vcian/laravel-db-auditor/pull/41 + +**Full Changelog**: https://github.com/vcian/laravel-db-auditor/compare/v1.7.0...v1.8.0 + ## v1.7.0 [3rd July 2023] + - Integrate Web Page For Standard Check. - Integrate Web Page for Constraint Page with Actions - Add primary key, index, foreign and unique keys. - Minor bug fixing. ## v1.6.0 [15th June 2023] + - Folder structure change - Services replaced with Traits. ## v1.5.2 [19th May 2023] + - UI/UX improvement of db:standard CLI UI. - Resolved foreign key constraint issue. ## v1.5.1 [5th May 2023] + - Bug fixing and Add new Constraint. - Change in rules services for suggestion messages. - Add condition for empty constraint. - Add examples in the readme file. - ## v1.5.0 [29th April 2023] + - Resolved naming validation rules and datatype issue. ## v1.4.0 [27th April 2023] @@ -46,7 +70,7 @@ All notable changes to `laravel-db-auditor` will be documented in this file - Resolved class naming convention issue. - Modified messages. -## v1.1.0 [17th April 2023] +## v1.1.0 [17th April 2023] - Update doctrine dependency. diff --git a/README.md b/README.md index 3c8a656..5bb0cf7 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -
+ ![Packagist License](https://img.shields.io/packagist/l/vcian/laravel-db-auditor?style=for-the-badge) [![Total Downloads](https://img.shields.io/packagist/dt/vcian/laravel-db-auditor?style=for-the-badge)](https://packagist.org/packages/vcian/laravel-db-auditor) @@ -41,13 +41,13 @@ If you want to check standalone feature then you can execute below artisan comma > Below example give insights about the how to see constraints in table and how to add. > - + - + - + - + --- @@ -61,11 +61,11 @@ If you want to check standalone feature then you can execute below artisan comma > Below example give insights of database standards reports and suggestions. > > - + - + - + --- > #### **php artisan db:track** @@ -74,8 +74,12 @@ If you want to check standalone feature then you can execute below artisan comma > > > You can also filter with --table=, --action=, --status=. +> Note: "created by" return the github username and if it's not git repo than it shows system username. > - + + + + **Note:** You have to set your database name with _DB_DATABASE_ parameter in you laravel .env file to use this feature. @@ -90,12 +94,12 @@ select "db-auditor" Route - To access the web UI "/laravel-db-auditor" - + - + - + ## Changelog diff --git a/art/artisan-db-audit-cmd.png b/art/artisan-db-audit-cmd.png new file mode 100644 index 0000000..d37bafd Binary files /dev/null and b/art/artisan-db-audit-cmd.png differ diff --git a/art/db-constraint-add.png b/art/db-constraint-add.png new file mode 100644 index 0000000..0c0de8b Binary files /dev/null and b/art/db-constraint-add.png differ diff --git a/art/db-constraint-display-table-details.png b/art/db-constraint-display-table-details.png new file mode 100644 index 0000000..47d8fc2 Binary files /dev/null and b/art/db-constraint-display-table-details.png differ diff --git a/art/db-constraint-result.png b/art/db-constraint-result.png new file mode 100644 index 0000000..f254685 Binary files /dev/null and b/art/db-constraint-result.png differ diff --git a/art/db-constraint-select-table.png b/art/db-constraint-select-table.png new file mode 100644 index 0000000..d37bafd Binary files /dev/null and b/art/db-constraint-select-table.png differ diff --git a/art/db-constraint-ui.png b/art/db-constraint-ui.png new file mode 100644 index 0000000..253783b Binary files /dev/null and b/art/db-constraint-ui.png differ diff --git a/art/db-standard-cmd-1.png b/art/db-standard-cmd-1.png new file mode 100644 index 0000000..62cf3e7 Binary files /dev/null and b/art/db-standard-cmd-1.png differ diff --git a/art/db-standard-details-ui.png b/art/db-standard-details-ui.png new file mode 100644 index 0000000..1490afc Binary files /dev/null and b/art/db-standard-details-ui.png differ diff --git a/art/db-standard-table-report-1.png b/art/db-standard-table-report-1.png new file mode 100644 index 0000000..2fe496d Binary files /dev/null and b/art/db-standard-table-report-1.png differ diff --git a/art/db-standard-table-report-2.png b/art/db-standard-table-report-2.png new file mode 100644 index 0000000..923f5fc Binary files /dev/null and b/art/db-standard-table-report-2.png differ diff --git a/art/db-standard-ui.png b/art/db-standard-ui.png new file mode 100644 index 0000000..ac789ea Binary files /dev/null and b/art/db-standard-ui.png differ diff --git a/art/laravel-db-auditor-hr.png b/art/laravel-db-auditor-hr.png new file mode 100644 index 0000000..3c2c75e Binary files /dev/null and b/art/laravel-db-auditor-hr.png differ diff --git a/art/laravel-db-auditor-hr.svg b/art/laravel-db-auditor-hr.svg new file mode 100644 index 0000000..64b6b64 --- /dev/null +++ b/art/laravel-db-auditor-hr.svg @@ -0,0 +1,249 @@ + + + diff --git a/art/laravel-db-auditor-vr.png b/art/laravel-db-auditor-vr.png new file mode 100644 index 0000000..b96a27c Binary files /dev/null and b/art/laravel-db-auditor-vr.png differ diff --git a/art/laravel-db-auditor-vr.svg b/art/laravel-db-auditor-vr.svg new file mode 100644 index 0000000..4e64b10 --- /dev/null +++ b/art/laravel-db-auditor-vr.svg @@ -0,0 +1,247 @@ + + + diff --git a/art/track-ac-create.png b/art/track-ac-create.png new file mode 100644 index 0000000..d003420 Binary files /dev/null and b/art/track-ac-create.png differ diff --git a/art/track-default.png b/art/track-default.png new file mode 100644 index 0000000..a0fdb74 Binary files /dev/null and b/art/track-default.png differ diff --git a/art/track-st-pending.png b/art/track-st-pending.png new file mode 100644 index 0000000..c582a24 Binary files /dev/null and b/art/track-st-pending.png differ diff --git a/art/track-table.png b/art/track-table.png new file mode 100644 index 0000000..e7061bf Binary files /dev/null and b/art/track-table.png differ