The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Added all changelog posts
Steven Tey72d279a2695e
diff --git a/app/(marketing)/atom/route.ts b/app/(marketing)/atom/route.tsnew file mode 100644index 0000000000..226947d486--- /dev/null+++ b/app/(marketing)/atom/route.ts@@ -0,0 +1,29 @@+import { allChangelogPosts } from "contentlayer/generated";++export async function GET() {+ return new Response(+ `<?xml version="1.0" encoding="utf-8"?>+ <feed xmlns="http://www.w3.org/2005/Atom">+ <title>Dub</title>+ <subtitle>Changelog</subtitle>+ <link href="https://dub.sh/atom" rel="self"/>+ <link href="https://dub.sh/"/>+ <updated>${allChangelogPosts[0].publishedAt}</updated>+ <id>https://dub.sh/</id>${allChangelogPosts.map((post) => {+ return `+ <entry>+ <id>https://dub.sh/changelog/${post.slug}</id>+ <title>${post.title}</title>+ <link href="https://dub.sh/changelog/${post.slug}"/>+ <updated>${post.publishedAt}</updated>+ <author><name>${post.author}</name></author>+ </entry>`;+ })}+ </feed>`,+ {+ headers: {+ "Content-Type": "application/atom+xml; charset=utf-8",+ },+ },+ );+}diff --git a/app/(marketing)/changelog/[slug]/page.tsx b/app/(marketing)/changelog/[slug]/page.tsxindex 3ef733e9d3..3485ec9040 100644--- a/app/(marketing)/changelog/[slug]/page.tsx+++ b/app/(marketing)/changelog/[slug]/page.tsx@@ -34,10 +34,10 @@ export async function generateMetadata({} = post;return {- title,+ title: `${title} - Dub Changelog`,description,openGraph: {- title,+ title: `${title} - Dub Changelog`,description,type: "article",publishedTime,@@ -70,7 +70,10 @@ export default async function ChangelogPost({return (<div className="mx-auto my-20 grid max-w-screen-xl md:grid-cols-4 md:px-20"><div className="sticky top-10 hidden self-start md:col-span-1 md:block">- <Link href="/changelog" className="text-sm text-gray-500">+ <Link+ href="/changelog"+ className="text-sm text-gray-500 transition-colors hover:text-gray-800"+ >← Back to Changelog</Link></div>diff --git a/app/(marketing)/changelog/page.tsx b/app/(marketing)/changelog/page.tsxindex 9f83e5d8c6..42bf62c028 100644--- a/app/(marketing)/changelog/page.tsx+++ b/app/(marketing)/changelog/page.tsx@@ -5,6 +5,8 @@ import { Metadata } from "next";import { formatDate } from "@/lib/utils";import Link from "next/link";import { MDX } from "../components/mdx";+import { Twitter } from "@/components/shared/icons";+import { Rss } from "lucide-react";export const metadata: Metadata = {title: "Changelog - Dub",@@ -15,16 +17,33 @@ export const metadata: Metadata = {export default async function Changelog() {return (<div className="mx-auto max-w-screen-xl md:px-20">- <div className="grid border-b border-gray-200 py-20 md:grid-cols-4">+ <div className="relative grid border-b border-gray-200 py-20 md:grid-cols-4"><div className="md:col-span-1" /><div className="mx-5 flex flex-col space-y-6 md:col-span-3 md:mx-0"><h1 className="font-display text-4xl font-bold tracking-tight text-gray-800 md:text-5xl">Changelog</h1><p className="text-lg text-gray-500">- All the latest updates, improvements, and fixes to Dub+ All the latest updates, improvements, and fixes to Dub.</p></div>+ <div className="absolute bottom-2 right-0 flex items-center space-x-2">+ <p className="text-sm text-gray-500">Subscribe to updates →</p>+ <Link+ href="https://twitter.com/dubdotsh"+ className="rounded-full bg-blue-100 p-2 transition-colors hover:bg-blue-200"+ target="_blank"+ rel="noopener noreferrer"+ >+ <Twitter className="h-4 w-4 text-[#1d9bf0]" />+ </Link>+ <Link+ href="/atom"+ className="rounded-full bg-gray-100 p-2 transition-colors hover:bg-gray-200"+ >+ <Rss className="h-4 w-4 text-gray-500" />+ </Link>+ </div></div><div className="divide-y divide-gray-200">@@ -42,9 +61,14 @@ export default async function Changelog() {className="grid py-20 md:grid-cols-4 md:px-5 xl:px-0"><div className="sticky top-10 hidden self-start md:col-span-1 md:block">- <time dateTime={post.publishedAt} className="text-gray-500">- {formatDate(post.publishedAt)}- </time>+ <Link href={`/changelog/${post.slug}`}>+ <time+ dateTime={post.publishedAt}+ className="text-gray-500 transition-colors hover:text-gray-800"+ >+ {formatDate(post.publishedAt)}+ </time>+ </Link></div><div className="md:col-span-3"><div className="flex flex-col gap-6">diff --git a/app/(marketing)/components/mdx.tsx b/app/(marketing)/components/mdx.tsxindex 0f8a240011..829df4c65e 100644--- a/app/(marketing)/components/mdx.tsx+++ b/app/(marketing)/components/mdx.tsx@@ -69,7 +69,7 @@ export function MDX({ code, images, tweets, repos }: MDXProps) {};return (- <article className="prose prose-gray mx-5 w-full prose-headings:font-display prose-h2:text-3xl prose-thead:text-lg md:mx-0 md:prose-lg">+ <article className="prose prose-gray mx-5 w-full transition-all prose-headings:font-display prose-h2:text-3xl prose-a:font-medium prose-a:text-gray-500 prose-a:underline-offset-4 hover:prose-a:text-black prose-thead:text-lg md:mx-0 md:prose-lg"><Component components={{ ...components, MDXImage, MDXTweet, MDXRepo }} /></article>);diff --git a/posts/changelog/duplicating-links.mdx b/posts/changelog/duplicating-links.mdxnew file mode 100644index 0000000000..deeefa3b02--- /dev/null+++ b/posts/changelog/duplicating-links.mdx@@ -0,0 +1,13 @@+---+title: Ability to duplicate a link+publishedAt: 2023-04-25+summary: "You can now duplicate a link on Dub with a single click. "+image: "https://d2vwwcvoksz7ty.cloudfront.net/changelog/duplicate-links.png"+author: "steventey"+---++You can now duplicate a link on Dub with a single click.++This is a quality-of-life improvement for busy marketers to quickly create multiple versions of a link without having to re-enter the same information over and over again.++Shoutout to [Cameron Archer](https://twitter.com/CameronMArcher) from [Tinybird](https://tinybird.co/) for the feature request!diff --git a/posts/changelog/improved-pricing.mdx b/posts/changelog/improved-pricing.mdxindex e429c19970..d00a8244c7 100644--- a/posts/changelog/improved-pricing.mdx+++ b/posts/changelog/improved-pricing.mdx@@ -1,9 +1,15 @@---title: Improved pricing, with higher limits for Pro users.-publishedAt: 2023-04-26-summary: "Description"-image: "https://d2vwwcvoksz7ty.cloudfront.net/changelog/unlimited-domains.png"+publishedAt: 2023-04-27+summary: "Dub's improved pricing offers higher limits for Pro users: Enjoy an increase from 10,000 to 50,000 clicks per month."+image: "https://d2vwwcvoksz7ty.cloudfront.net/changelog/improved-pricing.png"author: "steventey"----You can now add unlimied custom domains per project+[Migrating our time-series data to Tinybird](/changelog/tinybird-migration) earlier this year allowed us to scale our platform by magnitudes.++Thanks to that, we are increasing the limits of our Pro plan from 10,000 clicks per month to 50,000 clicks per month. We hope that this will let you grow your marketing further before having to upgrade to the next billing tier.++We have also sunsetted the previous [usage-based pricing model](https://twitter.com/dubdotsh/status/1579466952594292737) and consolidated everything into the Pro plan.++Check out our [new pricing model](/#pricing).diff --git a/posts/changelog/link-search.mdx b/posts/changelog/link-search.mdxnew file mode 100644index 0000000000..b574b88ba4--- /dev/null+++ b/posts/changelog/link-search.mdx@@ -0,0 +1,11 @@+---+title: Link search+publishedAt: 2023-04-26+summary: "You can now search through your existing short links on Dub by their key and destination URL."+image: "https://d2vwwcvoksz7ty.cloudfront.net/changelog/link-search.png"+author: "steventey"+---++You can now search through your existing short links on Dub by their key and destination URL.++This has been a highly requested feature amongst folks with a ton of short links and we're excited to finally ship it!diff --git a/posts/changelog/project-level-billing.mdx b/posts/changelog/project-level-billing.mdxnew file mode 100644index 0000000000..16bcdef25a--- /dev/null+++ b/posts/changelog/project-level-billing.mdx@@ -0,0 +1,14 @@+---+title: Project-level billing+publishedAt: 2023-04-25+summary: "Billing has been moved to the project-level on Dub to improve UX and allow for better team collaboration. Manage billing under Settings > Billing in your Dub project."+image: "https://d2vwwcvoksz7ty.cloudfront.net/changelog/project-level-billing.png"+author: "steventey"+---++Previously, having billing on a personal account level was a confusing UX.++- Often times, users would upgrade to Pro on their personal accounts, but the Pro plan only applied to the projects they _owned_, not the ones that they are a member of.+- They also couldn't invite teammates to pay invoices.++Migrating billing to the project-level fixes that. You can now manage your billing settings under Settings > Billing in your Dub project.diff --git a/posts/changelog/public-stats-pages.mdx b/posts/changelog/public-stats-pages.mdxnew file mode 100644index 0000000000..e43af98961--- /dev/null+++ b/posts/changelog/public-stats-pages.mdx@@ -0,0 +1,13 @@+---+title: Public stats pages+publishedAt: 2023-03-12+summary: "You can now create a public stats dashboard for your short links on Dub. This allows you to share the stats for a given short link with clients or other external stakeholders without having to invite them to your Dub project."+image: "https://d2vwwcvoksz7ty.cloudfront.net/changelog/public-stats-pages.png"+author: "steventey"+---++You can now create a public stats dashboard for your short links on Dub.++This allows you to share the stats for a given short link with clients or other external stakeholders without having to invite them to your Dub project.++Powered by the incredible [`@vercel/og` library](https://vercel.fyi/og).diff --git a/posts/changelog/tinybird-migration.mdx b/posts/changelog/tinybird-migration.mdxnew file mode 100644index 0000000000..e1fbdac400--- /dev/null+++ b/posts/changelog/tinybird-migration.mdx@@ -0,0 +1,15 @@+---+title: Tinybird migration+publishedAt: 2023-01-03+summary: "We recently migrated all Dub's time-series analytics data from Redis to Tinybird, which resulted in a ~100x reduction in request speeds"+image: "https://d2vwwcvoksz7ty.cloudfront.net/changelog/tinybird-migration.png"+author: "steventey"+---++We recently migrated all Dub's time-series analytics data from Redis to [Tinybird](https://www.tinybird.co/).++This resulted in a ~100x reduction in request bandwidth (and a similar reduction in request speeds).++For context, Tinybird is a serverless analytical backend for you to ingest data and analyze it with SQL. Built on top of [Clickhouse](https://github.com/ClickHouse/ClickHouse), Tinybird is incredibly scalable when it comes to storing and processing time-series events.++Expect faster load times for your link stats pages moving forward!diff --git a/posts/changelog/unlimited-domains.mdx b/posts/changelog/unlimited-domains.mdxindex f0f80cfdbf..b0432d2217 100644--- a/posts/changelog/unlimited-domains.mdx+++ b/posts/changelog/unlimited-domains.mdx@@ -1,13 +1,13 @@---title: Unlimited custom domains per project-publishedAt: 2023-04-27-summary: "Description"+publishedAt: 2023-04-28+summary: "You can now manage multiple company domains in a single project, filter links by domains, and view link counts. Available for all plans, including Free."image: "https://d2vwwcvoksz7ty.cloudfront.net/changelog/unlimited-domains.png"author: "steventey"---You can now use as many custom domains as you want with your Dub project – you no longer need to create multiple projects for all of your company domains.-You can also filter by domains+You can also filter your existing links by domains, and get an accurate count of how many links you have for each domain.-This works for all plans, including the Free plan.+This feature is available for all plans – including the Free plan.