From aad0c6d1dcac7b3e19c9e3647a023e13f2c86637 Mon Sep 17 00:00:00 2001 From: Tolu Kalejaiye Date: Wed, 30 Jul 2025 13:46:35 +0100 Subject: [PATCH 1/3] remove withLabel parameter from playlistId and change get-playlist return value --- .../actions/add-items-to-playlist/add-items-to-playlist.mjs | 2 +- .../spotify/actions/create-playlist/create-playlist.mjs | 2 +- .../spotify/actions/get-album-tracks/get-album-tracks.mjs | 2 +- .../get-all-tracks-by-artist/get-all-tracks-by-artist.mjs | 2 +- .../actions/get-artist-top-tracks/get-artist-top-tracks.mjs | 2 +- .../get-audio-features-for-a-track.mjs | 2 +- .../actions/get-categorys-playlist/get-categorys-playlist.mjs | 2 +- .../get-currently-playing-track.mjs | 2 +- .../spotify/actions/get-playlist-items/get-playlist-items.mjs | 2 +- components/spotify/actions/get-playlist/get-playlist.mjs | 4 ++-- .../actions/get-recommendations/get-recommendations.mjs | 2 +- components/spotify/actions/get-track/get-track.mjs | 2 +- .../remove-items-from-playlist/remove-items-from-playlist.mjs | 2 +- .../remove-user-saved-tracks/remove-user-saved-tracks.mjs | 2 +- components/spotify/actions/save-track/save-track.mjs | 2 +- components/spotify/package.json | 2 +- components/spotify/spotify.app.mjs | 1 - 17 files changed, 17 insertions(+), 18 deletions(-) diff --git a/components/spotify/actions/add-items-to-playlist/add-items-to-playlist.mjs b/components/spotify/actions/add-items-to-playlist/add-items-to-playlist.mjs index 318b2e76db6c1..fb9a28ef92230 100644 --- a/components/spotify/actions/add-items-to-playlist/add-items-to-playlist.mjs +++ b/components/spotify/actions/add-items-to-playlist/add-items-to-playlist.mjs @@ -6,7 +6,7 @@ export default { name: "Add Items to a Playlist", description: "Add one or more items to a user’s playlist. [See the docs here](https://developer.spotify.com/documentation/web-api/reference/#/operations/add-tracks-to-playlist).", key: "spotify-add-items-to-playlist", - version: "0.1.1", + version: "0.1.2", type: "action", props: { spotify, diff --git a/components/spotify/actions/create-playlist/create-playlist.mjs b/components/spotify/actions/create-playlist/create-playlist.mjs index e6dd28f3d16d9..37f66da6b645a 100644 --- a/components/spotify/actions/create-playlist/create-playlist.mjs +++ b/components/spotify/actions/create-playlist/create-playlist.mjs @@ -5,7 +5,7 @@ export default { name: "Create a Playlist", description: "Create a playlist for a Spotify user. The playlist will be empty until you add tracks. [See the docs here](https://developer.spotify.com/documentation/web-api/reference/#/operations/create-playlist).", key: "spotify-create-playlist", - version: "0.1.1", + version: "0.1.2", type: "action", props: { spotify, diff --git a/components/spotify/actions/get-album-tracks/get-album-tracks.mjs b/components/spotify/actions/get-album-tracks/get-album-tracks.mjs index c4b7f5f2c7117..7f18ac2ca2dd2 100644 --- a/components/spotify/actions/get-album-tracks/get-album-tracks.mjs +++ b/components/spotify/actions/get-album-tracks/get-album-tracks.mjs @@ -7,7 +7,7 @@ export default { name: "Get Album Tracks", description: "Get all tracks in an album. [See the docs here](https://developer.spotify.com/documentation/web-api/reference/get-an-albums-tracks)", key: "spotify-get-album-tracks", - version: "0.0.1", + version: "0.0.2", type: "action", props: { spotify, diff --git a/components/spotify/actions/get-all-tracks-by-artist/get-all-tracks-by-artist.mjs b/components/spotify/actions/get-all-tracks-by-artist/get-all-tracks-by-artist.mjs index 62ce097b5409f..10601bf4cfc93 100644 --- a/components/spotify/actions/get-all-tracks-by-artist/get-all-tracks-by-artist.mjs +++ b/components/spotify/actions/get-all-tracks-by-artist/get-all-tracks-by-artist.mjs @@ -5,7 +5,7 @@ export default { name: "Get All Tracks by Artist", description: "Get Spotify tracks information related with an artist's. [see docs here](https://developer.spotify.com/documentation/web-api/reference/#/operations/get-multiple-albums).", key: "spotify-get-all-tracks-by-artist", - version: "0.1.1", + version: "0.1.2", type: "action", props: { spotify, diff --git a/components/spotify/actions/get-artist-top-tracks/get-artist-top-tracks.mjs b/components/spotify/actions/get-artist-top-tracks/get-artist-top-tracks.mjs index 782b498cf58e8..b92757cd2703d 100644 --- a/components/spotify/actions/get-artist-top-tracks/get-artist-top-tracks.mjs +++ b/components/spotify/actions/get-artist-top-tracks/get-artist-top-tracks.mjs @@ -6,7 +6,7 @@ export default { name: "Get an Artist's Top Tracks", description: "Get Spotify catalog information about an artist’s top tracks by country. [See the docs here](https://developer.spotify.com/documentation/web-api/reference/#/operations/get-an-artists-top-tracks).", key: "spotify-get-artist-top-tracks", - version: "0.1.1", + version: "0.1.2", type: "action", props: { spotify, diff --git a/components/spotify/actions/get-audio-features-for-a-track/get-audio-features-for-a-track.mjs b/components/spotify/actions/get-audio-features-for-a-track/get-audio-features-for-a-track.mjs index 05d3372ed5dfa..910b50e2ea2f4 100644 --- a/components/spotify/actions/get-audio-features-for-a-track/get-audio-features-for-a-track.mjs +++ b/components/spotify/actions/get-audio-features-for-a-track/get-audio-features-for-a-track.mjs @@ -6,7 +6,7 @@ export default { name: "Get Audio Features for a Track", description: "Get audio feature information for a single track identified by its unique Spotify ID. [See the docs here](https://developer.spotify.com/documentation/web-api/reference/#/operations/get-audio-features).", key: "spotify-get-audio-features-for-a-track", - version: "0.1.1", + version: "0.1.2", type: "action", props: { spotify, diff --git a/components/spotify/actions/get-categorys-playlist/get-categorys-playlist.mjs b/components/spotify/actions/get-categorys-playlist/get-categorys-playlist.mjs index a147791988da3..a6e9759a70a8b 100644 --- a/components/spotify/actions/get-categorys-playlist/get-categorys-playlist.mjs +++ b/components/spotify/actions/get-categorys-playlist/get-categorys-playlist.mjs @@ -6,7 +6,7 @@ export default { name: "Get a Category's Playlists", description: "Get a list of Spotify playlists tagged with a particular category. [See the docs here](https://developer.spotify.com/documentation/web-api/reference/#/operations/get-a-categories-playlists).", key: "spotify-get-categorys-playlist", - version: "0.1.1", + version: "0.1.2", type: "action", props: { spotify, diff --git a/components/spotify/actions/get-currently-playing-track/get-currently-playing-track.mjs b/components/spotify/actions/get-currently-playing-track/get-currently-playing-track.mjs index 3103ecaafbbf2..98ccfab3c6abf 100644 --- a/components/spotify/actions/get-currently-playing-track/get-currently-playing-track.mjs +++ b/components/spotify/actions/get-currently-playing-track/get-currently-playing-track.mjs @@ -7,7 +7,7 @@ export default { description: "Get the object currently being played on the user's Spotify account. [See the documentation](https://developer.spotify.com/documentation/web-api/reference/get-the-users-currently-playing-track)", key: "spotify-get-currently-playing-track", - version: "0.0.1", + version: "0.0.2", type: "action", props: { spotify, diff --git a/components/spotify/actions/get-playlist-items/get-playlist-items.mjs b/components/spotify/actions/get-playlist-items/get-playlist-items.mjs index 1bb48d32df86d..1e0d1f1ab7345 100644 --- a/components/spotify/actions/get-playlist-items/get-playlist-items.mjs +++ b/components/spotify/actions/get-playlist-items/get-playlist-items.mjs @@ -6,7 +6,7 @@ export default { name: "Get a Playlist's Items", description: "Get full details of the items of a playlist owned by a Spotify user. [See the docs here](https://developer.spotify.com/documentation/web-api/reference/#/operations/get-playlists-tracks).", key: "spotify-get-playlist-items", - version: "0.1.1", + version: "0.1.2", type: "action", props: { spotify, diff --git a/components/spotify/actions/get-playlist/get-playlist.mjs b/components/spotify/actions/get-playlist/get-playlist.mjs index bc61b2e4db4d9..fde918b9b80fa 100644 --- a/components/spotify/actions/get-playlist/get-playlist.mjs +++ b/components/spotify/actions/get-playlist/get-playlist.mjs @@ -4,7 +4,7 @@ export default { name: "Get a Playlist", description: "Get a playlist owned by a Spotify user. [See the documentation](https://developer.spotify.com/documentation/web-api/reference/get-playlist).", key: "spotify-get-playlist", - version: "0.0.1", + version: "0.0.2", type: "action", props: { spotify, @@ -23,7 +23,7 @@ export default { const response = await spotify.getPlaylist({ $, - playlistId: playlistId.value, + playlistId, }); $.export("$summary", `The playlist with Id: ${playlistId.value} was successfully fetched!`); diff --git a/components/spotify/actions/get-recommendations/get-recommendations.mjs b/components/spotify/actions/get-recommendations/get-recommendations.mjs index 15da4c173af8c..9b3248ed9be54 100644 --- a/components/spotify/actions/get-recommendations/get-recommendations.mjs +++ b/components/spotify/actions/get-recommendations/get-recommendations.mjs @@ -5,7 +5,7 @@ export default { name: "Get Recommendations", description: "Create a list of recommendations based on the available information for a given seed entity and matched against similar artists and tracks. If there is sufficient information about the provided seeds, a list of tracks will be returned together with pool size details. [See the docs here](https://developer.spotify.com/documentation/web-api/reference/#/operations/get-recommendations).", key: "spotify-get-recommendations", - version: "0.1.1", + version: "0.1.2", type: "action", props: { spotify, diff --git a/components/spotify/actions/get-track/get-track.mjs b/components/spotify/actions/get-track/get-track.mjs index 3c55f2d149894..0d25b7f61c475 100644 --- a/components/spotify/actions/get-track/get-track.mjs +++ b/components/spotify/actions/get-track/get-track.mjs @@ -6,7 +6,7 @@ export default { name: "Get a Track", description: "Get a track by its name or ID. [See the docs here](https://developer.spotify.com/documentation/web-api/reference/#/operations/search)", key: "spotify-get-track", - version: "0.1.1", + version: "0.1.2", type: "action", props: { spotify, diff --git a/components/spotify/actions/remove-items-from-playlist/remove-items-from-playlist.mjs b/components/spotify/actions/remove-items-from-playlist/remove-items-from-playlist.mjs index f6f40c2d5d95a..2fb9afd7e4844 100644 --- a/components/spotify/actions/remove-items-from-playlist/remove-items-from-playlist.mjs +++ b/components/spotify/actions/remove-items-from-playlist/remove-items-from-playlist.mjs @@ -6,7 +6,7 @@ export default { name: "Remove Items from a Playlist", description: "Remove one or more items from a user’s playlist. [See the docs here](https://developer.spotify.com/documentation/web-api/reference/#/operations/remove-tracks-playlist)", key: "spotify-remove-items-from-playlist", - version: "0.1.1", + version: "0.1.2", type: "action", props: { spotify, diff --git a/components/spotify/actions/remove-user-saved-tracks/remove-user-saved-tracks.mjs b/components/spotify/actions/remove-user-saved-tracks/remove-user-saved-tracks.mjs index 5d18afd977508..0434bc0ec66ed 100644 --- a/components/spotify/actions/remove-user-saved-tracks/remove-user-saved-tracks.mjs +++ b/components/spotify/actions/remove-user-saved-tracks/remove-user-saved-tracks.mjs @@ -5,7 +5,7 @@ export default { name: "Remove User's Saved Tracks", description: "Remove one or more tracks from the current user’s ‘Your Music’ library. [See the docs here](https://developer.spotify.com/documentation/web-api/reference/#/operations/remove-tracks-user)", key: "spotify-remove-user-saved-tracks", - version: "0.1.1", + version: "0.1.2", type: "action", props: { spotify, diff --git a/components/spotify/actions/save-track/save-track.mjs b/components/spotify/actions/save-track/save-track.mjs index dc05c4a8dc0fb..c092ff695b78d 100644 --- a/components/spotify/actions/save-track/save-track.mjs +++ b/components/spotify/actions/save-track/save-track.mjs @@ -6,7 +6,7 @@ export default { name: "Save Tracks for User", description: "Save one or more tracks to the current user’s \"Your Music\" library. [See the docs here](https://developer.spotify.com/documentation/web-api/reference/#/operations/save-tracks-user).", key: "spotify-save-track", - version: "0.1.1", + version: "0.1.2", type: "action", props: { spotify, diff --git a/components/spotify/package.json b/components/spotify/package.json index c7a467a69a3a0..317abb6022cf4 100644 --- a/components/spotify/package.json +++ b/components/spotify/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/spotify", - "version": "0.7.2", + "version": "0.7.3", "description": "Pipedream Spotify Components", "main": "spotify.app.mjs", "keywords": [ diff --git a/components/spotify/spotify.app.mjs b/components/spotify/spotify.app.mjs index 2cdb4a9e7dc11..3636b3b1a4b06 100644 --- a/components/spotify/spotify.app.mjs +++ b/components/spotify/spotify.app.mjs @@ -95,7 +95,6 @@ export default { type: "string", label: "Playlist ID", description: "Select an existing playlist or pass a custom expression to reference a specific [`playlist_id`](https://developer.spotify.com/documentation/web-api/#spotify-uris-and-ids) (for example, `3cEYpjA9oz9GiPac4AsH4n`).", - withLabel: true, async options({ page }) { const limit = 20; const playlists = await this.getPlaylists({ From b4b15da0b083f4a63c7b8ca7fa720ba2a1886323 Mon Sep 17 00:00:00 2001 From: Tolu Kalejaiye Date: Wed, 30 Jul 2025 13:58:36 +0100 Subject: [PATCH 2/3] add pnpm-lock.yaml --- pnpm-lock.yaml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 777d319172859..49796287db305 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10018,8 +10018,7 @@ importers: specifier: ^0.10.0 version: 0.10.0 - components/pdf_munk: - specifiers: {} + components/pdf_munk: {} components/pdffiller: dependencies: @@ -11686,8 +11685,7 @@ importers: specifier: ^0.10.0 version: 0.10.0 - components/rocketskip: - specifiers: {} + components/rocketskip: {} components/rockset: dependencies: @@ -12292,8 +12290,7 @@ importers: specifier: ^3.0.3 version: 3.0.3 - components/serenity_ai_hub: - specifiers: {} + components/serenity_ai_hub: {} components/serpapi: dependencies: @@ -13698,8 +13695,7 @@ importers: specifier: ^1.6.0 version: 1.6.6 - components/templatedocs: - specifiers: {} + components/templatedocs: {} components/tento8: {} @@ -14341,8 +14337,7 @@ importers: components/typebot: {} - components/typeflo: - specifiers: {} + components/typeflo: {} components/typeflowai: dependencies: From 42234047ce374173a499b22aa3d1180b54670e27 Mon Sep 17 00:00:00 2001 From: Tolu Kalejaiye Date: Wed, 30 Jul 2025 14:14:25 +0100 Subject: [PATCH 3/3] update source versions and fix summary statement in get-playlist --- components/spotify/actions/get-playlist/get-playlist.mjs | 4 ++-- components/spotify/sources/new-playlist/new-playlist.mjs | 2 +- .../spotify/sources/new-saved-track/new-saved-track.mjs | 2 +- .../sources/new-track-by-artist/new-track-by-artist.mjs | 2 +- .../sources/new-track-in-playlist/new-track-in-playlist.mjs | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/components/spotify/actions/get-playlist/get-playlist.mjs b/components/spotify/actions/get-playlist/get-playlist.mjs index fde918b9b80fa..3f22c7d730511 100644 --- a/components/spotify/actions/get-playlist/get-playlist.mjs +++ b/components/spotify/actions/get-playlist/get-playlist.mjs @@ -4,7 +4,7 @@ export default { name: "Get a Playlist", description: "Get a playlist owned by a Spotify user. [See the documentation](https://developer.spotify.com/documentation/web-api/reference/get-playlist).", key: "spotify-get-playlist", - version: "0.0.2", + version: "0.0.3", type: "action", props: { spotify, @@ -26,7 +26,7 @@ export default { playlistId, }); - $.export("$summary", `The playlist with Id: ${playlistId.value} was successfully fetched!`); + $.export("$summary", `The playlist with Id: ${playlistId} was successfully fetched!`); return response; }, diff --git a/components/spotify/sources/new-playlist/new-playlist.mjs b/components/spotify/sources/new-playlist/new-playlist.mjs index 32feff6a29674..d82665b37fdaf 100644 --- a/components/spotify/sources/new-playlist/new-playlist.mjs +++ b/components/spotify/sources/new-playlist/new-playlist.mjs @@ -6,7 +6,7 @@ export default { key: "spotify-new-playlist", name: "New Playlist", description: "Emit new event when a new playlist is created or followed by the current Spotify user.", - version: "0.1.1", + version: "0.1.2", props: { ...common.props, }, diff --git a/components/spotify/sources/new-saved-track/new-saved-track.mjs b/components/spotify/sources/new-saved-track/new-saved-track.mjs index 829c1a681f430..d97a5ca235bc1 100644 --- a/components/spotify/sources/new-saved-track/new-saved-track.mjs +++ b/components/spotify/sources/new-saved-track/new-saved-track.mjs @@ -6,7 +6,7 @@ export default { key: "spotify-new-saved-track", name: "New Saved Track", description: "Emit new event for each new track saved to the current Spotify user's Music Library.", - version: "0.1.1", + version: "0.1.2", props: { ...common.props, db: "$.service.db", diff --git a/components/spotify/sources/new-track-by-artist/new-track-by-artist.mjs b/components/spotify/sources/new-track-by-artist/new-track-by-artist.mjs index aa16aee765452..a9e7d4a69abd5 100644 --- a/components/spotify/sources/new-track-by-artist/new-track-by-artist.mjs +++ b/components/spotify/sources/new-track-by-artist/new-track-by-artist.mjs @@ -7,7 +7,7 @@ export default { key: "spotify-new-track-by-artist", name: "New Track by Artist", description: "Emit new event for each new Spotify track related with an artist. [see docs here](https://developer.spotify.com/documentation/web-api/reference/#/operations/get-multiple-albums)", - version: "0.1.1", + version: "0.1.2", props: { ...common.props, db: "$.service.db", diff --git a/components/spotify/sources/new-track-in-playlist/new-track-in-playlist.mjs b/components/spotify/sources/new-track-in-playlist/new-track-in-playlist.mjs index 1e03db2a0f8ac..68d1d98bb0d14 100644 --- a/components/spotify/sources/new-track-in-playlist/new-track-in-playlist.mjs +++ b/components/spotify/sources/new-track-in-playlist/new-track-in-playlist.mjs @@ -7,7 +7,7 @@ export default { key: "spotify-new-track-in-playlist", name: "New Track in Playlist", description: "Emit new event for each new Spotify track added to a playlist", - version: "0.1.1", + version: "0.1.2", props: { ...common.props, db: "$.service.db",