Skip to content

Commit

Permalink
v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gaambo committed Nov 1, 2023
1 parent 691c03b commit b9c0f34
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 13 deletions.
2 changes: 1 addition & 1 deletion good-slider.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Description: A simple and extendable slider block using Swiper
* Requires at least: 6.2
* Requires PHP: 7.4
* Version: 1.3.1
* Version: 2.0.0
* Author: GoodWP
* Author URI: https://goodwp.io
* License: GPL-2.0-or-later
Expand Down
13 changes: 3 additions & 10 deletions languages/good-slider.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
# This file is distributed under the GPL-2.0-or-later.
msgid ""
msgstr ""
"Project-Id-Version: Good Slider 1.3.1\n"
"Project-Id-Version: Good Slider 2.0.0\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/good-slider\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2023-10-04T14:57:50+00:00\n"
"POT-Creation-Date: 2023-11-01T17:36:06+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.7.1\n"
"X-Generator: WP-CLI 2.9.0\n"
"X-Domain: good-slider\n"

#. Plugin Name of the plugin
Expand All @@ -30,37 +30,30 @@ msgstr ""
msgid "https://goodwp.io"
msgstr ""

#: build/slider-block/index.js:1
#: src/slider-block/edit.js:47
msgctxt "block placeholder label"
msgid "Good Slider"
msgstr ""

#: build/slider-block/index.js:1
#: src/slider-block/edit.js:48
msgid "Add a Slide-Item block to start creating your slider."
msgstr ""

#: build/slider-block/index.js:1
#: src/slider-block/edit.js:51
msgid "Add Slide"
msgstr ""

#: build/item-block/block.json
#: src/item-block/block.json
msgctxt "block title"
msgid "Slider Item"
msgstr ""

#: build/item-block/block.json
#: build/slider-block/block.json
#: src/item-block/block.json
#: src/slider-block/block.json
msgctxt "block description"
msgid "A carousel slider"
msgstr ""

#: build/slider-block/block.json
#: src/slider-block/block.json
msgctxt "block title"
msgid "Good Slider"
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": "good-slider",
"version": "1.2.0",
"version": "2.0.0",
"description": "A simple and extendable slider block using Swiper",
"author": "goodwp",
"license": "GPL-2.0-or-later",
Expand Down
27 changes: 26 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: goodwpio, gaambo
Tags: block, slider, swiper
Requires at least: 6.2
Tested up to: 6.4
Stable tag: 1.3.1
Stable tag: 2.00
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -62,6 +62,31 @@ Yes, we are working on exposing the most common configuration options (slides sh

== Changelog ==

= 2.0.0 (2023-11-01) =
!! Some breaking changes:

- Tweak: Changed block supports for slider and item block
- Slider block:
- Supports anchor/ID
- Supports background image
- Supports all colors (background, gradients, heading, button, link, text)
- Supports minimum height
- Supports top+bottom padding and margin
- Supports typography
- Slider item block
- Supports anchor/ID
- Supports background image
- Supports all colors (background, gradients, heading, button, link, text)
- Supports minimum height
- Supports padding (all sides)
- Supports typography
- Tweak: Changed class name of main wrapper block to `wp-block-good-slider`.
The old classes were `wp-block-good-slider-slider` + `good-slider` and are not set on the block anymore.
A block deprecation was added to migrate blocks when viewing in editor.
- Compatibility: Requires WordPress 6.2 (because of WP HTML Tag Manager)
- Compatibility: Tested up to WordPress 6.4
- Dev: Update @wordpress packages.

= 1.3.1 (2023-10-04) =
- Fix: Fix swiper-full bundle not working (because Swiper is not exported to window).

Expand Down

0 comments on commit b9c0f34

Please sign in to comment.