# Filter products by category or taxonomy metafield — Shopify developer changelog --- ## Filter products by category or taxonomy metafield Starting with Storefront API version 2025-01, you can now filter products within collections and search results using `CategoryFilter` and `TaxonomyMetafieldFilter`. - **`CategoryFilter`**: Filter products by a category ID. - **`TaxonomyMetafieldFilter`**: Filter products based on a taxonomy metafield namespace, key, and value. Learn more about [filtering products in collections](https://shopify.dev/docs/storefronts/headless/building-with-the-storefront-api/products-collections/filter-products) on Shopify.dev. *Published: January 01, 2025* Tags: API, New Link: https://shopify.dev/changelog/filter-products-by-category-or-taxonomy-metafield ---