:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
import { processEvent } from '.'
import { LegacyTransformationPlugin } from '../../types'
export const semverFlattenerPlugin: LegacyTransformationPlugin = {
processEvent,
template: {
free: true,
status: 'deprecated',
type: 'transformation',
id: 'plugin-semver-flattener-plugin',
name: 'SemVer Flattener',
description: 'This plugin will flatten semver versions in the specified properties.',
icon_url: '/static/transformations/semver-flattener.png',
category: ['Transformation'],
code_language: 'javascript',
code: `return event`,
inputs_schema: [
{
key: 'properties',
templating: false,
label: 'comma separated properties to explode version number from',
type: 'string',
description: 'my_version_number,app_version',
default: '',
required: true,
},
],
},
}