Skip to content

Commit

Permalink
prepare release
Browse files Browse the repository at this point in the history
  • Loading branch information
mikespub committed Nov 5, 2024
1 parent 4784340 commit e12a346
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 11 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,14 @@ x.x.x - TODO
* ...

3.x.x - 2024xxxx
* ...

3.4.5 - 20241105 Use route names to generate links
* Changes in config/default.php file:
- set $config['cops_use_route_urls'] as deprecated (= always enabled)
- set $config['cops_download_series'] as deprecated (use $config['cops_download_page'] instead)
- set $config['cops_download_author'] as deprecated (use $config['cops_download_page'] instead)
* Upgrade swagger-ui-dist package and link to 5.18.0
* Split off Routing namespace with interface to allow switching routers later
* Pin nikic/fast-route version to 2.0.0-beta1 and use recommended settings
* Pass _route param to request in Route::match() and deprecate Route::link()
Expand Down
11 changes: 10 additions & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,15 @@
<exclude name="yarn.lock" />
<exclude name="tools/**" />
<exclude name="coverage/**" />
<exclude name=".dockerignore" />
<exclude name=".editorconfig" />
<exclude name=".gitattributes" />
<exclude name=".gitignore" />
<exclude name=".gitremotes" />
<exclude name="CHANGELOG.seblucas.md" />
<exclude name="phpstan*" />
<exclude name="phpunit*" />
<exclude name="rector*" />
<exclude name="vendor/bin/**" />
<exclude name="vendor/maennchen/zipstream-php/.phive/**" />
<exclude name="vendor/maennchen/zipstream-php/.phpdoc/**" />
Expand Down Expand Up @@ -90,7 +99,7 @@
<exclude name="*.xml" />
<exclude name="config_local.php" />
<exclude name="config/local.php" />
<exclude name="composer*" />
<exclude name="composer.lock" />
<exclude name="*.cache" />
<exclude name="*.cache/**" />
</fileset>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"normalize.css": "^8.0.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"swagger-ui-dist": "^5.17.14",
"swagger-ui-dist": "^5.18.0",
"twig": "^1.17.1"
},
"license": "GPL-2.0-or-later"
Expand Down
2 changes: 1 addition & 1 deletion resources/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"openapi": "3.0.3",
"info": {
"title": "COPS REST API",
"version": "3.4.0"
"version": "3.4.5"
},
"servers": [
{
Expand Down
2 changes: 1 addition & 1 deletion src/Input/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/
class Config
{
public const VERSION = '3.4.0';
public const VERSION = '3.4.5';
public const ENDPOINT = [
"html" => "index.php",
"feed" => "feed.php",
Expand Down
4 changes: 2 additions & 2 deletions templates/restapi.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
content="COPS - SwaggerUI"
/>
<title>COPS - SwaggerUI</title>
<link rel="stylesheet" href="https://unpkg.com/swagger-ui-dist@5.17.14/swagger-ui.css" />
<link rel="stylesheet" href="https://unpkg.com/swagger-ui-dist@5.18.0/swagger-ui.css" />
</head>
<body>
<div id="swagger-ui"></div>
<script src="https://unpkg.com/swagger-ui-dist@5.17.14/swagger-ui-bundle.js" crossorigin></script>
<script src="https://unpkg.com/swagger-ui-dist@5.18.0/swagger-ui-bundle.js" crossorigin></script>
<!-- in pseudo doT syntax, but only this link is supported -->
<script>
window.onload = () => {
Expand Down
19 changes: 14 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -730,6 +730,13 @@ __metadata:
languageName: node
linkType: hard

"@scarf/scarf@npm:=1.3.0":
version: 1.3.0
resolution: "@scarf/scarf@npm:1.3.0"
checksum: 10c0/b616ea968b9e04124b9fa43bc170d2b002e18936eb3450e71ccaa88faf0a90a28eead36efdfe9c5bc69bf4cf6b9e079e364e67e276701e950fbbd463bc735356
languageName: node
linkType: hard

"@tanstack/react-virtual@npm:^3.0.0-beta.60":
version: 3.10.7
resolution: "@tanstack/react-virtual@npm:3.10.7"
Expand Down Expand Up @@ -1565,7 +1572,7 @@ __metadata:
normalize.css: "npm:^8.0.1"
react: "npm:^18.3.1"
react-dom: "npm:^18.3.1"
swagger-ui-dist: "npm:^5.17.14"
swagger-ui-dist: "npm:^5.18.0"
twig: "npm:^1.17.1"
languageName: unknown
linkType: soft
Expand Down Expand Up @@ -1606,10 +1613,12 @@ __metadata:
languageName: node
linkType: hard

"swagger-ui-dist@npm:^5.17.14":
version: 5.17.14
resolution: "swagger-ui-dist@npm:5.17.14"
checksum: 10c0/cb61bba39e76d7d0d83da605a55e9504c1a5b421f9f13cced06d3e222f0a291594d417ec57b30a38aabe30d8a7e257c4977b8f0bba0e865d60f92b0a8ef4dfc1
"swagger-ui-dist@npm:^5.18.0":
version: 5.18.0
resolution: "swagger-ui-dist@npm:5.18.0"
dependencies:
"@scarf/scarf": "npm:=1.3.0"
checksum: 10c0/bb90e2b39d63a3eb4df3174ff63d40ed04aedb7b85cbbd587f21406aa0bb852ef5499968e1949e80b0f9ccfc6f0cb741b4cc2ee6ac724350701bda9ec813ad94
languageName: node
linkType: hard

Expand Down

0 comments on commit e12a346

Please sign in to comment.