Skip to content

Release Notes: WDS-BT v1.0.0

Latest
Compare
Choose a tag to compare
@khleomix khleomix released this 26 Aug 14:33
· 52 commits to main since this release
3d2d9dc

Release Summary

This release of WDS-BT v1.0 introduces several enhancements, new features, and bug fixes aimed at improving performance, user experience, and content navigation. The primary focus areas include the automated versioning system, styling improvements, and template updates, as well as the introduction of a new WDS Block Template creation script.


Key Features and Enhancements

1. WDS Block Template Creation Script

  • New Block Template: This release includes a block creation template designed to streamline block development using the @wordpress/create-block tool.
  • Usage: To create a block using this template, run the following command in your terminal:
    npx @wordpress/create-block --template ../../inc/block-template --no-plugin
  • Generated Block Structure:
    Upon running the command, the following structure will be created:
    📁src
    └── 📁blocks
        └── 📁{example-block}
            └── block.json
            └── edit.js
            └── editor.scss
            └── index.js
            └── render.php
            └── style.scss
    
    This configuration ensures that developers can quickly scaffold a block that is ready for registration and immediate use within the theme.

2. Automated Versioning System

  • The Automated Versioning process is designed to increment the BUILD number automatically upon merges to the main branch.

3. Style Adjustments

  • Button Size Variations: Missing styles for button size variations have been re-added, ensuring a consistent appearance across different button types.
  • Latest Posts and Query Block Styling: Styles for the Posts Block have been updated for better visual consistency.

4. Template Updates

  • Single and Archive Templates: Enhancements to single and archive templates improve overall layout design, leading to a more cohesive and polished user experience.

5. Build Process Improvements

  • Composer and Webpack Updates: The build process has been optimized by updating Composer, Webpack, and related packages. These updates streamline the development workflow and fix minor issues related to paths and configurations.

6. Block Patterns and Responsiveness

  • Block Patterns Tweaks: Adjustments to block patterns improve alignment and ensure that content displays correctly on both desktop and mobile devices.
  • Mobile Responsiveness: All updates prioritize responsiveness, enhancing the mobile user experience.

7. Bug Fixes and Performance Enhancements

  • Improved Block Editing Experience: Various updates were made to ensure smoother interactions with blocks and improve the theme's adaptability to different use cases.
  • Theme.json Errors: Fixed errors related to theme.json for version 3.
  • Performance Optimizations: Styles and template rendering have been optimized to reduce load times and improve overall site performance.
  • README and Package Updates: Documentation has been updated to reflect the latest changes, including package updates.

8. Workflow Enhancements

  • Pull Request Workflow: The CI/CD workflow has been enhanced to run only on pull requests, streamlining the development and review process.

How to Upgrade

To upgrade to this release:

  1. Pull the latest code from the main branch.
  2. Run composer install and npm install to ensure all dependencies are up to date.
  3. Use the new block creation script with npx @wordpress/create-block --template ../../inc/block-template --no-plugin to generate new blocks quickly.
  4. Deploy the theme and test the related posts block, templates, and style variations to verify that the changes have been applied correctly.

Known Issues

No known issues at this time. Please report any bugs or anomalies via Jira.


Testing & Validation

This release has been tested across multiple browsers and devices to ensure cross-browser compatibility and mobile responsiveness. Specific focus was placed on:

  • Visual regression testing to confirm that existing functionality has not been negatively impacted by the changes.
  • Cross-browser compatibility for Chrome, Firefox, and Safari.
  • Accessibility testing to validate that updates meet accessibility standards.

Acknowledgments

Thank you to everyone involved in this release, especially the development team for their hard work on improving WDS-BT.


New Contributors

Full Changelog: v0.1.0...v1.0