Zum Inhalt springen

Webflow Developers Updates & Release Notes

Einträge
190
Quellen
1
Zuletzt aktualisiert

Folge Webflow Developers, um die Release Notes in deinen Feed zu holen.

Webflow Developers von Webflow

Pseudo-Zustände im Designer

Der Designer kann jetzt den aktuellen Pseudo-Zustand abrufen und auf Änderungen abonnieren, um Stileigenschaften basierend auf Zuständen wie :hover, :focus oder :active anzuzeigen.

Get the current pseudo-state of the designer and subscribe to changes in the pseudo-state. This is helpful for showing specific style properties based on a pseudo-state like :hover, :focus, or :active.

  • Get the pseudo-state of the designer Added the webflow.getPseudoMode() method to return the pseudo-class state of the designer.
  • Subscribe to pseudo-state changes Added options to the webflow.subscribe() method to subscribe to changes in the pseudo-state of the designer.

Get additional site details

  • Get site information The getSiteInfo method now returns the domains object in the response.

Originalquelle(öffnet in neuem Tab)Problem melden

Webflow Developers von Webflow

Weitere bekannte Dateien und CMS-Feldtypen

Well-known-Dateien können hochgeladen werden und der neue CMS-Feldtyp Option ermöglicht vordefinierte Auswahlmöglichkeiten für Sammlungselemente.

Add and manage well-known files

Upload well-known files to sites with the following requirements:

  • File size must be less than 100KB per file
  • Maximum of 30 files total
  • Files must have one of these extensions (or no extension):
    • .txt
    • .json
    • .noext - A special extension that removes other extensions when uploaded. This helps compatibility with tools that require file extensions Example:apple-app-site-association.noext.txt will be uploaded as apple-app-site-association

New CMS field type: Option

  • Create Option fields Option fields let you define a predefined list of choices for a collection item. You can add these fields either when creating a new collection via the create collection endpoint or add them to existing collections using the create collection field endpoint.

Originalquelle(öffnet in neuem Tab)Problem melden

Webflow Developers von Webflow

Erweiterungen für CMS-Felder und Site-Konfiguration

Die Data API unterstützt jetzt Referenzfelder und das Erstellen mehrerer Felder bei der Sammlungserstellung sowie die Konfiguration von robots.txt-Dateien.

The Data API now supports creating reference fields and creating multiple fields during collection creation.

  • Create reference fields To create a reference field, choose MultiReference or Reference as the type property in the field object. Additionally, include the metadata property to specify the collectionId of the collection that the reference field will point to. You can create a reference field during collection creation using the create collection endpoint or by updating an existing collection using the create collection field endpoint.
  • Create fields during collection creation You can now create multiple fields during collection creation using the create collection endpoint. Collections are limited to 60 fields per collection.

Add and manage robots.txt

  • Configure robots.txt. Use the following endpoints to get and update your robots.txt file:
    • Get robots.txt
    • Replace robots.txt
    • Update robots.txt …

Originalquelle(öffnet in neuem Tab)Problem melden

Webflow Developers von Webflow

Variablensammlungen erstellen und verwalten

Variablensammlungen bieten eine organisatorische Struktur für die Verwaltung zusammengehöriger Variablen und können über neue Endpunkte erstellt und verwaltet werden.

Variable collections provide an organizational structure for managing related variables. Collections allow you to group variables logically - for example, you might create separate collections for brand colors, typography, or spacing variables. Collections help maintain a clean and organized variable system, making it easier to manage design tokens at scale across your projects.

Use the following endpoints to create and manage variable collections.

  • Create variable collection
  • Get all variable collections
  • Get default variable collection
  • Get variable collection by ID
  • Remove variable collection
  • Set variable collection name

Originalquelle(öffnet in neuem Tab)Problem melden

Webflow Developers von Webflow

Erweiterungen für Sammlungsfelder

Referenzfelder und mehrere Felder können bei der Sammlungserstellung erstellt werden, mit einer Begrenzung von 60 Feldern pro Sammlung.

Create reference fields

Create reference fields in a collection using the create collection field endpoint.

To create a reference field, you'll need to:

  • Set the type property in the field object to either MultiReference or Reference
  • Include the metadata property with the collectionId of the target collection
{
  "displayName": "Authors",
  "type": "Reference",
  "metadata": {
    "collectionId": "580e63fc8c9a982ac9b8b745"
  }
}

You can add reference fields in two ways:

  • During initial collection creation via the create collection endpoint
  • To an existing collection using the create collection field endpoint

Create multiple collection fields during collection creation

Create multiple collection fields during collection creation using the create collection endpoint. Collections are limited to 60 fields per collection.

Originalquelle(öffnet in neuem Tab)Problem melden

Webflow Developers von Webflow

Veröffentlichungsverlauf und Löschen von Formularübermittlungen

Der Veröffentlichungsverlauf einer Site kann über den Parameter lastPublished verfolgt und Formularübermittlungen gelöscht werden, dazu gibt es ein SDK-Update.

Track publishing history

Track publishing history for a site using the lastPublished parameter. This parameter returns the date and time of the last published version of a site's custom domain. This parameter will appear in the response for the get custom domains endpoint, as well as the list sites and get site endpoints.

Delete form submissions

Delete form submissions from a site using the delete form submission endpoint.

JavaScript SDK updates

Version 3.1.0 is now available and up to date with the latest changes in the Data API v2.

Originalquelle(öffnet in neuem Tab)Problem melden

Webflow Developers von Webflow

Erweiterte Seitenmethoden

Die Seitenmethoden der Designer-API akzeptieren jetzt null-Werte für Titel, Beschreibungen und Bilder, um Felder zu leeren.

Page methods for the designer API now accept null values. The following methods now accept null values:

  • setTitle
  • setDescription
  • setOpenGraphTitle
  • setOpenGraphDescription
  • setOpenGraphImage
  • setSearchTitle
  • setSearchDescription
  • setSearchImage

Originalquelle(öffnet in neuem Tab)Problem melden

Webflow Developers von Webflow

Aktualisiertes Veröffentlichungsverhalten für Sammlungselemente

Seit Dezember 2024 bleiben als Entwurf markierte Live-Elemente nach einer Veröffentlichung online und müssen explizit über den Unpublish-Endpunkt entfernt werden.

Starting December 2024, Webflow is introducing an improved publishing workflow for collection items. When a live item's isDraft property is set to true, the item will continue to remain published on the live site even after a full site publish. This allows users to make updates to the collection item in a draft state without changing what's visible on the live site.

To remove an item from the live site, you must now explicitly call the unpublish endpoint. This change gives developers more precise control over the publishing state of individual items. Please see the "publishing items" section of the CMS guide for more details.

  • Create CMS Item The default behavior of the createItem API is now to create a draft item. All new items will be created with the isDraft flag set to true.

  • Publish CMS Item Due to changes in how publishing is handled, sites with multiple domains are no longer required to have their domains in sync when publishing a single CMS Item. Previously, users would receive a 409 error when attempting to publish a CMS item while the domains weren't in sync. Users will no longer receive a 409 error when attempting to publish a CMS item. …

Originalquelle(öffnet in neuem Tab)Problem melden

Webflow Developers von Webflow

301-Umleitungen, Arbeitsbereichsverwaltung und CMS-Verbesserungen

Die Data API unterstützt jetzt die programmatische Verwaltung von 301-Umleitungen und Arbeitsbereichen sowie erweiterte Bulk-CMS-Operationen im JavaScript-SDK.

The Data API now supports programmatic management of 301 redirects and workspace administration, alongside enhanced bulk CMS operations in the JavaScript SDK. These additions enable developers to automate site configuration tasks and streamline content management workflows through new endpoints and improved functionality.

New site configuration capabilities

301 redirect management

Take control of your site's 301 redirects with new endpoints that let you create and manage 301 redirects programmatically:

  • List 301 redirects Get all configured 301 redirects for a site

  • Create 301 redirect Add a new 301 redirection rule

  • Update 301 redirect Modify an existing 301 redirection rule

  • Delete 301 redirect Remove an existing 301 redirection rule

Workspace management

Programmatically create, update, and delete sites within your workspace:

  • Create site Create a new site in your workspace

  • Update site Modify an existing site's properties …

Originalquelle(öffnet in neuem Tab)Problem melden

Webflow Developers von Webflow

Erweiterte Erweiterungsverwaltung und Variablentypen

Die Designer API bietet neue Funktionen zum programmatischen Schließen von Erweiterungen, zum Abrufen von Startkontextinformationen sowie zum Erstellen von Prozent- und Zahlenvariablen.

In this release, the Designer API introduces key enhancements to improve extension lifecycle management and expand the types of variables available in the Designer.

Extension management

Programmatically close extensions and access contextual launch information

  • webflow.closeExtension() Close the current extension. This enables more control over the extension lifecycle and user experience flows.

  • webflow.getLaunchContext() Retrieve initialization context information when an extension is launched. This method provides critical data about how the extension was activated, whether through an App Intent, App Connection, or deep link.

Variable system enhancements

Create and manage percentage and number variables for more flexible design systems

  • webflow.createPercentageVariable(options) Create percentage-based variables for responsive design values such as opacity levels, width/height constraints, or other proportional measurements.

  • webflow.createNumberVariable(options) Create numeric variables for values that require precise control without measurement units, such as animation iterations, z-index values, or quantity indicators.

Originalquelle(öffnet in neuem Tab)Problem melden

Webflow Developers von Webflow

Breaking Changes im JavaScript SDK vom 17. Dezember 2024

Das JavaScript SDK führt Breaking Changes ein: Methoden umbenannt und entfernt, darunter die Löschmethode für Collections und die Erstellung von CMS-Artikeln; zudem wird der Parameter locale zu localeId.

This document outlines the breaking changes introduced in the December 17, 2024 release of the Webflow Data API and JavaScript SDK. Review these changes carefully as they may require updates to your existing implementations.

Breaking changes in JavaScript SDK

Collection management

  • Changed method name for deleting collections

    // Old
    client.collections.deleteCollection()
    
    // New
    client.collections.delete(collectionId)
    
  • New method for deleting collection fields

    client.collections.deleteField(collectionId, fieldId)
    

CMS item creation

  • Changed:client.collections.createItems() replaces previous methods
  • Removed:client.collections.createItemForMultipleLocales()

Pages localization

  • Changed parameter name: The locale query parameter is now localeId

Migration guide

Deleting collection items

If you're using the existing collection deletion method, update your code to use the new method name:

// Before
await client.collections.deleteCollection(collectionId);

// After
await client.collections.delete(collectionId);

Collection item creation

Replace any usage of the deprecated methods with the new unified method:

// Before (deprecated)
await client.collections.createItemForMultipleLocales(collectionId, { …

Originalquelle(öffnet in neuem Tab)Problem melden

Webflow Developers von Webflow

Verbesserte Verwaltung von Formularübermittlungen

Ein neuer Endpunkt listet Formularübermittlungen für eine gesamte Site auf und unterstützt die Filterung nach formElementId, auch bei Komponenten-Instanzen.

List form submissions by site - A new endpoint that lets you retrieve form submissions across your entire site. Unlike the existing List Form Submissions endpoint, this endpoint:

  • Takes siteId as a path parameter
  • Accepts elementId as a query parameter to filter by formElementId
  • Works seamlessly with forms in components, where each component instance gets a unique formId but shares the same formElementId

To use this endpoint, first get the formElementId from the List Forms API, then pass both the siteId and formElementId to retrieve all submissions for a specific form, even when it appears in multiple component instances.

Originalquelle(öffnet in neuem Tab)Problem melden

Webflow Developers von Webflow

Bulk-CMS-Authoring und Lokalisierungs-Updates

Der Endpunkt zum Erstellen von Collection-Items unterstützt nun die Massenerstellung, und der Parameter localeId wird als bevorzugte Bezeichnung für locale eingeführt.

Bulk CMS authoring

The Create Collection Items endpoint now supports bulk creation. You can create multiple CMS items in a single request by passing an array of items to the items property. This provides a more efficient way to create multiple items while maintaining compatibility with the existing bulk Create Items endpoint.

Introducing the localeId Parameter

Webflow is standardizing query parameter naming by introducing localeId as the preferred parameter name, replacing locale. For backward compatibility, the locale parameter will continue to work, but it's recommended to use localeId in all new implementations. This change affects the following endpoints:

  • List Pages
  • Get Page Metadata
  • Update Page Metadata
  • Get Page Content
  • Update Page Content

Originalquelle(öffnet in neuem Tab)Problem melden

Webflow Developers von Webflow

Bulk-Verwaltung von CMS-Items

Neue Bulk-Endpunkte ermöglichen das Erstellen, Aktualisieren und Löschen von bis zu 100 CMS-Items pro Anfrage sowie das Aktualisieren veröffentlichter Items.

Create and manage multiple CMS items

Scale your content operations with new bulk CMS endpoints supporting up to 100 items per request. These APIs significantly improve large-scale content management workflows, and help prevent rate limiting when working with large collections.

  • Create multiple CMS items Create a single item or multiple items. This endpoint supports creating items across multiple locales and can update up to 100 items in a request.

  • Update multiple CMS items Update a single item or multiple items in a Collection. This endpoint can update up to 100 items in a request.

  • Delete multiple CMS items Delete Items from a Collection. This endpoint can delete up to 100 items in a request.

Bulk management for live CMS items

  • Update live collection items Update a single live item or multiple live items in a Collection. This endpoint can update up to 100 items in a request. …

Originalquelle(öffnet in neuem Tab)Problem melden

Webflow Developers von Webflow

Bulk-Authoring, -Bearbeitung und -Löschung von CMS-Items

Die Data API bietet nun Endpunkte zur Massenaktualisierung und -löschung von CMS-Items sowie zur Aktualisierung lokalisierter Komponenteneigenschaften, jeweils bis zu 100 Items pro Anfrage.

We've added bulk CMS item authoring, editing, and deleting, supporting up to 100 items per request. These endpoints can help manage previous rate limit issues and makes managing large content sets more efficient.

New endpoints

  • Update Collection Items Update a single item or multiple items in a Collection. This endpoint can update up to 100 items in a request.
  • Delete Collection Items Delete Items from a Collection. This endpoint can delete up to 100 items in a request.
  • Update Live Collection Items Update a single live item or multiple live items in a Collection. This endpoint can update up to 100 items in a request.
  • Delete Live Collection Items Remove an item or multiple items from the live site. Deleting published items will un-publish the items from the live site and set them to draft. This endpoint can delete up to 100 items in a request.
  • Update Localized Component Properties Update the properties of a component definition in a specified locale.

Updated endpoints …

Originalquelle(öffnet in neuem Tab)Problem melden

Webflow Developers von Webflow

Deep Linking für Hybrid-Apps

Hybrid-Apps können nun per Deep-Link direkt im Webflow Designer geöffnet werden, was die Navigation zwischen Plattformen vereinfacht.

This release introduces deep linking support for Hybrid Apps, enabling smooth transitions between third-party platforms and the Webflow Designer. Learn more about deep linking in the Hybrid Apps documentation.

Feature highlights

  • Direct access to Hybrid Apps - Launch your app directly in the Designer after authenticating with Webflow
  • Streamlined user experience - Eliminate manual navigation steps between platforms
  • Enhanced workflow efficiency - Create seamless onboarding and integration flows

Deep linking format

Deep linking requires the Site Short Name and Client ID.

  • Get the Site Short Name: Retrieve the short name using the Get Site endpoint.
  • Add Client ID: Find the Client ID in the Webflow Dashboard under Apps & Integrations in your App’s settings.
<site short name>.design.webflow.com?app=<client id>

Originalquelle(öffnet in neuem Tab)Problem melden

Webflow Developers von Webflow

Verbesserte Seiten-Content-APIs und Site-Konfiguration

Neue Endpunkte ermöglichen das Abrufen aller Komponenten einer Site, deren statischer Inhalte und Eigenschaften sowie zusätzliche Funktionen für Well-Known-Dateien und URL-Weiterleitungen.

We’ve made a number of updates to the Data API to help you better manage components and site configurations, alongside improvements to page content handling. These changes include new endpoints for retrieving components and their properties, as well as additional functionality for .well-known files and URL redirects.

New Endpoints

Page Content & Components

Components are powerful, reusable blocks used to create consistent layouts across your site. Learn more about components in the Webflow University lesson.

  • Get all components for a site Retrieve all components for a site. This makes it easier to programmatically access reusable design elements.
  • Get static content for a component Retrieve static content for a specific component. Note that dynamic content set via props isn't included—use the Get Component Properties endpoint for that.
  • Get component properties Retrieve detailed information about component-specific properties for a more dynamic and customizable component experience.

Well Known Files …

Originalquelle(öffnet in neuem Tab)Problem melden

Webflow Developers von Webflow

Moduswechsel im Designer abonnieren

Designer-Erweiterungen können jetzt Echtzeit-Benachrichtigungen über Moduswechsel im Designer abonnieren, um ihre Funktionalität anzupassen.

Designer Extensions now remain active across various modes in the Designer, including preview mode, across different locales, and on branched pages. Different capabilities are available depending on the mode, so it's important to know when a mode changes. This update introduces a new event subscription method to help you track mode changes in the Designer.

  • Subscribe to mode changes in the Designer Receive real-time notifications when users switch between different Designer modes. Since each mode offers distinct capabilities based on user permissions, this subscription helps your app adapt its functionality accordingly. For detailed information about available modes and their capabilities, refer to the App Modes documentation.

Originalquelle(öffnet in neuem Tab)Problem melden

Webflow Developers von Webflow

Erhöhte Sicherheit und neue Endpunkte für Site-Konfiguration

Nur Workspace-Admins dürfen Apps verwalten und benötigen 2FA für App-Bundles; neue Endpunkte für robots.txt und Site-Weiterleitungen sowie ein Abonnement für CMS-Auswahlalarme wurden hinzugefügt.

In this latest release, we've rolled out some significant updates to our APIs. First up, we've strengthened security by ensuring that only Workspace Admins can manage changes to Apps. In the Data API, we've introduced new endpoints that give you greater control over robots.txt files and site redirects. And for those using the Designer API, you can now subscribe to alerts when users select new CMS items on collection pages, making it simpler to keep track of automatically generated page paths.

Security & permissions

  • Enhanced Workspace App Management Permissions: Previously, all members within a Workspace had the ability to manage Apps (for example, uploading new bundles, updating redirect URIs). Apps now enforce stricter permissions, allowing only Workspace Admins to perform these actions. This ensures that sensitive operations are restricted to authorized personnel.
  • Mandatory 2FA for Workspace Admins: To further enhance security, Workspace Admins are now required to have two-factor authentication (2FA) enabled to upload new App Bundles. This additional security layer helps protect your Workspace from unauthorized access and potential threats.

New endpoints

Robots.txt

  • Replace robots.txt: Replace the robots.txt configuration for various user agents. …

Originalquelle(öffnet in neuem Tab)Problem melden

Webflow Developers von Webflow

Sicherheits- und Berechtigungsupdates für Webflow Apps

Webflow Apps verlangen nun strengere Sicherheits- und Berechtigungsmaßnahmen: Nur Workspace-Admins können Apps verwalten, und für das Hochladen neuer App-Bundles ist 2FA für Workspace-Admins Pflicht.

Webflow Apps now require enhanced security and permissions.

  • Enhanced Workspace App Management Permissions: Previously, all members within a Workspace had the ability to manage Apps (for example, uploading new bundles, updating redirect URIs). Webflow enforces stricter permissions, allowing only Workspace Admins to perform these actions. This ensures that sensitive operations are restricted to authorized personnel.
  • Mandatory 2FA for Workspace Admins: To further enhance security, Workspace Admins are now required to have two-factor authentication (2FA) enabled to upload new App Bundles. This additional security layer helps protect your Workspace from unauthorized access and potential threats.

SDK version

Originalquelle(öffnet in neuem Tab)Problem melden