Skip to content

Commit 980d1a8

Browse files
committed
Update changelog
1 parent 5131291 commit 980d1a8

File tree

1 file changed

+2
-261
lines changed

1 file changed

+2
-261
lines changed

CHANGELOG.md

Lines changed: 2 additions & 261 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## [3.0.4](https://github.com/wp-papi/papi/releases/tag/v3.0.4) - 2016-XX-XX
44

55
* Fixed: Require for link property [#165](https://github.com/wp-papi/papi/issues/165).
6+
* Fixed: Check so file exists before calling `file_get_contents` when reading page type files.
67

78
## [3.0.3](https://github.com/wp-papi/papi/releases/tag/v3.0.3) - 2016-03-19
89

@@ -80,264 +81,4 @@ We moved some logic from page type class to entry type class to be able the sepa
8081

8182
Thanks to all contributors and all who have tested Papi during the development.
8283

83-
## [2.4.7](https://github.com/wp-papi/papi/releases/tag/v2.4.7) - 2015-11-12
84-
85-
Fixed: Template did return empty string when no template was found.
86-
Fixed: Select2 overflow, see [issue #105](https://github.com/wp-papi/papi/issues/105).
87-
88-
## [2.4.6](https://github.com/wp-papi/papi/releases/tag/v2.4.6) - 2015-11-11
89-
90-
### Added
91-
92-
Added: Support for loading template files from a child theme if it exists.
93-
94-
### Fixed
95-
96-
Fixed: Empty value didn't show as it should when flexible had more then 9 fields.
97-
98-
## [2.4.5](https://github.com/wp-papi/papi/releases/tag/v2.4.5) - 2015-11-09
99-
100-
### Fixed
101-
102-
Fixed: Option will save on `admin_init` now since link property use `url_to_postid` and calling it to early didn't work.
103-
Fixed: Output for link property when saved in option table.
104-
105-
## [2.4.4](https://github.com/wp-papi/papi/releases/tag/v2.4.4) - 2015-11-04
106-
107-
### Added
108-
109-
Added: `_self` as default target value for link property.
110-
111-
### Fixed
112-
113-
Fixed: Link property will deleted values when removing a link.
114-
Fixed: Flexible empty values did not work because wrong regex.
115-
116-
## [2.4.3](https://github.com/wp-papi/papi/releases/tag/v2.4.3) - 2015-10-30
117-
118-
Fixed: Relationships children did not showed correctly on page load.
119-
Fixed: Action `papi/include` caused recursive loop.
120-
121-
## [2.4.2](https://github.com/wp-papi/papi/releases/tag/v2.4.2) - 2015-10-27
122-
123-
### Added
124-
125-
* Added: `post_type` option to properties. Useful when a page type is used for more then one post type but not all properties.
126-
* Added: `add_new_label` setting to flexible and repeater properties. See issue [#106](https://github.com/wp-papi/papi/issues/106).
127-
128-
### Fixed
129-
130-
* Fixed: `disabled` works in properties that are used in flexible and repeater. Disabled properties won't be rendered in flexible and repeater.
131-
* Fixed: `display` works in properties that are used in flexible and repeater. Table rows will be hidden when properties has `display => false`. You can show them but removing `.papi-hide` css class when you like to display them.
132-
* Fixed: bool property can handle `false` as empty. See pull request [#103](https://github.com/wp-papi/papi/pull/103), thanks [@rasmusbe](https://github.com/rasmusbe)!
133-
* Fixed: `Add new page` view is only added when page types exists.
134-
* Fixed: Property default value is only used when post is not created or post status is `auto-draft`
135-
136-
## [2.4.1](https://github.com/wp-papi/papi/releases/tag/v2.4.1) - 2015-10-15
137-
138-
* Fixed: `papi_is_option_page` issue where it didn't check `page` query string right.
139-
140-
## [2.4.0](https://github.com/wp-papi/papi/releases/tag/v2.4.0) - 2015-10-15
141-
142-
### Added
143-
144-
* Added: `items` setting to relationship so you can add your own data source!
145-
* Added: Image urls to image sizes array in file/image/gallery property.
146-
* Added: `Papi_Attachment_Type`
147-
* Added: `papi-after-html` and `papi-before-class`
148-
* Added: Term property, thanks [@rasmusbe](https://github.com/rasmusbe)!
149-
* Added: Default property value option. See issue [#95](https://github.com/wp-papi/papi/issues/95).
150-
* Added: `max`, `min` and `step` in number property. See issue [#91](https://github.com/wp-papi/papi/issues/91).
151-
* Added: `after_class` and `before_class` to property option. So you can add your own css class to after and before div.
152-
* Added: `display` option to properties. Flexible and repeater will hide the property and not the row.
153-
* Added: `post_id` to link property output object if it's a internal link.
154-
155-
### Changed
156-
157-
* Changed: Standard type is hidden by default instead of showed. This will effect all standard type filters.
158-
159-
### Fixed
160-
161-
* Fixed: Link property issue when slug was same as a property name. See issue [#99](https://github.com/wp-papi/papi/issues/99).
162-
* Fixed: Add new link issue when you have a post type on second menu level. See issue [#94](https://github.com/wp-papi/papi/issues/94).
163-
* Fixed: Relationship property issue in flexible or repeater. See issue [#93](https://github.com/wp-papi/papi/issues/93).
164-
* Fixed: Embed issue when a embed link didn't embed as it should in custom editor.
165-
166-
## [2.3.5](https://github.com/wp-papi/papi/releases/edit/v2.3.5) - 2015-10-07
167-
168-
* Fixed: Cache issue where Papi din't delete cache on save. See issue [#98](https://github.com/wp-papi/papi/issues/98).
169-
* Fixed: Editor property issue where `the_content` filter was run on saved.
170-
* Fixed: `allow_html` on `string` and `text` properties. See issue [#79](https://github.com/wp-papi/papi/issues/70).
171-
172-
## [2.3.4](https://github.com/wp-papi/papi/releases/tag/v2.3.4) - 2015-09-18
173-
174-
* Fixed: Get field issue when query string is used.
175-
* Fixed: Relationship right list so it only contains objects.
176-
177-
## [2.3.3](https://github.com/wp-papi/papi/releases/tag/v2.3.3) - 2015-09-18
178-
179-
* Fixed: Issue with Papi ajax when multisite use subdirectories See issue [#90](https://github.com/wp-papi/papi/issues/90).
180-
181-
## [2.3.2](https://github.com/wp-papi/papi/releases/tag/v2.3.2) - 2015-09-09
182-
183-
* Fixed: Column issue with custom post types.
184-
185-
## [2.3.1](https://github.com/wp-papi/papi/releases/tag/v2.3.1) - 2015-09-08
186-
187-
* Fixed: `papi_html_tag` issue when the text is a callable function.
188-
189-
## [2.3.0](https://github.com/wp-papi/papi/releases/tag/v2.3.0) - 2015-09-08
190-
191-
### Added
192-
193-
* Added: `before_html` and `after_html` options that you can use to output html before property html and after property html.
194-
* Added: `child_types` (old `page_types`).
195-
* Added: `standard_type` for show/hide standard page type when having a page type in a parent post.
196-
* Added: New filter for show/hide standard page type from filter dropdown. `papi/settings/show_standard_page_type_in_filter_{$post_type}`
197-
* Added: New property for adding links with the link popup that exists in the editor.
198-
* Added: Support for dot templates in page type, so instead of `pages/article.php` can you write `pages.article.php` or `pages.article` without `.php` extension. The old way will continue to work.
199-
* Added: Import and export layer that can be used when importing data to Papi or exporting.
200-
* Added: `papi_get_page_type_key` function that will return the meta key that Papi use to save page type id in `postmeta` table.
201-
* Added: `papi_set_page_type_id` function so you can set page type id to a post.
202-
* Added: `papi_page_type_exists` function so you can check if a page type file exists.
203-
* Added: `papi_option_type_exists` function so you can check if a option type file exists.
204-
205-
### Changed
206-
207-
* Changed `Add new page type` to `Add New Page` (`Page` is the post type name).
208-
* Changed filter title from `Show all page types` to `All types`
209-
* Changed column title from `Page Type` to `Type`
210-
211-
### Fixed
212-
213-
* Fixed: `wp-admin` is not hardcoded on the management page.
214-
* Fixed: `2%F` is replaced with `/` when setting the current menu item.
215-
* Fixed: `post_type` query for post post type works as it should.
216-
* Fixed: All `h2` tags are `h1`, see [Headings in Admin screens change in WordPress 4.3](https://make.wordpress.org/core/2015/07/31/headings-in-admin-screens-change-in-wordpress-4-3/) for more info.
217-
218-
## [2.2.2](https://github.com/wp-papi/papi/releases/tag/v2.2.2) - 2015-09-03
219-
220-
* Fixed: `papi-ajax` returns 200 status code always. When using custom permalink structure it returned 404.
221-
222-
## [2.2.1](https://github.com/wp-papi/papi/releases/tag/v2.2.1) - 2015-08-12
223-
224-
* Fixed: Allow html bug. See issue [#79](https://github.com/wp-papi/papi/issues/79).
225-
226-
## [2.2.0](https://github.com/wp-papi/papi/releases/tag/v2.2.0) - 2015-08-03
227-
228-
### Added
229-
230-
* Added: Conditional logic for properties.
231-
* Added: Property file. See [issue #71](#71).
232-
* Added: Property user.
233-
* Added: Select2 setting to Dropdown, Post and User.
234-
235-
### Fixed
236-
237-
* Fixed: Labels for attribute.
238-
* Fixed: Format_value and update_value for flexible and repeater
239-
* Fixed: Array to string [issue #75](#75).
240-
* Fixed: Translation [issue #73](#73).
241-
* Fixed: Admin column [issue #72](#72).
242-
* Fixed: `h2` is `h1`. See [Headings in Admin screens change in WordPress 4.3](https://make.wordpress.org/core/2015/07/31/headings-in-admin-screens-change-in-wordpress-4-3/)
243-
244-
### Thanks
245-
246-
Thanks to [@nlemoine](https://github.com/wp-papi/papi/issues?utf8=%E2%9C%93&q=author%3Anlemoine+) for finding some bugs and feature request.
247-
248-
## [2.1.1](https://github.com/wp-papi/papi/releases/tag/v2.1.1) - 2015-07-25
249-
250-
* Fixed: Image property will render SVG on page load correctly.
251-
252-
## [2.1.0](https://github.com/wp-papi/papi/releases/tag/v2.1.0) - 2015-06-24
253-
254-
### Added
255-
256-
* Added: French translation by [@dflorent](https://github.com/dflorent)
257-
258-
### Changed
259-
260-
* Changed: Tool page titles
261-
262-
### Fixed
263-
264-
* Fixed: SVG didn't work with image property. See issue [#68](https://github.com/wp-papi/papi/issues/68).
265-
* Fixed: Option type will not be displayed under the tool page since they don't have post id
266-
267-
## [2.0.0](https://github.com/wp-papi/papi/releases/tag/v2.0.0) - 2015-06-22
268-
269-
Papi 2.0.0 is a big release with a flexible repeater, updated properties, option type (page type for options page), new API functions and bug fixes. Some internal functions has been removed or renamed.
270-
271-
Upgrading from Papi 1.x to 2.x will not be a big step and there is a upgrade guide describing what is changed since 2.x.
272-
273-
### Requirements
274-
275-
* WordPress >= 4.0
276-
* PHP >= 5.4.7
277-
278-
### Enhancements
279-
280-
* Added: `display( $post_type )` method to page type class, works like `papi/settings/show_page_type_{$post_type}`.
281-
* New property: Flexible repeater, a repeater where you can have different layouts on each row.
282-
* Option type, just like page type but for option pages.
283-
284-
#### Actions
285-
286-
* `papi/delete_value/{$property_type}` is called when you use `papi_delete_field` or `papi_delete_option`, the post id will be zero when deleting a option value.
287-
288-
#### Filters
289-
290-
* `papi/settings/standard_page_type_{$post_type}` is renamed to `papi/settings/show_standard_page_type_{$post_type}`
291-
292-
#### New functions
293-
294-
* `papi_get_slugs`, replacing `papi_get_fields`
295-
296-
#### Field
297-
298-
* `papi_get_field`, get the property database value. Replacing `papi_field`
299-
* `papi_update_field`, update a property database value.
300-
* `papi_delete_field`, delete the property database value.
301-
302-
#### Option
303-
304-
* `papi_delete_option`, delete property database value.
305-
* `papi_get_option`, get property value from Papi option type.
306-
* `papi_update_option`, update property database value.
307-
308-
#### Page type
309-
310-
* `papi_get_page_type_id`, get the page type id.
311-
* `papi_get_page_type_name`, get the page type name.
312-
* `the_papi_page_type_name`, echo the page type name.
313-
314-
### Properties
315-
316-
#### Datetime
317-
* Upgrade moment.js to 2.10.3
318-
* Upgrade Pikaday
319-
320-
#### Dropdown and Post
321-
322-
* `placeholder` setting is replacing `blank_text` and `include_blank`
323-
* Upgraded Select2 to 4.0
324-
325-
#### Relationship
326-
327-
* `choose_max` is renamed to `limit`.
328-
329-
#### Repeater
330-
331-
* Added `limit` setting.
332-
* Added `layout` setting with `table` or `row`. The `table` value will render the repeater as a table and the `row` value will render the repeater as a row on the height.
333-
334-
#### Deprecated
335-
336-
* `current_page` is deprecated since 2.0.0. Use `papi_get_page` instead.
337-
* `papi_field` is deprecated since 2.0.0 and replaced with `papi_get_field`
338-
* `papi_fields` is deprecated since 2.0.0 and replaced with `papi_get_slugs`
339-
* `papi_get_page_type_meta_value` is deprecated since 2.0.0 and replacede with `papi_get_page_type_id`
340-
341-
### Thanks
342-
343-
Thanks to all contributors and all who have tested Papi during the development.
84+
You can find the old changelog for `2.x` [here](https://github.com/wp-papi/papi/blob/2.x/CHANGELOG.md).

0 commit comments

Comments
 (0)