Skip to content

Releases: ComposioHQ/composio

v0.6.13

09 Jan 11:52
39ff4f3
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.6.12...v0.6.13

v0.6.12

07 Jan 08:42
62dae28
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.6.11...v0.6.12

v0.6.11

03 Jan 08:29
51c0af7
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.6.10...v0.6.11

v0.6.10

02 Jan 08:26
b5d20cd
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.6.9...v0.6.10

JS SDK - v0.5.0

02 Jan 07:20
27df7e5
Compare
Choose a tag to compare

🌟 New Features

🛠️ Toolset Enhancements:

  • 📂 Exposed ComposioToolset in index.ts.
  • 🛎️ Added new method getTriggerInfo and getTriggerConfig to trigger.
  • 📌 Exposed .apps, .actions, .triggers, and .connectedAccounts in toolset classes.

🚨 Error Handling:

  • 🛑 All errors are now instances of ComposioError for improved consistency.
  • 🐛 Added error.error_code for better debugging.
  • 🔧 Backend (BE) errors now include more helpful error messages.

⚡ Performance Improvements:

  • 📉 Decreased bundle size significantly from 10MB to 400KB.

🖼️ Framework Support:

  • 🖥️ Added support for frontend (FE) frameworks and resolved issues with React server components.

🔒 Type Safety and Validation:

  • ✅ Improved type safety and early validation using Zod.

🛠️ Enhanced codebase types for better developer experience.

  • ✍️ Improved format for PreProcessor, PostProcessor, and SchemaProcessor.

🔄 Method Improvements:

  • 🔧 Enhanced method consistency across the codebase.
  • 📜 New API Client with types.
  • 📚 New JS Docs for methods.

⚠️ Breaking Changes

🖥️ Remove Workspace Support:

  • 🗑️ Support for local and Docker workspaces was removed.
    🏷️ Type Name Changes:
  • 🔄 Updated type names associated with models. Types are now more robust and can be inferred directly from methods.
    📖 Refer to updated methods for adjustments. Inferred should still be the same.
  • 🛠️ toolset.createAction change: params -> inputParams and response. Migration code
 await toolset.createAction({
        ...
         params: z.object({
            name: z.string().optional()
        }),
        callback: async () => {
            return "Hello World from the function";
        }
    });

to

   await toolset.createAction({
       ...
        inputParams: z.object({
            name: z.string().optional()
        }),
        callback: async (params) => {
            const { name } = params;
            return {
                successful: true,
                data: {
                    name: name || "World"
                }
            }
        }
    });

v0.6.9

31 Dec 09:21
692ee6c
Compare
Choose a tag to compare

What's Changed

New Contributors

  • @devin-ai-integration made their first contribution in #1097

Full Changelog: v0.6.8...v0.6.9

v0.6.8

31 Dec 09:18
563d2af
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.6.7...v0.6.8

v0.6.7

24 Dec 13:57
6594302
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.6.6...v0.6.7

v0.6.6

23 Dec 10:56
f9df90e
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.6.5...v0.6.6

JS SDK - v0.4.8

23 Dec 10:04
32e90bf
Compare
Choose a tag to compare

Changelog: v0.4.6 → v0.4.8

Fixes

  • Export Types from composio-core:
    Types are now explicitly exported for direct use, improving developer experience. Earlier they were inferred due to bundle changes.

  • Expose ConnectionRequest Class:
    The ConnectionRequest class is now exportable from composio-core.

    import { ConnectionRequest } from 'composio-core';
  • Optimized TS SDK Size:
    Reduced the uncompressed size of the TypeScript SDK by 80%, leading to faster downloads and better performance.

Breaking Changes (Minor)

  • API Key Initialization Update
    The syntax for API key initialization has been updated.

Old Syntax:

const composio = new Composio("{{YOUR_API_KEY}}");

New Syntax:

const composio = new Composio({ apiKey: "{{YOUR_API_KEY}}" });