# Changelog

**v3.0.1**

* merge [pull request #109](https://github.com/jjgrainger/PostTypes/pull/109): Check taxonomy in query vars is an array
* maintenance: Update PHPUnit and GitHub workflows to php 8.4

**v3.0.0**

* merge [pull request #98](https://github.com/jjgrainger/PostTypes/pull/98): Major v3.0 refactor and feature updates
* refactor: modernise architecture and introduce class-based PostType/Taxonomy handling
* feature: improved column handling and introduce column builder
* docs: update examples and documentation for v3.0 implementation
* maintenance: introduce phpstan and improve GitHub workflows

**v2.2.2**

* merge [pull request #103](https://github.com/jjgrainger/PostTypes/pull/103): Update documentation for translations

**v2.2.1**

* merge [pull requests #95](https://github.com/jjgrainger/PostTypes/pull/95): Update tests
* merge [pull requests #93](https://github.com/jjgrainger/PostTypes/pull/93): Fix empty array if taxonomy query var is null
* merge [pull requests #88](https://github.com/jjgrainger/PostTypes/pull/88): Fix docblock definition

**v2.2**

* merge [pull requests #81](https://github.com/jjgrainger/PostTypes/pull/81): Fix Taxonomy dropdown filter
* merge [pull requests #80](https://github.com/jjgrainger/PostTypes/pull/80): Fix Modify Existing Objects
* merge [pull requests #72](https://github.com/jjgrainger/PostTypes/pull/72): fix issue 71
* merge [pull requests #74](https://github.com/jjgrainger/PostTypes/pull/74): Allow setting false to sort by alphabetical
* merge [pull requests #79](https://github.com/jjgrainger/PostTypes/pull/79): Update docs and README examples
* merge [pull requests #78](https://github.com/jjgrainger/PostTypes/pull/78): Maintenance

**v2.1**

* merge [pull reqeuest #45](https://github.com/jjgrainger/PostTypes/pull/45): add PHP 7.2 Compatibility
* merge [pull reqeuest #46](https://github.com/jjgrainger/PostTypes/pull/46): Make sure the "orderby" query var is a string when sorting by columns.
* merge [pull reqeuest #55](https://github.com/jjgrainger/PostTypes/pull/55): Fix column mismatch broken sort
* merge [pull reqeuest #56](https://github.com/jjgrainger/PostTypes/pull/56): Grammar mistakes corrected
* merge [pull reqeuest #61](https://github.com/jjgrainger/PostTypes/pull/61): Fix incorrect property types
* merge [pull reqeuest #62](https://github.com/jjgrainger/PostTypes/pull/62): Allow for multiple taxonomies and post types to be added
* merge [pull reqeuest #63](https://github.com/jjgrainger/PostTypes/pull/63): Update Taxonomy columns documentation
* merge [pull reqeuest #64](https://github.com/jjgrainger/PostTypes/pull/64): Update minimum PHP version, phpunit and phpcs

**v2.0.1**

* merge [pull reqeuest #19](https://github.com/jjgrainger/PostTypes/pull/19): Use wp\_dropdown\_categories function for post filtering selectbox
* update minimum php version to 5.6

**v2.0**

* fix [issue #9](https://github.com/jjgrainger/PostTypes/issues/9): add unit tests
* fix [issue #12](https://github.com/jjgrainger/PostTypes/issues/12) and [issue #13](https://github.com/jjgrainger/PostTypes/issues/13): generating duplicate columns
* fix [issue #2](https://github.com/jjgrainger/PostTypes/issues/2) and [issue #16](https://github.com/jjgrainger/PostTypes/issues/16): translations not working
* create Taxonomy class
* fix [issue #11](https://github.com/jjgrainger/PostTypes/issues/11): add `columns()` to Taxonomy class
* update [`examples/books.php`](https://github.com/jjgrainger/PostTypes/blob/master/examples/books.php)

**v1.1.2**

* fix PHPCS as dev requirement
* add version to composer json

**v1.1.1**

* fix [issue #8](https://github.com/jjgrainger/PostTypes/issues/8): Error with `$addTaxonomy`

**v1.1**

* fix [issue #6](https://github.com/jjgrainger/PostTypes/issues/6): problem registering existing taxonomies
* add [issue #1](https://github.com/jjgrainger/PostTypes/issues/1): Add PHPCS and Travic integration
* merge [pull request #3](https://github.com/jjgrainger/PostTypes/pull/3): Add `labels()` method to `PostTypes`


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://posttypes.jjgrainger.co.uk/changelog.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
