version 1.1.2
New Features
v1.0 authorize compatible mode
Now you can use InstallationStore's v1.0 compatible mode in authorize.
Setting App
/AsyncApp
's installation_store_bot_only
constructor argument as True works in the same manner as v1.0 authorize. If you manually initialize InstallationStoreAuthorize
, bot_only
flag in it is the one you can configure. See the pull request #171 for more details.
installation_store = MyInstallationStore()
oauth_state_store = MyOAuthStateStore()
app = App(
# If you want to keep using only `#find_bot` for token retrieval,
# you can configure installation_store_bot_only as True
installation_store_bot_only=True,
oauth_settings=OAuthSettings(
installation_store=installation_store,
state_store=oauth_state_store,
),
)
NOTE: If you use installation_store_bot_only
flag in OAuthFlow
or OAuthSettings
, please upgrade to v1.1.3 or higher.
Changes
- #171 Add v1.0 compatible mode to #148 Org-wide App support - Thanks @seratch
- #173 #170 Remove the possibility of issue #170 by removing emoji from the boot message only for Windows - Thanks @athifongoqa @seratch
- #172 Fix Django app example to run with v1.1 - Thanks @vokey