Home / Companies / PubNub / Blog / Post Details
Content Deep Dive

Migrating from PubNub Functions v1 to v2: What You Need to Know

Blog post from PubNub

Post Details
Company
Date Published
Author
Jakub Koj
Word Count
897
Company Posts That Month
6
Language
English
Hacker News Points
-
Post removed?
No
Summary

PubNub is set to automatically migrate all users from Functions v1 to Functions v2 by February 28, 2025, ensuring a seamless transition without downtime and providing users with a new interface and enhanced capabilities. Functions v2 offers significant improvements, including a new Packages/Revisions/Deployments structure, account-level Packages, versioning for functions, and a revamped user interface. It introduces a robust API for managing functions, key-value stores, and secret management, supporting integration into CI/CD pipelines. Additionally, the update enables seamless rolling updates, a revised permission model, and the ability to deploy a single Package across multiple keysets, thus simplifying management and reducing overhead. Key advantages of Functions v2 include robust lifecycle management, zero-downtime updates, and a public API that allows for more robust implementations and automation. Post-migration, developers are encouraged to adapt to the new API, reassign permissions, optimize function setups using the KV Store, and leverage the API for streamlined development workflows. By adopting Functions v2, developers can enhance operational efficiency, scalability, and performance by offloading more business logic to PubNub's real-time infrastructure.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Secrets Management 3 933 120 61 +121%
Real-time 1 3,091 773 211 -1%
Serverless 1 778 155 73 +74%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.