Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions apps/docs/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Analytics } from '@vercel/analytics/next';
import { Banner } from 'fumadocs-ui/components/banner';
import type { Metadata } from 'next';
import { Plus_Jakarta_Sans } from 'next/font/google';
import './globals.css';
Expand Down Expand Up @@ -29,6 +30,19 @@ export default function RootLayout({ children }: { children: React.ReactNode })
return (
<html lang="en" suppressHydrationWarning>
<body className={jakarta.className}>
<Banner>
<span>
Framework Kit is no longer maintained. Use{' '}
<a className="underline" href="https://www.solanakit.com">
Solana Kit
</a>{' '}
and{' '}
<a className="underline" href="https://github.com/anza-xyz/kit-plugins">
Kit plugins
</a>{' '}
instead.
</span>
</Banner>
<Provider>{children}</Provider>
<Analytics />
</body>
Expand Down
4 changes: 2 additions & 2 deletions apps/docs/components/landing/hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ export function Hero() {
transition={{ duration: 0.5 }}
>
<Link
href="/docs/getting-started"
href="https://www.solanakit.com"
className="inline-flex items-center gap-2 px-3 py-1 rounded-full bg-primary/10 text-primary text-sm font-medium mb-8 border border-primary/20 hover:bg-primary/20 transition-colors"
>
<span>V1 is now available</span>
<span>No longer maintained. Use Solana Kit instead</span>
<ArrowRight className="w-4 h-4" />
</Link>
</motion.div>
Expand Down
4 changes: 4 additions & 0 deletions apps/docs/content/docs/client.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ title: "@solana/client"
description: Framework-agnostic client for RPC, wallets, and transactions
---

<Callout type="warn" title="No longer maintained">
`@solana/client` is no longer maintained. Use [Kit plugins](https://github.com/anza-xyz/kit-plugins) instead: composable client plugins for [Solana Kit](https://www.solanakit.com).
</Callout>

Framework-agnostic building blocks for Solana. Works in any runtime: React, Svelte, Vue, Node.js, Bun, Deno, Cloudflare Workers, or plain browser scripts.

## Installation
Expand Down
4 changes: 4 additions & 0 deletions apps/docs/content/docs/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ title: Getting Started
description: Install and configure Framework Kit in under 5 minutes
---

<Callout type="warn" title="Framework Kit is no longer maintained">
For new projects, start with [Solana Kit](https://www.solanakit.com) and [Kit plugins](https://github.com/anza-xyz/kit-plugins), or see the [Solana docs](https://solana.com/docs).
</Callout>

Pick the packages you need and start building.

| Use Case | Install |
Expand Down
9 changes: 9 additions & 0 deletions apps/docs/content/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@ title: Framework Kit
description: Developer tools for Solana built on Solana Kit
---

<Callout type="warn" title="Framework Kit is no longer maintained">
For new projects, use one of these instead:

- [Kit plugins](https://github.com/anza-xyz/kit-plugins): composable client plugins for Kit, and the closest replacement for Framework Kit.
- [`@solana/react`](https://github.com/anza-xyz/kit/tree/main/packages/react): React hooks for Kit, replacing `@solana/react-hooks`.
- [Solana Kit](https://www.solanakit.com): the Solana JavaScript SDK.
- [web3.js v3](https://github.com/solana-foundation/solana-web3.js): a wrapper around Kit that keeps the web3.js interfaces, replacing `@solana/web3-compat`. See the [v1 to v3 migration guide](https://github.com/solana-foundation/solana-web3.js/blob/main/docs/web3js-v1-to-v3-migration.md).
</Callout>

A family of libraries for building production-ready Solana apps. Use the universal client in any JavaScript runtime, add React hooks for reactive UIs, or migrate existing web3.js code incrementally.

## Packages
Expand Down
4 changes: 4 additions & 0 deletions apps/docs/content/docs/react-hooks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ title: "@solana/react-hooks"
description: React hooks for wallet connection, balances, and transactions
---

<Callout type="warn" title="No longer maintained">
`@solana/react-hooks` is no longer maintained. Use [`@solana/react`](https://github.com/anza-xyz/kit/tree/main/packages/react) instead: React hooks for [Solana Kit](https://www.solanakit.com).
</Callout>

React bindings for `@solana/client`. Wrap your app once with `SolanaProvider`, then use hooks anywhere for wallets, balances, and transactions.

## Installation
Expand Down
4 changes: 4 additions & 0 deletions apps/docs/content/docs/web3-compat.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ title: "@solana/web3-compat"
description: Compatibility layer for migrating from @solana/web3.js
---

<Callout type="warn" title="No longer maintained">
`@solana/web3-compat` is no longer maintained. Use [web3.js v3](https://github.com/solana-foundation/solana-web3.js) instead: it wraps Kit while keeping the web3.js interfaces. See the [web3.js v1 to v3 migration guide](https://github.com/solana-foundation/solana-web3.js/blob/main/docs/web3js-v1-to-v3-migration.md).

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Migration advice disagrees

This notice tells readers to use web3.js v3 immediately, but index.mdx says it is not released yet. Readers get different advice about whether they can migrate today. Add the same release caveat here so readers arriving directly on this page see it too.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

web3.js v3 is released, so I removed the "not released yet" caveat from index.mdx instead of adding it here (b04ce6a). The docs index now matches the root README.

</Callout>

Drop-in replacement for `@solana/web3.js` that uses Solana Kit under the hood. Migrate your existing code incrementally without rewriting everything at once.

## Installation
Expand Down
Loading