瀏覽代碼

Add a changelog generator and various changelogs (#5903)

Co-authored-by: mikachan <sarah@sekai.co.uk>
Jason Crist 3 年之前
父節點
當前提交
4a8b9900d6
共有 11 個文件被更改,包括 821 次插入6 次删除
  1. 23 0
      archeo/readme.txt
  2. 140 0
      blockbase/readme.txt
  3. 105 0
      geologist/readme.txt
  4. 29 1
      livro/readme.txt
  5. 120 0
      quadrat/readme.txt
  6. 10 0
      remote/readme.txt
  7. 138 0
      skatepark/readme.txt
  8. 34 0
      stewart/readme.txt
  9. 58 5
      theme-utils.mjs
  10. 62 0
      videomaker/readme.txt
  11. 102 0
      zoologist/readme.txt

+ 23 - 0
archeo/readme.txt

@@ -12,6 +12,29 @@ A theme inspired by Mayan history and culture.
 
 
 == Changelog ==
 == Changelog ==
 
 
+= 1.0.6 =
+* multiple themes: update font sizes from px to rem for better a11y (#5801)
+
+= 1.0.5 =
+* Update register block pattern categories function name (#5804)
+
+= 1.0.4 =
+* Archeo: Load patterns automatically (#5715)
+* Remove responsive image fix (#5648)
+
+= 1.0.3 =
+* Reintroduce previous spacing fix (#5731)
+* [Archeo] Update the theme screenshot with Mayan translation (#5721)
+
+= 1.0.2 =
+* Add Page (No Title) template. (#5719)
+
+= 1.0.1 =
+* Tidy up the main homepage pattern. (#5716)
+* Change blockgap from variable to 2.5rem (#5671)
+* Archeo: Add fonts to theme.json (#5609)
+* Archeo: bump version (#5668)
+
 = 1.0.0 =
 = 1.0.0 =
 * Initial release
 * Initial release
 
 

+ 140 - 0
blockbase/readme.txt

@@ -19,6 +19,146 @@ Read the release notes at https://blockbasetheme.com/category/release-notes/
 
 
 == Changelog ==
 == Changelog ==
 
 
+= 2.0.33 =
+* Blockbase: Account for additional content via css grid configuration (#5816)
+
+= 2.0.32 =
+* Blockbase: add padding for group blocks with a background (#5811)
+* Remove the Gutenberg Dependency Check from Blockbase and bump required version to 5.9 (#5823)
+
+= 2.0.31 =
+* Add select boxes to form styles (#5793)
+* Change how 'old custom theme colors' are cleaned out to be more specific (#5754)
+* Fix Woo number input in Blockbase (#5354)
+* Added Gutenberg check to Blockbase themes (#5735)
+
+= 2.0.30 =
+* Blockbase: add style overrides for navigation block links (#5741)
+
+= 2.0.29 =
+* Blockbase: update font sizes to rem instead of px for a11y (#5752)
+
+= 2.0.28 =
+* Add missing paren. (#5710)
+
+= 2.0.27 =
+* Blockbase: move require social-navigation.php inside a check for WP_Theme_JSON_Resolver_Gutenberg to avoid errors. (#5654)
+
+= 2.0.26 =
+* Moved color customizations from custom to theme (#5629)
+* Blockbase: Fix social icons (#5592)
+
+= 2.0.25 =
+* Blockbase: Remove list ponyfill (#5586)
+* Blockbase: Add more issues that need to be resolved to remove CSS (#5587)
+
+= 2.0.24 =
+* Update README.md (#5528)
+* avoid linter warnings about yoda conditions (#5538)
+* Blockbase: Use the Global Styles rest API in the customizer (#5492)
+* Update alignment rules (#5526)
+
+= 2.0.23 =
+* Try fixing the husky actions. (#5493)
+
+= 2.0.22 =
+* fixed spacing for header (#5472)
+
+= 2.0.21 =
+* Update alignment styles (#5475)
+* Update dependencies (#5476)
+
+= 2.0.20 =
+* Blockbase: Add comments to a page (#5461)
+* Fixed import to include __DIR__ instead of assuming relative path (#5449)
+
+= 2.0.19 =
+* remove the default color check during color customizations save (#5446)
+* Remove block style registration (#5368)
+* register header and footer in theme json (#5441)
+
+= 2.0.18 =
+* Blockbase: Remove the fallback for the navigation block (#5419)
+
+= 2.0.17 =
+* Blockbase search template update (#5418)
+
+= 2.0.16 =
+* Blockbase: Fix social navigation warning (#5389)
+
+= 2.0.15 =
+* Videomaker: Consolidate footer patterns in Videomaker (#5374)
+
+= 2.0.14 =
+* Blockbase: Load Block Patterns for children automatically (#5363)
+* Update Blank Canvas Blocks footer (#5346)
+
+= 2.0.13 =
+* Blockbase: Update style.css (#5330)
+
+= 2.0.12 =
+* Blockbase: update dependencies & change node-sass to dart sass (#5290)
+* Font size names update (#5300)
+* Update all dependencies and add update script (#5304)
+* Update alignment rules. (#5316)
+* Reverting the mess caused renaming template folders (#5317)
+* Remove templates improperly nested in a folder due to script error in #5105 (#5314)
+* Refix/5105 script refactor template folders (#5312)
+* Ran script moving template resources
+* Blockbase: refactor footers to patterns (#5245)
+* Blockbase: converted headers to patterns (#5238)
+* Remove customizer restoration as it is no longer being removed by Gutenberg. (#5303)
+
+= 2.0.11 =
+* Revert Change the way we fetch users CPT to use the Gutenberg function directly (#5307)
+* Revert Revert Fix Customizer Font Editing causing Site Editor WSOD (#5295)
+* Revert Fix Customizer Font Editing causing Site Editor WSOD (#5262) (#5284)
+
+= 2.0.10 =
+* Fix Customizer Font Editing causing Site Editor WSOD (#5262)
+* Add appearanceTools: true setting (#5072)
+* Blockbase: Update the package.json (#5253)
+* Blockbase: Update customizer PHP library to work with latest version of Gutenberg (#5251)
+
+= 2.0.9 =
+* Fallback to the old function name in case users are still on the old version of Gutenberg (#5250)
+* Blockbase: Rename Gutenberg functions (#5248)
+
+= 2.0.8 =
+* Blockbase: Update alignment rules (#5220)
+* Blockbase: fix variables for 2 colored themes (#5241)
+
+= 2.0.6 =
+* Blockbase: Force DOMXPath to use utf-8 encoding (#5193)
+
+= 2.0.5 =
+* Geologist Variations + Variation Creation Script (#5179)
+* Fixed the header spacer element in header-center template (#5175)
+
+= 2.0.4 =
+* Try/consolidate headers (#5145)
+
+= 2.0.3 =
+* Blockbase: replace user key with custom (#5147)
+
+= 2.0.2 =
+* Blockbase Fonts: Only unset properties that are set (#5149)
+* Blockbase: refactor template part blocks (#5129)
+* Blockbase: Add an archive template (#5127)
+
+= 2.0.1 =
+* Blockbase: Fix navigation (#5128)
+* Add padding to footer (#5122)
+* Move calendar styles to blockbase (#5114)
+* Blockbase: Move table stripes to Blockbase (#5115)
+* Blockbase: Update paragraph gap (#5104)
+* created a footer only template (#5103)
+* Blockbase: Use variable for heading font size (#5101)
+* Blockbase: Remove layout inheritance from the footer template (#5100)
+* updated readme with blog links (#5099)
+* Videomaker: Update Videomaker navigation (#5059)
+* Quadrat: fixing hover styles for buttons inside the subscribe form (#5033)
+
 = 2.0.0 =
 = 2.0.0 =
 * BREAKING CHANGE: Simplify the approach to font customization #4980
 * BREAKING CHANGE: Simplify the approach to font customization #4980
 
 

+ 105 - 0
geologist/readme.txt

@@ -12,6 +12,111 @@ Geologist is a streamlined theme for modern bloggers. It consists of a simple si
 
 
 == Changelog ==
 == Changelog ==
 
 
+= 1.0.27 =
+* multiple themes: update font sizes from px to rem for better a11y (#5801)
+
+= 1.0.26 =
+* Changed source of pagination arrows from CSS to block attributes. (#5532)
+
+= 1.0.25 =
+* Update dependencies (#5476)
+
+= 1.0.24 =
+* Geologist and Zoologist: Add blog-homepage tag' (#5460)
+
+= 1.0.23 =
+* Blockbase: Load Block Patterns for children automatically (#5363)
+
+= 1.0.22 =
+* Blockbase children: Remove search templates (#5334)
+
+= 1.0.21 =
+* Blockbase: update dependencies & change node-sass to dart sass (#5290)
+* Font size names update (#5300)
+* Update all dependencies and add update script (#5304)
+
+= 1.0.20 =
+* Reverting the mess caused renaming template folders (#5317)
+
+= 1.0.20 =
+* Remove templates improperly nested in a folder due to script error in #5105 (#5314)
+* Refix/5105 script refactor template folders (#5312)
+* Ran script moving template resources
+* Blockbase: refactor footers to patterns (#5245)
+* Blockbase: converted headers to patterns (#5238)
+
+= 1.0.19 =
+* Geologist Variations + Variation Creation Script (#5179)
+
+= 1.0.18 =
+* Try/consolidate headers (#5145)
+
+= 1.0.17 =
+* Blockbase: refactor template part blocks (#5129)
+* Blockbase: Add an archive template (#5127)
+* Add default layout to Geologist single posts (#5144)
+* Geologist: Remove unused template (#5143)
+
+= 1.0.16 =
+* Move calendar styles to blockbase (#5114)
+* Remove unused search block code (#5116)
+* Blockbase: Move table stripes to Blockbase (#5115)
+
+= 1.0.15 =
+* Blockbase: Simplify the approach to font customization (#4980)
+
+= 1.0.14 =
+* Quadrat: Fix post title spacing (#4720)
+* Update all navigation blocks to new markup (#5038)
+
+= 1.0.13 =
+* Blockbase: Add child CSS if it exists (#5047)
+
+= 1.0.12 =
+* Blockbase: Use new attributes for navigation block (#4832)
+
+= 1.0.11 =
+* Remove/child theme (#4861)
+
+= 1.0.10 =
+* Revert the header change for Quadrat, Geologist and Zoologist (#4955)
+
+= 1.0.9 =
+* Geologist: Remove blockTypes from Geologist patterns (#4937)
+* Blockbase: Update the stacking of site title and tagline in Blockbase and co (#4928)
+
+= 1.0.8 =
+* Blockbase: Add query title (#4878)
+
+= 1.0.7 =
+* Blockbase: Fix form background color contrast (#4824)
+* Blockbase: search block font size (#4865)
+* Blockbase: make post meta icons optional (#4891)
+* Blockbase: Update the query pagination block markup (#4805)
+
+= 1.0.6 =
+* Update style.css (#4874)
+
+= 1.0.5 =
+* cleanup errors on themejson files and rebuild themes (#4857)
+
+= 1.0.4 =
+* Updated tested version of wordpress for all blockbase themes (#4839)
+* Adjusted menu CSS to match recent changes in the block (#4822)
+* renamed a couple of functions from 'newtheme' to 'geologist' (#4840)
+
+= 1.0.3 =
+* Blockbase: Allow themes to inherit core gradients unless they define their own (#4818)
+* Blockbase: Add theme.json meta data (#4819)
+* Blockbase: Add social navigation to blockbase themes (#4482)
+
+= 1.0.2 =
+* Blockbase:  remove unneeded margin rules (#4808)
+* Quadrat + Geologist: Remove invalid site-logo rule (#4803)
+
+= 1.0.1 =
+* remove unnecesary queryId attribute (#4806)
+
 = 1.0.0 =
 = 1.0.0 =
 * Initial release
 * Initial release
 
 

+ 29 - 1
livro/readme.txt

@@ -14,7 +14,35 @@ Livro is a simple theme designed to evoke the calm feeling you get when you sett
 == Changelog ==
 == Changelog ==
 
 
 = 1.0.11 =
 = 1.0.11 =
-* Refactor patterns (#5879)
+* Livro: refactor patterns (#5879)
+
+= 1.0.10 =
+* Added a dependency check for Gutenberg  (#5718)
+* Try adding support for the aside post format. (#5732)
+
+= 1.0.9 =
+* Removed reference to absent function that was previously removed. (#5707)
+
+= 1.0.8 =
+* Add fonts to theme.json (#5609)
+
+= 1.0.7 =
+* Update alignment rules (#5526)
+
+= 1.0.6 =
+* Update alignment styles (#5475)
+
+= 1.0.5 =
+* [Livro] Fix wide and full width content in index/archive/home templates (#5385)
+
+= 1.0.4 =
+* Correct livro_preload_webfonts() (#5412)
+
+= 1.0.2 =
+* Livro: Add 404 pattern (#5391)
+* Update alignment rules (#5315)
+* [Livro] Minor theme review fixes (#5323)
+* Try updating Livre theme name to Livro (#5298)
 
 
 = 1.0.1 =
 = 1.0.1 =
 * Alignment fixes, code cleanup.
 * Alignment fixes, code cleanup.

+ 120 - 0
quadrat/readme.txt

@@ -12,6 +12,126 @@ Quadrat is a simple, versatile WordPress theme, designed for blogs and podcasts.
 
 
 == Changelog ==
 == Changelog ==
 
 
+= 1.1.39 =
+* multiple themes: update font sizes from px to rem for better a11y (#5801)
+
+= 1.1.38 =
+* Update dependencies (#5476)
+
+= 1.1.37 =
+* Add the triangle back to the Quadrat footer (#5469)
+
+= 1.1.36 =
+* Remove block style registration (#5368)
+
+= 1.1.35 =
+* Blockbase: Load Block Patterns for children automatically (#5363)
+
+= 1.1.34 =
+* Blockbase children: Remove search templates (#5334)
+
+= 1.1.33 =
+* Blockbase: update dependencies & change node-sass to dart sass (#5290)
+* Font size names update (#5300)
+* Update all dependencies and add update script (#5304)
+
+= 1.1.32 =
+* Reverting the mess caused renaming template folders (#5317)
+
+= 1.1.32 =
+* Remove templates improperly nested in a folder due to script error in #5105 (#5314)
+* Refix/5105 script refactor template folders (#5312)
+* Ran script moving template resources
+* Blockbase: refactor footers to patterns (#5245)
+* Blockbase: converted headers to patterns (#5238)
+
+= 1.1.31 =
+* Try/consolidate headers (#5145)
+
+= 1.1.30 =
+* Blockbase: Add an archive template (#5127)
+
+= 1.1.29 =
+* Move calendar styles to blockbase (#5114)
+* Remove unused search block code (#5116)
+* Blockbase: Move table stripes to Blockbase (#5115)
+
+= 1.1.28 =
+* Blockbase: Simplify the approach to font customization (#4980)
+
+= 1.1.27 =
+* Quadrat: Fix post title spacing (#4720)
+* Update all navigation blocks to new markup (#5038)
+
+= 1.1.26 =
+* Blockbase: Add child CSS if it exists (#5047)
+
+= 1.1.25 =
+* Blockbase: Use new attributes for navigation block (#4832)
+
+= 1.1.24 =
+* Remove/child theme (#4861)
+
+= 1.1.23 =
+* Revert the header change for Quadrat, Geologist and Zoologist (#4955)
+
+= 1.1.22 =
+* Blockbase: Handle posts without titles (#4920)
+* Blockbase: Update the stacking of site title and tagline in Blockbase and co (#4928)
+
+= 1.1.21 =
+* Quadrat: Remove unnecessary .png (#4927)
+
+= 1.1.20 =
+* Blockbase: Add query title (#4878)
+
+= 1.1.19 =
+* Blockbase: Add a mixin for post meta (#4897)
+
+= 1.1.18 =
+* Blockbase: Fix form background color contrast (#4824)
+* Blockbase: search block font size (#4865)
+* Blockbase: make post meta icons optional (#4891)
+* Blockbase: Update the query pagination block markup (#4805)
+
+= 1.1.17 =
+* Update style.css (#4874)
+
+= 1.1.16 =
+* cleanup errors on themejson files and rebuild themes (#4857)
+
+= 1.1.15 =
+* Add copy of Quadrat's index.php to Geologist (#4841)
+
+= 1.1.14 =
+* removed the utility class from block patterns and instead used margin (#4847)
+
+= 1.1.13 =
+* Updated tested version of wordpress for all blockbase themes (#4839)
+* Adjusted menu CSS to match recent changes in the block (#4822)
+
+= 1.1.12 =
+* Blockbase: Allow themes to inherit core gradients unless they define their own (#4818)
+* Blockbase: Add theme.json meta data (#4819)
+* Blockbase: Add social navigation to blockbase themes (#4482)
+
+= 1.1.11 =
+* Quadrat: Allow long titles to wrap the same way on post pages and on the index (#4796)
+* Blockbase:  remove unneeded margin rules (#4808)
+* Quadrat + Geologist: Remove invalid site-logo rule (#4803)
+* Blockbase: Rebuild all blockbase children (#4804)
+
+= 1.1.10 =
+* remove unnecesary queryId attribute (#4806)
+
+= 1.1.9 =
+* Added font color and size styles to form input placeholder (#4667)
+* Blockbase + co: Fix navigation alignment (#4795)
+
+= 1.1.8 =
+* Quadrat: Ensure that the position of the post title is the same on all pages (#4783)
+* Blockbase, Quadrat, Seedlet, Mayland Blocks: updated changelogs for .org (#4785)
+
 = 1.1.3 - 1.1.7 =
 = 1.1.3 - 1.1.7 =
 * Bug fixes and improvements
 * Bug fixes and improvements
 * Gutenberg + Blockbase compatibility improvements
 * Gutenberg + Blockbase compatibility improvements

+ 10 - 0
remote/readme.txt

@@ -12,6 +12,16 @@ Remote is a dark, minimal block theme ideal for bloggers. Its default styles - a
 
 
 == Changelog ==
 == Changelog ==
 
 
+= 1.0.3 =
+* Remote: refactor patterns to load directly from the editor (#5829)
+
+= 1.0.2 =
+* multiple themes: update font sizes from px to rem for better a11y (#5801)
+
+= 1.0.1 =
+* Update screenshot.png (#5817)
+* Remote: added missing credits (#5808)
+
 = 1.0.0 =
 = 1.0.0 =
 * Initial release
 * Initial release
 
 

+ 138 - 0
skatepark/readme.txt

@@ -14,11 +14,149 @@ Skatepark is a bold and exciting WordPress theme designed for modern events and
 = 1.0.40 =
 = 1.0.40 =
 * Skatepark: refactor patterns (#5858)
 * Skatepark: refactor patterns (#5858)
 
 
+= 1.0.39 =
+* multiple themes: update font sizes from px to rem for better a11y (#5801)
+
+= 1.0.38 =
+* fixed spacing issues (#5627)
+* updated changelog (#5572)
+* Skatepark: trac ticket fixes (#5551)
+* resized images that were too big (#5547)
+
 = 1.0.37 =
 = 1.0.37 =
 * Updated social links urls
 * Updated social links urls
 * Fixed outline for navigation links
 * Fixed outline for navigation links
 * Prefixed featured image class function
 * Prefixed featured image class function
 
 
+= 1.0.36 =
+* Try making skatepark standalone block theme (#5523)
+* Blockbase: Use the Global Styles rest API in the customizer (#5492)
+
+= 1.0.35 =
+* Skatepark: new Home template (#5491)
+* Skatepark: refactor CSS into block markup (#5473)
+
+= 1.0.34 =
+* Update dependencies (#5476)
+
+= 1.0.33 =
+* Remove block style registration (#5368)
+
+= 1.0.32 =
+* Skatepark: updated font sizes (#5416)
+
+= 1.0.31 =
+* Blockbase: Load Block Patterns for children automatically (#5363)
+
+= 1.0.30 =
+* Blockbase: Remove custom 404 templates (#5332)
+
+= 1.0.29 =
+* Blockbase: update dependencies & change node-sass to dart sass (#5290)
+* Font size names update (#5300)
+* Update all dependencies and add update script (#5304)
+
+= 1.0.28 =
+* Reverting the mess caused renaming template folders (#5317)
+
+= 1.0.28 =
+* Remove templates improperly nested in a folder due to script error in #5105 (#5314)
+* Refix/5105 script refactor template folders (#5312)
+* Ran script moving template resources
+* Blockbase: refactor footers to patterns (#5245)
+* Blockbase: converted headers to patterns (#5238)
+
+= 1.0.27 =
+* Skatepark: use grid of posts for Search page (#5234)
+* removed header template part from skatepark's json (#5233)
+
+= 1.0.26 =
+* Skatepark: Remove margin of the post content block (#5229)
+* Skatepark: simplify nav (#5190)
+
+= 1.0.25 =
+* Try/consolidate headers (#5145)
+
+= 1.0.24 =
+* Blockbase: refactor template part blocks (#5129)
+* Blockbase: Add an archive template (#5127)
+
+= 1.0.23 =
+* Skatepark: Add footer pattern to footer template (#5088)
+
+= 1.0.22 =
+* Skatepark: Add space below the Featured Image on the single post page (#5061)
+
+= 1.0.21 =
+* Blockbase: Simplify the approach to font customization (#4980)
+* Paternize 404 Page (#5039)
+
+= 1.0.20 =
+* Update all navigation blocks to new markup (#5038)
+
+= 1.0.19 =
+* Skatepark: Fix the alignment of social icons in the footer pattern (#5040)
+
+= 1.0.18 =
+* Blockbase: Add child CSS if it exists (#5047)
+
+= 1.0.17 =
+* Add block pattern for labeled post links (#5015)
+* Skatepark: Fix multiline tags and categories (#5021)
+
+= 1.0.16 =
+* Blockbase: Use new attributes for navigation block (#4832)
+* Skatepark: Increase menu spacing & style current menu item (#4966)
+
+= 1.0.15 =
+* Remove/child theme (#4861)
+
+= 1.0.14 =
+* fixed wrong font sizes for the theme (#4929)
+* Skatepark: dynamic duotone support (#4740)
+
+= 1.0.13 =
+* Blockbase: Fix form background color contrast (#4824)
+* Blockbase: search block font size (#4865)
+* Blockbase: make post meta icons optional (#4891)
+* Blockbase: Update the query pagination block markup (#4805)
+
+= 1.0.12 =
+* Skatepark: blog posts spacing (#4864)
+
+= 1.0.11 =
+* fixed spacing issues on post title (#4855)
+
+= 1.0.10 =
+* Update style.css (#4874)
+
+= 1.0.9 =
+* cleanup errors on themejson files and rebuild themes (#4857)
+
+= 1.0.8 =
+* Add copy of Quadrat's index.php to Geologist (#4841)
+
+= 1.0.7 =
+* Updated tested version of wordpress for all blockbase themes (#4839)
+* Adjusted menu CSS to match recent changes in the block (#4822)
+
+= 1.0.6 =
+* Blockbase: Allow themes to inherit core gradients unless they define their own (#4818)
+* Blockbase: Add theme.json meta data (#4819)
+* Blockbase: Add social navigation to blockbase themes (#4482)
+
+= 1.0.5 =
+* Blockbase:  remove unneeded margin rules (#4808)
+* Blockbase: Rebuild all blockbase children (#4804)
+
+= 1.0.4 =
+* remove unnecesary queryId attribute (#4806)
+
+= 1.0.3 =
+* Blockbase: Make the top margins consistent (#4726)
+* Blockbase: Update font size names (#4711)
+* Drop fontsToLoadFromGoogle for child themes (#4633)
+
 = 1.0.0 =
 = 1.0.0 =
 * Initial release
 * Initial release
 
 

+ 34 - 0
stewart/readme.txt

@@ -16,6 +16,40 @@ Stewart is a modern blogging theme with a left sidebar. Its default color scheme
 = 1.7 =
 = 1.7 =
 * Stewart: refactor patterns (#5854)
 * Stewart: refactor patterns (#5854)
 
 
+= 1.6 =
+* multiple themes: update font sizes from px to rem for better a11y (#5801)
+
+= 1.5 =
+* Add fonts to theme.json (#5609)
+
+= 1.4 =
+* Stewart: fix font sizes in theme.json (#5614)
+* Stewart: fixes on index, archive and search templates (#5613)
+
+= 1.3 =
+* Update alignment rules (#5526)
+
+= 1.2 =
+* Update alignment styles (#5475)
+
+= 1.1 =
+* Fix template markup (#5383)
+* Adjust about page pattern. (#5382)
+* [Stewart] Add block patterns (#5375)
+* [Stewart] Readme Cleanup (#5381)
+
+= 1.4 =
+* Update screenshots from wpcom (#5357)
+
+= 1.3 =
+* Rename template parts. (#5319)
+
+= 1.2 =
+* [Stewart] Add alignment rules (#5318)
+
+= 1.1 =
+* Stewart: Tidy up navigation (#5265)
+
 = 1.0 =
 = 1.0 =
 * Released: January 22, 2022
 * Released: January 22, 2022
 
 

+ 58 - 5
theme-utils.mjs

@@ -31,6 +31,8 @@ const coreThemes = ['twentyten', 'twentyeleven', 'twentytwelve', 'twentythirteen
 		case "push-core-themes": return pushCoreThemes();
 		case "push-core-themes": return pushCoreThemes();
 		case "sync-core-theme": return syncCoreTheme(args?.[1], args?.[2]);
 		case "sync-core-theme": return syncCoreTheme(args?.[1], args?.[2]);
 		case "deploy-sync-core-theme": return deploySyncCoreTheme(args?.[1], args?.[2]);
 		case "deploy-sync-core-theme": return deploySyncCoreTheme(args?.[1], args?.[2]);
+		case "update-theme-changelog": return updateThemeChangelog(args?.[1], false, args?.[2]);
+		case "rebuild-theme-changelog": return rebuildThemeChangelog(args?.[1], args?.[2]);
 	}
 	}
 	return showHelp();
 	return showHelp();
 })();
 })();
@@ -45,18 +47,24 @@ function showHelp(){
  Optionally pass in a deployed hash or default to calling getLastDeployedHash()
  Optionally pass in a deployed hash or default to calling getLastDeployedHash()
  Optionally pass in boolean bulletPoints to add bullet points to each commit log
  Optionally pass in boolean bulletPoints to add bullet points to each commit log
 */
 */
-async function getCommitLogs(hash, bulletPoints) {
+async function getCommitLogs(hash, bulletPoints, theme) {
 	if (!hash) {
 	if (!hash) {
 		hash = await getLastDeployedHash();
 		hash = await getLastDeployedHash();
 	}
 	}
 
 
-	let logs = await executeCommand(`git log --reverse --pretty=format:%s ${hash}..HEAD`);
+	let format = 'format:%s';
+	let themeDir = '';
 
 
 	if (bulletPoints) {
 	if (bulletPoints) {
-		// Add a '*' to the start of each log (used in changelogs)
-		logs = await executeCommand(`git log --reverse --pretty=format:"* %s" ${hash}..HEAD`);
+		format = 'format:"* %s"';
 	}
 	}
 
 
+	if (theme) {
+		themeDir = `-- ./${theme}`;
+	}
+
+	let logs = await executeCommand(`git log --reverse --pretty=${format} ${hash}..HEAD ${themeDir}`);
+
 	// Remove any double quotes from commit messages
 	// Remove any double quotes from commit messages
 	logs = logs.replace(/"/g, '');
 	logs = logs.replace(/"/g, '');
 
 
@@ -505,6 +513,51 @@ export function getThemeMetadata(styleCss, attribute) {
 	}
 	}
 }
 }
 
 
+/* Rebuild theme changelog from a given starting hash */
+async function rebuildThemeChangelog(theme, since) {
+
+	console.log(`Rebuilding ${theme} changelog since ${since || 'forever'}`);
+
+	if (since) {
+		since = `${since}..HEAD`;
+	} else {
+		since = 'HEAD';
+	}
+
+	let hashes = await executeCommand(`git rev-list ${since} -- ./${theme}`);
+	hashes = hashes.split('\n');
+
+	let logs = '== Changelog ==\n';
+
+	for ( let hash of hashes ) {
+		let log = await executeCommand(`git log -n 1 --pretty=format:"* %s" ${hash}`);
+		if ( log.includes('Version Bump') ) {
+			let previousStyleString = await executeCommand(`git show ${hash}:${theme}/style.css 2>/dev/null`);
+			let version = getThemeMetadata(previousStyleString, 'Version');
+			logs += `\n= ${version} =\n`;
+		} else {
+			// Remove any double quotes from commit messages
+			log = log.replace(/"/g, '');
+			logs += log + '\n';
+		}
+	}
+
+	// Get theme readme.txt
+	let readmeFile = `${theme}/readme.txt`;
+
+	// Update readme.txt
+	fs.readFile(readmeFile, 'utf8', function(err, data) {
+		let changelogSection = '== Changelog ==';
+		let regex = new RegExp('^.*' + changelogSection + '.*$', 'gm');
+		let formattedChangelog = data.replace(regex, logs);
+
+		fs.writeFile(readmeFile, formattedChangelog, 'utf8', function(err) {
+			if (err) return console.log(err);
+		});
+	});
+
+}
+
 /*
 /*
  Update theme changelog using current commit logs.
  Update theme changelog using current commit logs.
  Used by versionBumpThemes to update each theme changelog.
  Used by versionBumpThemes to update each theme changelog.
@@ -517,7 +570,7 @@ async function updateThemeChangelog(theme, addChanges) {
  	let version = getThemeMetadata(styleCss, 'Version');
  	let version = getThemeMetadata(styleCss, 'Version');
 
 
 	// Get list of updates with bullet points
 	// Get list of updates with bullet points
- 	let logs = await getCommitLogs('', true);
+ 	let logs = await getCommitLogs('', true, theme);
 
 
 	// Get theme readme.txt
 	// Get theme readme.txt
 	let readmeFile = `${theme}/readme.txt`;
 	let readmeFile = `${theme}/readme.txt`;

+ 62 - 0
videomaker/readme.txt

@@ -18,6 +18,68 @@ Videomaker is designed to work with the VideoPress plugin, although it will work
 
 
 == Changelog ==
 == Changelog ==
 
 
+= 1.0.16 =
+* multiple themes: update font sizes from px to rem for better a11y (#5801)
+
+= 1.0.15 =
+* Archeo: Load patterns automatically (#5715)
+* Build videomaker variations and version bumpped
+* Videomaker: fixing fonts path (#5711)
+
+= 1.0.13 =
+* Update dependencies (#5476)
+
+= 1.0.12 =
+* Videomaker: use locally-hosted version of Inter instead of Google Fonts (#5442)
+
+= 1.0.11 =
+* Videomaker: Add images from WPCOM (#5395)
+
+= 1.0.10 =
+* Videomaker: Consolidate footer patterns in Videomaker (#5374)
+
+= 1.0.9 =
+* Blockbase: Load Block Patterns for children automatically (#5363)
+
+= 1.0.8 =
+* Blockbase: update dependencies & change node-sass to dart sass (#5290)
+* Font size names update (#5300)
+* Update all dependencies and add update script (#5304)
+
+= 1.0.7 =
+* Reverting the mess caused renaming template folders (#5317)
+* Remove templates improperly nested in a folder due to script error in #5105 (#5314)
+* Refix/5105 script refactor template folders (#5312)
+* Ran script moving template resources
+* Blockbase: refactor footers to patterns (#5245)
+* Blockbase: converted headers to patterns (#5238)
+* Videomaker: Remove the redundant template (#5297)
+
+= 1.0.6 =
+* Update title and names in Videomaker screenshot + patterns (#5164)
+
+= 1.0.5 =
+* Defaulting videomaker header fonts to Inter (#5185)
+
+= 1.0.4 =
+* Fix/videomaker heading spacing (#5178)
+
+= 1.0.3 =
+* Try/consolidate headers (#5145)
+* Videomaker: Add a group to apply layout the header and footer (#5165)
+
+= 1.0.2 =
+* Blockbase: refactor template part blocks (#5129)
+* Blockbase: Add an archive template (#5127)
+* Videomaker: Make the footer wide not full (#5139)
+
+= 1.0.1 =
+* Videomaker: adjusting active states (#5091)
+* Videomaker: Add resource sources (#5098)
+* Videomaker: Update Videomaker navigation (#5059)
+* Videomaker: Fix vertical spacing in and around posts (#5068)
+* Videomaker: Cleanup grid patterns, replace I Love You video (#5090)
+
 = 1.0.0 =
 = 1.0.0 =
 * Initial release
 * Initial release
 
 

+ 102 - 0
zoologist/readme.txt

@@ -12,6 +12,108 @@ Zoologist is a simple blogging theme that supports full-site editing.
 
 
 == Changelog ==
 == Changelog ==
 
 
+= 1.0.29 =
+* multiple themes: update font sizes from px to rem for better a11y (#5801)
+
+= 1.0.28 =
+* Blockbase: Remove list ponyfill (#5586)
+
+= 1.0.27 =
+* Changed source of pagination arrows from CSS to block attributes. (#5532)
+
+= 1.0.26 =
+* Update dependencies (#5476)
+
+= 1.0.25 =
+* Geologist and Zoologist: Add blog-homepage tag' (#5460)
+
+= 1.0.24 =
+* Update screenshots from wpcom (#5357)
+
+= 1.0.23 =
+* Blockbase children: Remove search templates (#5334)
+
+= 1.0.22 =
+* Blockbase: update dependencies & change node-sass to dart sass (#5290)
+* Font size names update (#5300)
+* Update all dependencies and add update script (#5304)
+
+= 1.0.21 =
+* Reverting the mess caused renaming template folders (#5317)
+
+= 1.0.21 =
+* Remove templates improperly nested in a folder due to script error in #5105 (#5314)
+* Refix/5105 script refactor template folders (#5312)
+* Ran script moving template resources
+* Blockbase: refactor footers to patterns (#5245)
+* Blockbase: converted headers to patterns (#5238)
+
+= 1.0.20 =
+* Try/consolidate headers (#5145)
+
+= 1.0.19 =
+* Blockbase: refactor template part blocks (#5129)
+* Blockbase: Add an archive template (#5127)
+
+= 1.0.18 =
+* Move calendar styles to blockbase (#5114)
+* Remove unused search block code (#5116)
+* Blockbase: Move table stripes to Blockbase (#5115)
+
+= 1.0.17 =
+* Blockbase: Simplify the approach to font customization (#4980)
+
+= 1.0.16 =
+* Quadrat: Fix post title spacing (#4720)
+* Update all navigation blocks to new markup (#5038)
+
+= 1.0.15 =
+* Blockbase: Add child CSS if it exists (#5047)
+
+= 1.0.14 =
+* Zoologist: Replace theme screenshot (#5006)
+
+= 1.0.13 =
+* Blockbase: Use new attributes for navigation block (#4832)
+* Zoologist: Add post meta icons to the index (#4973)
+
+= 1.0.12 =
+* Add version and schema to Zoologist and Russell (#5004)
+
+= 1.0.11 =
+* Remove/child theme (#4861)
+
+= 1.0.10 =
+* Revert the header change for Quadrat, Geologist and Zoologist (#4955)
+
+= 1.0.9 =
+* Remove hidden folder and update the stylesheet (#4932)
+* Blockbase: Update the stacking of site title and tagline in Blockbase and co (#4928)
+
+= 1.0.8 =
+* Bump version for zoologist
+
+= 1.0.6 =
+* Blockbase: Add query title (#4878)
+
+= 1.0.5 =
+* Blockbase: Fix form background color contrast (#4824)
+* Blockbase: search block font size (#4865)
+* Blockbase: make post meta icons optional (#4891)
+* Blockbase: Update the query pagination block markup (#4805)
+
+= 1.0.4 =
+* Update style.css (#4874)
+
+= 1.0.3 =
+* cleanup errors on themejson files and rebuild themes (#4857)
+
+= 1.0.2 =
+* Zoologist: Update spacing from wpcom (#4834)
+
+= 1.0.1 =
+* Add: Zoologist and update from Geologist (#4817)
+
 = 1.0.0 =
 = 1.0.0 =
 * Initial release
 * Initial release