--no-cleanup
flag for slack run
, which persists the development version of your app in your workspace between runs.client.apps.datastore.*
calls. See Using Datastores for details.client.apiCall('chat.postMessage', {...})
, you can do client.chat.postMessage({...})
. See Calling Slack API methods for details.activity --tail
not working properlyDid you build next-generation apps before April 19, 2022?
If you built apps on the next-generation platform before April 19, 2022, you will need to re-authorize your CLI into your workspace. Do this by running slack auth logout
and then slack auth login
.
DefineFunction
, the id
has been moved into the function definition and is now known as callback_id
.Project.ts
is now manifest.ts
; your apps are configured in your project's manifest.js
, ts
, or json
.js
or ts
.functions
, types
, and datastores
.DefineType
, the id
has been moved into the type definition and is now known as callback_id
.channels
, user
, boolean
, and string
. We also support array
of user
, channel
, and string
enum.client
to every function, and instead let developers opt into the client
by importing our separate API library that can be instantiated with the token
helper.FunctionHandler
.slack create
creates a Reverse String app using the new Deno SDKslack activity
has a new look & feel for deployment logsslack run
now deletes your dev app when the local development server stopsslack doctor
has a new look & feel with extra detailsslack list
now lists all authed accounts instead of listing collaborators.slack/cli.json
has been removed from the projectslack.json
is now a required file in the root of your projectslack.json
has a new format to make SDK updates smootherslack tables
command is removed (see slack datastore
)The following features and functionality have not changed:
slack login
slack create
slack run
slack deploy
slack activity --tail
slack collaborators
DefineFunction
and DefineType
We will keep your tables and the API routes to access them (apps.tables.*
) for two weeks. Please use this time to extract any data that you would like to extract via the API. (The CLI/SDK will no longer support these routes, so you'll need to use the API directly). We've put together some scripts to help the migration process.