Merge branch 'laravel-12' into 'develop'

feat: ✨ add Laravel 12 compatibility

See merge request ldc-web/projets/sitemap-generator!1
This commit is contained in:
Vincent BRIDIER 2025-04-07 13:02:36 +00:00
commit 6bb35d651e
4 changed files with 73 additions and 32 deletions

58
CHANGELOG.md Normal file
View file

@ -0,0 +1,58 @@
# Changelog
All notable changes to `sitemap-generator` will be documented in this file.
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
- This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
- Commits respect [Conventionnal commits](https://www.conventionalcommits.org/en/v1.0.0/) & use [Gitmoji](https://gitmoji.dev/).
## **[v4.0.0] - 07/04/2025**
### Added
- feat: ✨ add Laravel 12 compatibility
## **[v3.0.0] - 25/09/2024**
### Added
- feat: 🔖 Add manual implementation to control exposed data and handle translation
- feat: Change file location to handle k8s restart
## **[v2.0.1] - 12/02/2024**
### Changed
- k8s convenience output file option
## **[v2.0.0] - 11/11/2025**
### Added
- Add manual implementation to control exposed data and manage translation
## **[v1.0.3] - 11/08/2025**
### Changed
- Fixed Sitemap output was the original, not the filtered
## **[v1.0.2] - 11/08/2025**
### Changed
- Fixed Ignores urls with queries (like paginated) -> **Handle only restfull urls**
- Fixed reduce dry-run resulte to fit in console
- Fixed Handle non html urls for witch route cannot be resolved
## **[v1.0.1] - 11/08/2025**
### Changed
- Fixed install sitemap command
## **[v1.0.0] - 11/08/2023**
### Added
- Inital release

View file

@ -52,10 +52,18 @@ public function toSitemapTag(): Url | string | array
}
```
## Change log
Please see the [changelog](changelog.md) for more information on what has changed recently.
## Security
If you discover any security related issues, please email <equipe.web@ldc.fr> instead of using the issue tracker.
# Changelog
Latest version v4.0.0.
See the [CHANGELOG.md](CHANGELOG.md) file for details.
# Copyright and License
[Sitemap Generator](https://lab.s-web.fr/ldc-web/projets/sitemap-generator) was written by Uwil.
Copyright (c) 2023 and beyond Uwil.

View file

@ -1,25 +0,0 @@
# Changelog
All notable changes to `sitemap-generator` will be documented in this file.
## Version 2.0.0
- Add manual implementation to control exposed data and manage translation
## Version 1.0.3
- Fixed Sitemap output was the original, not the filtered
## Version 1.0.2
- Fixed Ignores urls with queries (like paginated) -> **Handle only restfull urls**
- Fixed reduce dry-run resulte to fit in console
- Fixed Handle non html urls for witch route cannot be resolved
## Version 1.0.1
- **Fixed** Installer console command
## Version 1.0.0
- Inital release

View file

@ -1,10 +1,10 @@
{
"name": "uwil/sitemap-generator",
"description": "Create sitemap.xml",
"version": "3.0.0",
"version": "4.0.0",
"require": {
"illuminate/support": "~11",
"laravel/framework": "~11",
"illuminate/support": "~11|~12",
"laravel/framework": "~11|~12",
"spatie/laravel-sitemap": "^7.0"
},
"require-dev": {