Skip to content

Commit

Permalink
update release
Browse files Browse the repository at this point in the history
  • Loading branch information
iruzevic committed Oct 24, 2024
1 parent 821efb9 commit de1eeb7
Show file tree
Hide file tree
Showing 3 changed files with 99 additions and 37 deletions.
132 changes: 97 additions & 35 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,72 +1,134 @@

# Change Log for the Eightshift Frontend Libs Tailwind

All notable changes to this project will be documented in this file.

This projects adheres to [Semantic Versioning](https://semver.org/) and [Keep a CHANGELOG](https://keepachangelog.com/).

## [1.4.2] - 2024-10-03
---

## [1.4.3]

### Fixed

- Fixing Yoast SEO plugin helpers.

## [1.4.2]

### Fixed

- Fixed bug with `combinations` output in `tailwindClasses` helper.
- Fixed CSS `url()` imports for images not working because of Webpack config.
- Fixed CSS `url()` imports for images not working due to Webpack config.

## [1.4.1]

### Changed

- `tailwindClasses` check will now work even if no `parts` are defined.

## [1.4.1] - 2024-10-01
- `tailwindClasses` check will now work fine even if no `parts` are defined.
## [1.4.0]

## [1.4.0] - 2024-09-30
- Introduced new, more flexible, and simpler to use `tailwindClasses` function. Replaces `getTwPart`, `getTwDynamicPart`, and `getTwClasses`.
- **Potentially breaking**: `twClassesEditor` is now appended to `twClasses`. If you need editor-only classes, you can now use the `twClassesEditorOnly` key. Editor-only classes replace `twClasses`, but will also have classes from `twClassesEditor`.
- **Potentially breaking**: `parts` key in manifest now supports specifying multiple parts just with a comma-separated string.
- You can now apply classes to multiple parts within one option or combination! Also work with responsive options.
- There are now (basic) warnings for misconfigurations of parts and options.
### Added

- Introduced new, more flexible `tailwindClasses` function.
- Added basic warnings for misconfigurations of parts and options.
- Updated block and component schemas with new Tailwind functionalities.
- Updated dependencies.
- Updated default blocks with new Tailwind functions.

### Changed

- **Potentially breaking**: `twClassesEditor` is now appended to `twClasses`. Use `twClassesEditorOnly` for editor-only classes.
- **Potentially breaking**: The `parts` key in manifest now supports specifying multiple parts using a comma-separated string.
- Classes can now be applied to multiple parts in one option or combination, including responsive options.
- Default Stylelint config will no longer report `@tailwind` rules.
- Updated dependencies.

## [1.3.3]

### Changed

## [1.3.3] - 2024-09-24
- Updating schema.

## [1.3.2] - 2024-09-19
## [1.3.2]

### Fixed

- Fixing theme options to use stringified JSON instead of an object.

## [1.3.1] - 2024-09-13
- Helper `getFilteredAttributes` used on SSR components to filter out unwanted attributes and optimize the output.
## [1.3.1]

### Added

## [1.3.0] - 2024-08-08
- `twClasses` and `twClassesEditor` can now be passed as an array
- Updated schemas to account for the `twClasses`/`twClassesEditor` changes.
- Tailwind output functions will now output the custom classes if no Tailwind classes are in the output.
- Helper `getFilteredAttributes` for SSR components to filter unwanted attributes and optimize output.

## [1.3.0]

### Added

- `twClasses` and `twClassesEditor` can now be passed as arrays.

### Changed

- Updated schemas to support the changes in `twClasses`/`twClassesEditor`.
- Tailwind output functions now output custom classes if no Tailwind classes are detected.
- Tweaked Prettier config.
- Updated dependencies.

## [1.2.0] - 2024-08-08
## [1.2.0]

### Fixed

- Fixed default `perPage` param in `wpSearchRoute`.
- Updated image and file pickers with support for `hidden` prop and accepted types passthrough.
- Fixed some reported bugs in a couple of built-in blocks.
- Fixed bugs in built-in blocks.

### Added

- Added support for `hidden` prop and accepted types passthrough for image and file pickers.

### Changed

- Updated dependencies.

## [1.1.1] - 2024-07-11
## [1.1.1]

### Fixed

- Fixed default global manifest.

### Removed

- Removed erroneous styles.

## [1.1.0] - 2024-07-09
## [1.1.0]

### Added

- Added new options to the fetch script: `truncateTitle` and `labelProp`.
- Added `hidden` prop to `BlockInserter`.
- Added `PickerPlaceholder` component.
- Added dynamic parts option and `getTwDynamicPart` helper.

### Changed

- Updated dependencies.
- Tweaked fetch script to use WP `apiFetch`.
- Added new options to the fetch script: `truncateTitle` and `labelProp`
- Removed `urlBase` option from fetch script, as it's no longer needed.
- Updated some built-in blocks
- Moved fonts from Google Fonts to built-in.
- Removed `.gitignore` ESLint ignore.
- Updated some built-in blocks.
- Tweaked ESLint config.
- Updated base blocks.
- Added `hidden` prop to `BlockInserter`.
- Added `PickerPlaceholder` component.
- Added option for dynamic parts and the `getTwDynamicPart` helper.

## [1.0.0] - 2024-06-17
### Removed

- Removed `urlBase` option from fetch script.
- Moved fonts from Google Fonts to built-in.
- Removed `.gitignore` ESLint ignore.

## [1.0.0]

### Added

- Initial release.

[Unreleased]: https://github.com/infinum/eightshift-frontend-libs-tailwind/compare/master...HEAD

[1.4.3]: https://github.com/infinum/eightshift-frontend-libs-tailwind/compare/1.4.2...1.4.3
[1.4.2]: https://github.com/infinum/eightshift-frontend-libs-tailwind/compare/1.4.1...1.4.2
[1.4.1]: https://github.com/infinum/eightshift-frontend-libs-tailwind/compare/1.4.0...1.4.1
[1.4.0]: https://github.com/infinum/eightshift-frontend-libs-tailwind/compare/1.3.3...1.4.0
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eightshift/frontend-libs-tailwind",
"version": "1.4.2",
"version": "1.4.3",
"description": "A framework for creating modern Gutenberg themes with styling provided by Tailwind CSS.",
"author": {
"name": "Eightshift team",
Expand Down
2 changes: 1 addition & 1 deletion scripts/plugins/yoast-seo.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import domReady from '@wordpress/dom-ready';
import apiFetch from '@wordpress/api-fetch';
import { subscribe, select } from '@wordpress/data';
import { debounce, isEmpty } from '../helpers';
import { debounce, isEmpty } from '@eightshift/ui-components/utilities';

/* global YoastSEO */

Expand Down

0 comments on commit de1eeb7

Please sign in to comment.