Skip to content

Commit

Permalink
Merge pull request #54 from ProjectAthenia/dev
Browse files Browse the repository at this point in the history
Release 3.4.0
  • Loading branch information
bryce13950 authored Jan 27, 2025
2 parents 625238f + fe3d7ba commit 2c4a22a
Show file tree
Hide file tree
Showing 12 changed files with 1,844 additions and 2,221 deletions.
7 changes: 7 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ The fastest way to upgrade is to run the following commands from your repos root

After that, you always want to make sure you inspect all changes, and you still want to go through the change log to check for moved files and deleted files, as rsync cannot check for deleted files, since it would delete any files created for the child application.

# 3.4.0

This update adds some miscellaneous changes as well as updating the environment to php 8.4. It also updates the dependencies to use laravel 11, which has resulted in the generators package to be removed from the base service provider. After updating the Athenia files above, make sure to update the following files.

* code/app/Models/User/User.php - Removed Swagger docs
* code/composer.json - Updates dependencies, make sure to inspect

# 3.3.0

Nice little one again! For this one you only need to copy over `dev_login.sh` and `docker-compose.yml`. This update will allow you to now run all background jobs for the app by booting the docker compose with `docker compose --profile background up`. Running the docker compose normally will keep those pieces turned off.
Expand Down
4 changes: 2 additions & 2 deletions code/app/Athenia/Http/Middleware/LogMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ public function terminate(Request $request, Response $response)
'method' => $request->method(),
'url' => $request->fullUrl(),
'data' => $request->all(),
'headers' => $request->headers,
'headers' => $request->headers->all(),
'ip' => $request->ip()
],
'response' => [
'status' => $response->getStatusCode(),
'headers' => $response->headers,
'headers' => $response->headers->all(),
'content' => $response->getContent()
]
]);
Expand Down
2 changes: 0 additions & 2 deletions code/app/Athenia/Providers/BaseServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
use Illuminate\Contracts\Events\Dispatcher;
use Illuminate\Contracts\Mail\Mailer;
use Illuminate\Support\ServiceProvider;
use Laracasts\Generators\GeneratorsServiceProvider;

abstract class BaseServiceProvider extends ServiceProvider
{
Expand Down Expand Up @@ -215,7 +214,6 @@ public function register(): void
public function registerEnvironmentSpecificProviders(): void
{
if ($this->app->environment() == 'local') {
$this->app->register(GeneratorsServiceProvider::class);
$this->app->register(IdeHelperServiceProvider::class);
}
}
Expand Down
66 changes: 0 additions & 66 deletions code/app/Models/User/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -453,70 +453,4 @@ public function buildModelValidationRules(...$params): array
],
];
}

/**
* Swagger definition below...
*
* @SWG\Definition(
* type="object",
* definition="User",
* @SWG\Property(
* property="id",
* type="integer",
* format="int32",
* description="The primary id of the model",
* readOnly=true
* ),
* @SWG\Property(
* property="created_at",
* type="string",
* format="date-time",
* description="UTC date of the time this was created",
* readOnly=true
* ),
* @SWG\Property(
* property="updated_at",
* type="string",
* format="date-time",
* description="UTC date of the time this was last updated",
* readOnly=true
* ),
* @SWG\Property(
* property="email",
* type="string",
* maxLength=120,
* description="The email address of this user"
* ),
* @SWG\Property(
* property="name",
* type="string",
* maxLength=120,
* description="The name of this user"
* ),
* @SWG\Property(
* property="password",
* type="string",
* minLength=6,
* description="The password for this user. This cannot be read, and it can only be set."
* ),
* @SWG\Property(
* property="roles",
* description="The roles that this user has.",
* type="array",
* @SWG\Items(ref="#/definitions/Role")
* ),
* @SWG\Property(
* property="created_articles",
* description="The articles that this user created.",
* type="array",
* @SWG\Items(ref="#/definitions/Articles")
* ),
* @SWG\Property(
* property="created_iterations",
* description="The iterations that this user created.",
* type="array",
* @SWG\Items(ref="#/definitions/Iterations")
* )
* )
*/
}
22 changes: 10 additions & 12 deletions code/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,30 +9,28 @@
"type": "project",
"require": {
"php": ">=8.1.0",
"adminui/laravel-eloquent-joins": "^10.0",
"cartalyst/stripe-laravel": "^15.0",
"doctrine/dbal": "^3.0",
"guzzlehttp/guzzle": "^7.0.1",
"laravel/framework": "^10.0",
"adminui/laravel-eloquent-joins": "^11.0",
"cartalyst/stripe-laravel": "^16.0",
"guzzlehttp/guzzle": "^7.0",
"laravel/framework": "^11.0",
"laravel/tinker": "~2.0",
"php-open-source-saver/jwt-auth": "^2.0",
"predis/predis": "^2.0",
"pusher/pusher-php-server": "~7.0",
"roave/security-advisories": "dev-master",
"sebastian/diff": "^5.0",
"xantios/mimey": "^2.1",
"ext-zip": "*",
"sebastian/diff": "^6.0",
"xantios/mimey": "^2.0",
"ext-zip": "*",
"ext-imagick": "*"
},
"require-dev": {
"barryvdh/laravel-ide-helper": "^2.8",
"barryvdh/laravel-ide-helper": "^3.0",
"dg/bypass-finals": "^1.6",
"fakerphp/faker": "^1.14",
"filp/whoops": "~2.0",
"laracasts/generators": "^2.0",
"mockery/mockery": "~1.0",
"nunomaduro/collision": "^7.0",
"phpunit/phpunit": "^10.0",
"nunomaduro/collision": "^8.1",
"phpunit/phpunit": "^11.0",
"spatie/laravel-ignition": "^2.0",
"symfony/thanks": "^1.0"
},
Expand Down
Loading

0 comments on commit 2c4a22a

Please sign in to comment.