# Changelog

## 0.3.0

- The new mark of UglyFields: the U made of blocks, on the bar of the plugin screens and in the WordPress menu.
- UglyFields Pro has its own license screen, and UglyFields and UglyFields Pro can no longer run at the same time.
- Options pages have the pencil to edit the group and the arrow to hide or show each box, as on the editing screen of a post.
- Deleting the plugin keeps your groups, options pages and content types, unless you turn on "Delete data on uninstall".
- Links to uglydev.com go to the right pages, the texts use American English, and the code passes the Plugin Check of WordPress.org with no errors.

## 0.2.17

- Code tidied to pass the Plugin Check of WordPress.org with no errors and no warnings. Nothing changes in how the plugin works.

## 0.2.16

- The mark of the plugin is now the U of the website, made of blocks with one orange: on the bar of the plugin screens and in the WordPress menu.

## 0.2.15

- The "UglyFields" link at the foot of the plugin screens opens the features page of the website.

## 0.2.14

- All the links to uglydev.com are made in one place and now go to the right pages (Documentation, Support, Feedback, Manage license). The texts use American English everywhere. The footer says "Pro" like the rest.

## 0.2.13

- Deleting the plugin from the Plugins screen no longer removes anything by default (as ACF does): your groups, options pages and content types stay in the database, so installing it again finds them. To remove them too, turn on "Delete data on uninstall" in the settings before deleting.

## 0.2.12

- The box of each field group on an options page now looks like the one on the editing screen of a post: the pencil to edit the group and the arrow to hide or show the box (WordPress remembers it for each person), plus the field count and the button that folds every block.

## 0.2.11

- "Manage license" opens uglydev.com/manage-license, which sends to the customer portal, so the portal address can change without a new version of the plugin.

## 0.2.10

- The paid plugin is called UglyFields Pro by the ZIP that Freemius makes (header "UglyFields" and premium suffix "Pro"). The code that took "(Premium)" out of the plugins list is removed, as it is no longer needed.

## 0.2.9

- The header of the paid plugin says "UglyFields" and the Freemius premium suffix is "Pro" (a test); the plugins list always shows "UglyFields Pro".

## 0.2.8

- The Freemius setting `premium_suffix` is "undefined" (a test of the plugin name in the ZIP that Freemius makes).

## 0.2.7

- The Freemius setting `premium_suffix` is empty (a test: the name of the plugin in the ZIP that Freemius makes).

## 0.2.6

- Same as 0.2.5, built again (a new ZIP for Freemius).

## 0.2.5

- The Upgrade button opens the plans page of the website (/pricing/). The window about canceling a subscription is not shown when the plugin is turned off (there is no subscription). A text was asked for before WordPress could translate it (a notice in the log with WP_DEBUG): fixed.

## 0.2.4

- UglyFields and UglyFields Pro cannot both run (they are the same code), as with ACF and ACF PRO: turning one on turns the other off and says so in the plugins list, and a second copy found loaded never causes a fatal error. Nothing is deleted; the fields and settings are the same.

## 0.2.3

- UglyFields Pro has its own License screen (Settings > License): paste the key, check it again, remove it from the site, and a link to manage it. The key is looked after by Freemius, but the person never sees a screen of theirs. A license whose year is over keeps the Pro features for good; only the updates stop.
- The free plugin has no license code at all (its ZIP went from 1.4 MB to 0.4 MB).
- The message after an action (saved, moved to the trash, imported...) is drawn under the header, the same on every screen, with the same space on both sides, and it is shown once: reloading the page does not bring it back.
- A group or block edited a moment ago says "Edited seconds ago" (and "Removed seconds ago" in the trash) instead of "1 min".
- The line at the foot of the screens takes the whole width and is at the end of the page.
- What is only in Pro, when you do not have it, leads to the plans on the website ("Upgrade") and no longer to the license screen.
- Deleting the plugin also removes what the license screen saved and the trash of blocks.
- The author of the plugin is UglyDev, with a new description.

## 0.2.2

- Text and text area keep what is typed, like ACF: a `<br>` or a `<strong>` is saved and `ugly_get()` gives it back (before, the tags were taken out when saving). `ugly_show()` prints them with what runs taken out. The "Line breaks" option of the text area now also applies to `ugly_get()`.
- New `ugly_rows('field')` and `$row->rows('field')`: the rows of a repeater or flexible content as a list that is always there (empty when there is nothing), so a `foreach` never warns. `get()` keeps working as before.
- The code that the builder suggests for a block uses them, and the ACF import tells you about the two things that fail without an error when a theme is moved (text areas with line breaks, and rows being objects). New section "Migrating from ACF" in the usage notes.
- A form on the site with no `status` made a draft; it makes a post waiting for review, as the notes say.

## 0.2.1

- Two repeaters one inside the other are accepted wherever they are, also inside a flexible layout (before, the flexible content counted as one of the two levels). A third one is still not allowed: the builder says why when you drop it, and a file that has one is refused naming that repeater.

## 0.2.0

- The name is `ugly-fields` everywhere: folder, text domain, WP-CLI (`wp ugly-fields`), options, hooks and the key in REST responses and export files. The form shortcode is `[ugly_fields_form]`.
- The code is split by topic and the ZIP carries the CSS and JavaScript minified, so it is lighter and faster: the plugin adds about a third of what ACF Pro adds to a page (measured on the front page and in the admin).
- Sync for content types and options pages, trash and bulk actions in every list, required fields, ACF import with plain notes.
- Blocks: one place to build them, fields drawer opened from "Edit fields", no trash (a window explains how to remove one).

## 0.1.0

First version: field groups with a builder, 37 field types (repeater, flexible content, clone, group), blocks, content types and taxonomies, options pages, forms, REST and GraphQL, import from ACF, Sync with the JSON files of the theme, trash for groups, content types and options pages.
