# SleekView 2.0: Public Embeds and Faster Admin Screens

SleekView 2.0 is a major release built on the new shared foundation of every
SleekWP plugin. Views can now be shown to visitors who are not logged in,
embeds choose their own look, wp-admin loads faster, and Views and Admin Pages
move into SleekView's own database tables.

## Public embeds

A View can be embedded publicly. With **Public embed** on, visitors who are not
logged in see its published posts, read-only, with no editing controls. Embeds
print the same page for every visitor, so full-page caching works with them.
See [View Settings](/docs/view/views/general.md).

## Embeds that fit the page

A shortcode can choose its own light, dark or system theme and a card
presentation without the surrounding workspace canvas, so a View sits in a
page as part of its design.

## Faster wp-admin

wp-admin reads the Views that replace post lists and the Admin Pages of the
admin menu from one saved list, instead of querying every View on each post
list and every Admin Page on each admin page. SleekView's code loads only
where it works: other front-end pages, REST requests and post saves no longer
load it.

## An assistant beside the editor

The workspace [assistant](/docs/view/ai/chat.md) works on the open View: ask it to
"add a Kanban layout for the projects post type" and the change goes into the
editor's draft for you to review. It uses the AI provider keys in **Settings**
and replaces the built-in AI chat, which is retired with its own key settings
and chat sharing.

## Tighter permissions

- Managing Views, Admin Pages and View settings requires administrator rights.
- Feedback from users who cannot publish is saved as pending review.
- Views and Admin Pages are no longer exposed through the WordPress posts API;
  the View screens, SleekView's own REST routes and `wp sleek view` manage
  them.

## Fixes worth knowing

- Filters that OR groups of custom fields, taxonomies and post fields return
  every matching post, and a user's filter narrows the layout's preset filter
  instead of replacing it.
- Tables export to Excel again, and CSV cells a spreadsheet would run as
  formulas are exported as text.
- A Kanban card in the Uncategorized column can be edited, and inline editing
  offers the taxonomy, status, template and comment-status lists again.
- A post type source loads at most 500 rows per request.

## Views for your own code

New [PHP functions](/docs/view/php-functions.md) read Views and Admin Pages, such
as `sleek_view_get_view()` and `sleek_view_get_views()`.

## Its own tables

Views and Admin Pages are kept in SleekView's own database tables instead of as
posts, with the same IDs, so `[sleek-view-widget id]` and every saved reference
keep working. The update moves them, the settings and the feedback and Kanban
fields once. They are no longer part of WordPress's **Tools > Export** file;
Agent Sync's files in your theme and `wp sleek view get` keep a copy of each.

## A rebuilt workspace

- A rebuilt administration application.
- A **Docs** page after License holds the documentation inside the workspace.
- **Settings** holds the AI provider keys, shared with every SleekWP plugin on
  the site.
- A light, dark and system theme selector in the header replaces the
  Appearance page.

## Before you update

SleekView 2.0 requires **PHP 8.2 and WordPress 6.9**. A site below either keeps
its current release, so the updater never moves it. Stored API keys are now
encrypted with a key unique to your site, which means rolling back to an
earlier version needs them entered again. As with any major release, back up
your database and files first, because downgrading after the migration is not
supported.

The full list of changes is in the [changelog](/view/changelog/), and the
[SleekView docs](/docs/view.md) cover every feature.
