Bläddra i källkod

Merge pull request #4915 from pixelfed/staging

Bump version to v0.11.11
daniel 1 år sedan
förälder
incheckning
8fa6ae421b
3 ändrade filer med 13 tillägg och 7 borttagningar
  1. 6 1
      CHANGELOG.md
  2. 6 5
      app/Providers/AuthServiceProvider.php
  3. 1 1
      config/pixelfed.php

+ 6 - 1
CHANGELOG.md

@@ -1,6 +1,11 @@
 # Release Notes
 
-## [Unreleased](https://github.com/pixelfed/pixelfed/compare/v0.11.10...dev)
+## [Unreleased](https://github.com/pixelfed/pixelfed/compare/v0.11.11...dev)
+
+## [v0.11.11 (2024-02-09)](https://github.com/pixelfed/pixelfed/compare/v0.11.10...v0.11.11)
+
+### Fixes
+- Fix api endpoints ([fd7f5dbb](https://github.com/pixelfed/pixelfed/commit/fd7f5dbb))
 
 ## [v0.11.10 (2024-02-09)](https://github.com/pixelfed/pixelfed/compare/v0.11.9...v0.11.10)
 

+ 6 - 5
app/Providers/AuthServiceProvider.php

@@ -31,11 +31,6 @@ class AuthServiceProvider extends ServiceProvider
             if(config('instance.oauth.pat.enabled')) {
                 Passport::personalAccessClientId(config('instance.oauth.pat.id'));
             }
-            Passport::setDefaultScope([
-                'read',
-                'write',
-                'follow',
-            ]);
 
             Passport::tokensCan([
                 'read' => 'Full read access to your account',
@@ -45,6 +40,12 @@ class AuthServiceProvider extends ServiceProvider
                 'admin:write' => 'Modify all data on the server',
                 'push'  => 'Receive your push notifications'
             ]);
+
+            Passport::setDefaultScope([
+                'read',
+                'write',
+                'follow',
+            ]);
         }
 
         // Gate::define('viewWebSocketsDashboard', function ($user = null) {

+ 1 - 1
config/pixelfed.php

@@ -23,7 +23,7 @@ return [
 	| This value is the version of your Pixelfed instance.
 	|
 	*/
-	'version' => '0.11.10',
+	'version' => '0.11.11',
 
 	/*
 	|--------------------------------------------------------------------------