Skip to content

Commit

Permalink
Merge pull request #408 from pacoorozco/release-4.0.0
Browse files Browse the repository at this point in the history
Release version 4.0.0
  • Loading branch information
pacoorozco authored Feb 26, 2023
2 parents 99214c6 + 663c4c6 commit 9331d30
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 3 deletions.
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,32 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/) and this

## Unreleased

## 4.0.0 - 2023-02-26

> NOTE: This release has **non-backwards compatible** changes. It may include some changes in the database tables.
>
### Added
- Optimizing user's profile, badge and level image size thanks to the [spatie/medialibrary](https://spatie.be/docs/laravel-medialibrary/v10/introduction).

### Changed
- **Important**: The required minimum version of PHP is v8.1.
- **Important**: This application has been upgraded to [Laravel 10.x](https://laravel.com/docs).
- **Important**: Database schema has been modified in a **non-backwards compatible way**.
- The `password_resets` table renamed to `password_resets_tokens`.
- Removed `avatar` column in `user_profiles` table. Using `spatie/medialibrary` package instead.
- Removed `image_url` column in `levels` table. Using `spatie/medialibrary` package instead.
- Removed `image_url` column in `badges` table. Using `spatie/medialibrary` package instead.
- Test running against a real database instead of memory (SQLite).
- Use of `coderflexx/laravel-presenter` as Presenter.
- Use of `spatie/medialibrary` instead of `qcod/imageup` as Image Manager.

### Fixed
- Bug when creation User's response with invalid score.
- Some flaky tests.

### Removed
- Unused `fuitcake/cors` dependency.

## 3.3.0 - 2022-10-17
### Added
- Config flag to set the Laravel app time zone.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![Testing with MySQL](https://github.com/pacoorozco/gamify-laravel/actions/workflows/run-tests.yml/badge.svg)](https://github.com/pacoorozco/gamify-laravel/actions/workflows/run-tests.yml)
[![codecov](https://codecov.io/gh/pacoorozco/gamify-laravel/branch/main/graph/badge.svg?token=ugLXCazFWC)](https://codecov.io/gh/pacoorozco/gamify-laravel)
[![License](https://img.shields.io/github/license/pacoorozco/gamify-laravel.svg)](LICENSE)
[![Laravel Version](https://img.shields.io/badge/Laravel-9.x-orange.svg)](https://laravel.com/docs/8.x)
[![Laravel Version](https://img.shields.io/badge/Laravel-10.x-orange.svg)](https://laravel.com/docs/10.x)
[![GitHub release](https://img.shields.io/github/release/pacoorozco/gamify-laravel.svg?style=flat-square)](https://github.com/pacoorozco/gamify-laravel/releases)

## Presentation
Expand All @@ -24,7 +24,7 @@ See [CHANGELOG](CHANGELOG.md) file in order to know what changes are implemented

## How to run gamify

[Laravel Sail](https://laravel.com/docs/9.x/sail) is a light-weight command-line interface for interacting with
[Laravel Sail](https://laravel.com/docs/10.x/sail) is a light-weight command-line interface for interacting with
Laravel's default Docker development environment. This will create several containers to implement the application needs. An
application server and a database server.

Expand Down
2 changes: 1 addition & 1 deletion config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
|
*/

'version' => '3.3.0',
'version' => '4.0.0',

/*
|--------------------------------------------------------------------------
Expand Down

0 comments on commit 9331d30

Please sign in to comment.