Releases: hydephp/develop
v1.7.0 - 2024-07-05
1.7.0 - 2024-07-05
Added
- Added support for using HTML comments to create Markdown code block filepath labels in #1693
- Added a config option to disable the theme toggle buttons to automatically use browser settings in #1697
- You can now specify which path to open when using the
--open
option in the serve command in #1694 - Added a
--format=json
option to theroute:list
command in #1724
Changed
- When a navigation group is set in front matter, it will now be used regardless of the subdirectory configuration in #1703 (fixes #1515)
- Use late static bindings to support overriding data collections file finding in #1717 (fixes #1716)
- Method
Hyde::hasSiteUrl()
now returns false if the site URL is for localhost in #1726 - Method
Hyde::url()
will now return a relative URL instead of throwing an exception when supplied a path even if the site URL is not set in #1726 - Updated the
.env.example
file to contain more details on the site URL setting's usages in #1746 - Added a version prefix to the sitemap's generator attribute in #1767
- Setting a site name in the Yaml config file will now influence all configuration values where this is used, unless already set, in #1770 and #1773
Deprecated
- Deprecated the global
unslash()
function, replaced with the existing namespaced\Hyde\unslash()
function in #1753 - Deprecated the
BaseUrlNotSetException
class in #1759
Removed
- The Git version is no longer displayed in the debug screen and dashboard in #1756
Fixed
- Fixed explicitly set front matter navigation group behavior being dependent on subdirectory configuration, fixing #1515 in #1703
- Fixed DataCollections file finding method not being able to be overridden #1716 in #1717
- Fixed PHP warning when trying to parse a Markdown file with just front matter without body #1705 in #1728
- Fixed #1748 by normalizing generator version prefixes in #1767
- Yaml data files no longer need to start with triple dashes to be parsed by DataCollections in #1733
- Updated the Hyde URL helper to not modify already qualified URLs in #1757
Extra information
This release contains changes to how HydePHP behaves when a site URL is not set by the user.
These changes are made to reduce the chance of the default localhost
value showing up in production environments.
Most notably, HydePHP now considers that default site URL localhost
to mean that a site URL is not set, as the user has not set it.
This means that things like automatic canonical URLs will not be added, as Hyde won't know how to make them without a site URL.
The previous behaviour was that Hyde used localhost
in canonical URLs, which is never useful in production environments.
For this reason, we felt it worth it to make this change in a minor release, as it has a such large benefit for sites.
You can read more about the details and design decisions of this change in the following pull request #1726.
What's Changed in the Monorepo
What's Changed
- Internal: Update Dependabot configuration to update GitHub Actions by @caendesilva in #1669
- Internal: Update workflows to better handle running in forks by @caendesilva in #1675
- Bump codecov/codecov-action from 3 to 4 by @dependabot in #1670
- Bump actions/download-artifact from 2 to 4 by @dependabot in #1671
- Bump actions/cache from 3 to 4 by @dependabot in #1672
- Bump actions/checkout from 2 to 4 by @dependabot in #1673
- Bump actions/upload-artifact from 1 to 4 by @dependabot in #1674
- Add unit test for naming conventions by @caendesilva in #1676
- Fix command description wording by @caendesilva in #1677
- Move internal helper classes to new internal support namespace by @caendesilva in #1678
- Refactor to massively simplify internal route list helper classes by @caendesilva in #1679
- Bump github/codeql-action from 2 to 3 by @dependabot in #1680
- Bump actions/setup-node from 3 to 4 by @dependabot in #1681
- Internal: Update Dependabot configuration to update NPM packages by @caendesilva in #1682
- Bump postcss from 8.4.31 to 8.4.38 by @dependabot in #1683
- Bump prettier from 2.6.0 to 3.2.5 by @dependabot in #1684
- Bump @tailwindcss/typography from 0.5.2 to 0.5.12 by @dependabot in #1685
- Bump tailwindcss from 3.1.0 to 3.4.3 by @dependabot in #1686
- Bump autoprefixer from 10.4.7 to 10.4.19 by @dependabot in #1687
- Internal: Update Tailwind compiler to force push build by @caendesilva in #1688
- Clean up internal helper code by @caendesilva in #1690
- Add custom filepath label support for HTML comments by @caendesilva in #1693
- Update realtime compiler open flag to support specifying the page to open by @caendesilva in #1694
- Bump @tailwindcss/typography from 0.5.12 to 0.5.13 by @dependabot in #1695
- Internal: Update Tailwind compiler to force push builds to the target branch by @caendesilva in #1696
- Add a config option to disable theme toggle buttons to automatically use browser settings by @caendesilva in #1697
- [1.x] Refactor filesystem helpers by @caendesilva in #1699
- .gitattributes: substitute CRLF only in text files by @ydalton in #1700
- Merge changes from downstream repository by @caendesilva in #1701
- Fix gitattributes normalization across all packages by @caendesilva in #1702
- [1.x] Honour front matter navigation groups set in front matter regardless of subdirectory setting by @caendesilva in #1703
- Internal: Update file testing helpers by @caendesilva in #1708
- Bump prettier from 3.2.5 to 3.3.0 by @dependabot in #1711
- Use late static bindings to support overriding data collections file finding by @caendesilva in #1717
- Bump prettier from 3.3.0 to 3.3.1 by @dependabot in #1713
- Bump tailwindcss from 3.4.3 to 3.4.4 by @dependabot in #1714
- Bump prettier from 3.3.1 to 3.3.2 by @dependabot in #1721
- Bump braces from 3.0.2 to 3.0.3 by @dependabot in #1723
- Bump braces from 3.0.2 to 3.0.3 in /packages/hydefront by @dependabot in #1722
- Add a JSON output format option to the route list command by @caendesilva in #1724
- Clean up and refactor route list command code by @caendesilva in #1725
- Code cleanup and refactors by @caendesilva in #1727
- Fix undefined array key exception for empty Markdown pages by @caendesilva in #1728
- Improve behaviour when a site URL is not explicitly set by @caendesilva in #1726
- Bump ws from 8.8.1 to 8.17.1 by @dependabot in #1729
- [1.x] DataCollections improvements by @caendesilva in #1733
- Internal: Update test fixtures to use "class" instead of "className" by @caendesilva in #1739
- Update site URL documentation to contain more details on its usages by @caendesilva in #1746
- Internal: Extract testing helpers and refactor tests by @caendesilva in #1747
- Internal: Add statistics output for analysed expressions by @caendesilva in #1750
- Minor code ...
v1.6.0 - 2024-04-17
1.6.0 - 2024-04-17
Added
- Added a
@head
stack to thehead.blade.php
component in #1567 - Added a
Hyde::route()
helper to theHyde
facade in #1591 - Added new global helper functions (
asset()
,route()
,url()
) in #1592 - Added a new
Feature
enum to improve theFeatures
facade in #1650 - Added a helper to
->skip()
build tasks in #1656
Changed
- The
features
array in theconfig/hyde.php
configuration file is now an array ofFeature
enums in #1650 - Sitemap generation will now be skipped if a base URL is not set, as Google now will not index sitemaps without a base URL in #1660
- Updated the debug command to print the binary path when running in a standalone Phar in #1667
Deprecated
- Deprecated the static
Features
flag methods used in the configuration files in #1650 which will be removed in HydePHP v2.0
Fixed
- Fixed a bug where the sitemap and RSS feed generator commands did not work when the
_site/
directory was not present in #1654 - Fixed extra newlines being written to console for failing build tasks in #1661
- Markdown formatting will now be stripped when generating an automatic blog post description when none is set in #1662 (fixes #1634)
- Realtime Compiler: Fixed responsive dashboard table issue in #1595
Upgrade Path
In order to prepare your project for HydePHP v2.0, you should update your config/hyde.php
configuration file to use the new Feature
enum for the features
array.
You can see the changes to make in your Hyde project by looking at the following pull request https://github.com/hydephp/hyde/pull/250/files
Your new config array should look like this:
// Make sure to import the new Feature enum at the top of the file
use Hyde\Enums\Feature;
// Then replace your enabled features with the new Feature enum cases
'features' => [
// Page Modules
Feature::HtmlPages,
Feature::MarkdownPosts,
Feature::BladePages,
Feature::MarkdownPages,
Feature::DocumentationPages,
// Frontend Features
Feature::Darkmode,
Feature::DocumentationSearch,
// Integrations
Feature::Torchlight,
],
If you need more help, you can see detailed upgrade instructions with screenshots in the pull request #1650
What's Changed in the Monorepo
What's Changed
- Add a
@head
stack to thehead.blade.php
component by @caendesilva in #1567 - Refactor unit test to replace complex mock with inlined build loop by @caendesilva in #1570
- Remove global function imports from tests by @caendesilva in #1582
- Remove old smooth page scrolling config entry from documentation by @caendesilva in #1585
- Improved view testing by @caendesilva in #1588
- Improve and add more view tests by @caendesilva in #1589
- Add a
Hyde::route()
helper method by @caendesilva in #1591 - Update internal documentation preview workflow by @caendesilva in #1593
- Improved helper functions by @caendesilva in #1592
- Make the dashboard table properly responsive by @caendesilva in #1595
- Improved view testing helper by @caendesilva in #1596
- Add more view tests for the navigation menu by @caendesilva in #1603
- Create additional view test method by @caendesilva in #1604
- Internal: Move testing helper classes to new helpers directory by @caendesilva in #1607
- Internal: Improve testing helpers by @caendesilva in #1608
- Internal: Improve and refactor testing helpers by @caendesilva in #1609
- Update internal monorepo tools by @caendesilva in #1611
- Bump follow-redirects from 1.15.4 to 1.15.6 by @dependabot in #1612
- Internal: Create workflow to label pull requests by @caendesilva in #1615
- Internal: Add example tests by @caendesilva in #1614
- Internal: Update labeling workflow to run on pull request state edits by @caendesilva in #1616
- Internal: Create new HTML testing framework by @caendesilva in #1613
- Internal: Move base testing classes to testing package by @caendesilva in #1617
- Internal: Normalize view testing helpers by @caendesilva in #1618
- Internal: Update code intelligence class parsing to evaluate Alpine classes by @caendesilva in #1619
- Update supported versions in package readmes by @caendesilva in #1620
- Designate HydePHP v1.x as LTS by @caendesilva in #1621
- Internal: Update pull request labeling workflow by @caendesilva in #1623
- Internal: Fix workflow formatting by @caendesilva in #1624
- Internal: Update continuous integration server integration by @caendesilva in #1627
- Internal: Update continuous integration server integrations to better handle forks by @caendesilva in #1629
- Bump webpack-dev-middleware from 5.3.3 to 5.3.4 by @dependabot in #1628
- Bump Composer dependencies by @caendesilva in #1631
- Internal: Update PhpStorm configuration files by @caendesilva in #1633
- Internal: Add testing helper to mock kernel features by @caendesilva in #1641
- Bump express from 4.18.1 to 4.19.2 by @dependabot in #1644
- Internal: Update Pest configuration to use unit test case by @caendesilva in #1648
- Introduce a new Feature enum to improve the Features facade by @caendesilva in #1650
- Internal: Improve test suite by @caendesilva in #1653
- Improve the codebase using the new Feature enum by @caendesilva in #1652
- Fix issues with the sitemap and RSS feed generator commands by @caendesilva in #1654
- Internal: Add build task unit test by @caendesilva in #1658
- Add a skip feature to build tasks by @caendesilva in #1656
- Fix extra newline being written for failing build tasks by @caendesilva in #1661
- Skip sitemap generation when there is no valid base URL by @caendesilva in #1660
- Internal: Clean up test code by @caendesilva in #1655
- Internal: Try to fix Codecov by @caendesilva in #1657
- Clean up HTML and Blade files by @caendesilva in #1610
- Strip Markdown from automatic blog post descriptions by @caendesilva in #1662
- Internal: Setup Pest type coverage plugin for the monorepo by @caendesilva in #1664
- Clean up and refactor code by @caendesilva in #1663
- Update debug command to print binary path when running in the Phar standalone by @caendesilva in #1667
- HydePHP v1.6.0 - 2024-04-17 by @caendesilva in #1668
Full Changelog: v1.5.0...v1.6.0
v1.5.0 - 2024-02-13
1.5.0 - 2024-02-13
Improved Patch Release Strategy
This release experiments some changes into how releases are handled to clarify the patch versioning of distributed packages compared to the monorepo source versioning.
In short: We are now experimenting with rolling patch releases, where patches are released as soon as they're ready, leading to faster rollout of bugfixes.
This means that the patch version discrepancy between the monorepo and the distributed packages will be increased, but hopefully the end results will still be clearer,
thanks to the second related change: Prefixing the subpackage changes in this changelog with the package name. If there is no prefix, the change applies to the core package or the monorepo.
All this to say, please keep in mind that when the monorepo gets a new minor version, the prefixed changes may already have been released as patches in their respective packages.
Added
- Added the existing
media_extensions
option to thehyde
configuration file in #1531 - Added configuration options to add custom HTML to the
<head>
and<script>
sections in #1542 - Added support for adding custom HTML to the
<head>
and<script>
sections using HTML includes in #1554 - Added an
html
helper to theIncludes
facade in #1552
Changed
- Renamed local template variable
$document
to$article
to better match the usage in #1506 - Updated semantic documentation article component to support existing variables in #1506
- Updated the Markdown to plain text converter to trim whitespace in #1561
- HydeFront: Changed
<code>
styling to display as inline instead of inline-block in #1525 - Realtime Compiler: Add strict type declarations in #1555
- Bumped Realtime Compiler version to v3.3 in #1562
- Internal: Renamed snake case test methods to camel case in #1556
Deprecated
- Deprecated the
BuildService::transferMediaAssets()
method in #1533, as it will be moved into a build task in v2.0.
Fixed
- Fixed icons not being considered as images by dashboard viewer in #1512
- HydeFront: Fixed bug where heading permalink buttons were included in text represented output in #1519
- HydeFront: Fix visual overflow bug in inline code blocks within blockquotes hydephp/hydefront#65 in #1525
- Realtime Compiler: Fixes visual dashboard bugs hydephp/realtime-compiler#23 and hydephp/realtime-compiler#24 in #1528
What's Changed in the Monorepo
- Improve support for running HydePHP through the Phar archive by @caendesilva in #1491
- Shorten path printed to console when using the dashboard to create a page by @caendesilva in #1492
- Fix wrong section title in dashboard by @caendesilva in #1493
- Add info banners when dashboard content is empty by @caendesilva in #1494
- Framework version v1.4.1 by @caendesilva in #1495
- Format and normalize files by @caendesilva in #1501
- Clean up and normalize class description comments by @caendesilva in #1502
- Normalize console command descriptions by @caendesilva in #1503
- Framework version v1.4.2 by @caendesilva in #1505
- Improve the semantic documentation article Blade view by @caendesilva in #1506
- Bump follow-redirects from 1.15.1 to 1.15.4 by @dependabot in #1510
- Apply fixes from StyleCI by @caendesilva in #1511
- Fix icons not being considered as images by dashboard viewer by @caendesilva in #1512
- Update documentation introduction by @caendesilva in #1513
- Update the Hyde UI Kit resources for initial release by @caendesilva in #1518
- Make heading permalink hashes hidden when not hovered by @caendesilva in #1519
- Update UI kit documentation by @caendesilva in #1520
- Document links to the new first party extensions by @caendesilva in #1521
- Compile HydeFront assets for production by @caendesilva in #1522
- Remove inline block display from inline code elements by @caendesilva in #1525
- Compile HydeFront assets for production by @caendesilva in #1526
- Bump HydeFront version by @caendesilva in #1527
- Add UI Kit documentation by @caendesilva in #1524
- Visual dashboard bugfixes by @caendesilva in #1528
- Framework version v1.4.3 by @caendesilva in #1529
- Update version compatibility documentation by @caendesilva in #1530
- Add media extensions option to default config by @caendesilva in #1531
- Document advanced configuration options by @caendesilva in #1532
- Clean up documentation by @caendesilva in #1537
- Deprecate
BuildService::transferMediaAssets()
by @caendesilva in #1533 - Add dedicated navigation documentation page by @caendesilva in #1540
- Internal: Update monorepo documentation previews to use the new server by @caendesilva in #1543
- Minor documentation and workflow cleanups by @caendesilva in #1544
- Compile TailwindCSS for production by @caendesilva in #1547
- HydeFront v3.3.4 by @caendesilva in #1548
- Add internal documentation intelligence tools by @caendesilva in #1545
- Documentation improvements by @caendesilva in #1546
- Add configuration options to add HTML to the head and scripts sections by @caendesilva in #1542
- Document support features by @caendesilva in #1549
- Document stock includes by @caendesilva in #1550
- Update includes facade to use trait instead of repeated logic by @caendesilva in #1551
- Add a new
Includes::html()
helper by @caendesilva in #1552 - Simplify the includes facade documentation by @caendesilva in #1553
- Support using HTML includes to set head and script HTML by @caendesilva in #1554
- Clean up code by @caendesilva in #1555
- Rename snake case test methods to be camel case by @caendesilva in #1556
- Update internal documentation intelligence tools by @caendesilva in #1557
- Normalize documentation heading level formatting by @caendesilva in #1558
- Normalize documentation formatting by @caendesilva in #1559
- Update Markdown to plaintext formatter to trim whitespace by @caendesilva in #1561
- Format and normalize files by @caendesilva in #1560
- Bump Realtime Compiler version to v3.3 by @caendesilva in #1562
- HydePHP v1.5.0 - 2024-02-13 by @caendesilva in #1563
Full Changelog: v1.4.0...v1.5.0
v1.4.0 - 2023-12-11
1.4.0 - 2023-12-11
Added
- Adds a new fancy output for the realtime compiler serve command in #1444
- Added support for dot notation in the Yaml configuration files in #1478
- Added a config option to customize automatic sidebar navigation group names in #1481
- Added a new
hyde serve --open
option to automatically open the site in the browser in #1483 - Added a new Live Edit feature to the realtime compiler in #1458
Changed
- The
docs.sidebar.footer
config option now accepts a Markdown string to replace the default footer in #1477 - Links in the
sitemap.xml
file are now relative when a site URL is not set, instead of using the default localhost URL in #1479 - Improves the portability of the realtime compiler to better support running through the standalone executable in #1488
- Bumps realtime compiler version to v3.2 in #1489
- Support both route keys and identifiers for specifying sidebar order in #1432
- Updated sitemap generator to use relative links instead of localhost when missing site URL in #1479
Removed
- Removed unhelpful boilerplate from the
hyde/hyde
package.json
in #1436
Fixed
Internal
- Internal: Only inject custom app config location when missing from parent in #1485
- Internal: Remove experimental Phar support from internal configuration loader in #1485
What's Changed in the Monorepo
- Update internal monorepo release command by @caendesilva in #1422
- Update Framework readme contribution section to match the Hyde package by @caendesilva in #1423
- Update internal releaser to use constant as version base for patch releases by @caendesilva in #1424
- Framework version v1.3.2 by @caendesilva in #1425
- Internal: Upgrade Laravel Dusk driver by @caendesilva in #1429
- Unslash documentation page home route name by @caendesilva in #1427
- Migrate PHPUnit configuration by @caendesilva in #1428
- Framework version v1.3.3 by @caendesilva in #1430
- Improve navigation priority discovery to allow sidebars and main navigation to support both list and keyed config syntax by @caendesilva in #1431
- Bump PHP setup action for test runners by @caendesilva in #1433
- Support both route keys and identifiers for specifying sidebar order by @caendesilva in #1432
- Update realtime compiler dashboard to block unsafe requests by @caendesilva in #1434
- Update internal testing scripts by @caendesilva in #1435
- Sync back with downstream repositories by @caendesilva in #1437
- Use dynamic PHP setup action version for test runners by @caendesilva in #1438
- Update monorepo readme to use the develop branch for package test badges by @caendesilva in #1439
- Update internal testing scripts by @caendesilva in #1440
- Create slim package.json by @caendesilva in #1436
- Handle old todo markers in codebase by @caendesilva in #1442
- Implement process output test by @caendesilva in #1445
- Realtime compiler dashboard improvements by @caendesilva in #1443
- Fancy serve command by @caendesilva in #1444
- Add dashboard hook to interact with fancy serve command output by @caendesilva in #1446
- Refactor console output internals by @caendesilva in #1447
- Minor dashboard internals cleanup by @caendesilva in #1448
- Fancy serve command cleanup by @caendesilva in #1449
- Pass through settings to the realtime compiler by @caendesilva in #1450
- Update navigation documentation by @caendesilva in #1451
- Fix command extending wrong base class by @caendesilva in #1453
- Add realtime compiler dashboard CSRF protection by @caendesilva in #1454
- Realtime compiler code cleanup by @caendesilva in #1455
- Update node dependencies and monorepo node package handling by @caendesilva in #1456
- Compile TailwindCSS for production by @caendesilva in #1457
- Refactor internal dashboard header handling by @caendesilva in #1459
- Minor internal realtime compiler code cleanup by @caendesilva in #1460
- Revamp extensions documentation by @caendesilva in #1461
- Change internal realtime compiler console context handling by @caendesilva in #1462
- Legacy realtime compiler beta version reaches end of life 2023-12-31 by @caendesilva in #1463
- Add a live edit feature to the realtime compiler by @caendesilva in #1458
- Document new realtime compiler features by @caendesilva in #1464
- Document the Extensions API by @caendesilva in #1465
- Update live edit feature to protect against overwriting modified content by @caendesilva in #1466
- Split out extensions documentation by @caendesilva in #1468
- Add documentation index page to the sidebar when it's the only page by @caendesilva in #1472
- Merge downstream Framework patch version by @caendesilva in #1473
- Update configuration option for the documentation sidebar footer to allow custom Markdown to be specified by @caendesilva in #1477
- Document issue #1475 by @caendesilva in #1476
- Expand dot notation when merging Yaml configuration by @caendesilva in #1478
- Update sitemap to use relative links instead of localhost when missing site URL by @caendesilva in #1479
- Internal: Upgrade monorepo Codecov action to v3 by @caendesilva in #1480
- Add config option to customize automatic sidebar navigation group names by @caendesilva in #1481
- Internal: Update extensions documentation by @caendesilva in #1482
- Document automatic subdirectory navigation dropdown configuration by @caendesilva in #1484
- Refactor internal configuration loader and remove experimental Phar support by @caendesilva in #1485
- Add option to open site in the browser when starting the realtime compiler by @caendesilva in #1483
- Update readme security section to include advisories link by @caendesilva in #1486
- Improve portability of the realtime compiler by @caendesilva in #1488
- Bump realtime compiler version to v3.2 by @caendesilva in #1489
- HydePHP v1.4.0 - 2023-12-11 by @caendesilva in #1490
Full Changelog: v1.3.0...v1.4.0
v1.3.0 - 2023-10-30
1.3.0 - 2023-10-30
Added
- Added support for setting custom content when calling source file creator actions directly in #1393
- Added support for setting a custom post date when calling post file creator action directly in #1393
- Added optional
FileNotFoundException
constructor parameter to set a custom exception message #1398 - Added a new helper method to the base
Command
class to ask for a string input from the user in #1416 - The realtime compiler dashboard is now interactive, and allows you to make edits to your project right from the browser #1392
Changed
- Realtime Compiler: The
DashboardController
class is now marked as internal, as it is not intended to be used outside of the package #1394 - Updated the realtime compiler server configuration options in #1395 (backwards compatible)
- Updated the realtime compiler to generate the documentation search index each time it's requested in #1405 (fixes #1404)
- Updated the navigation menu generator to remove duplicates after running the sorting method in #1407 (fixes #1406)
- Updated the exception message caused by missing source option for featured images to include the path of the file that caused the error in #1409
- Narrows down parsed
BladeMatter
array types toarray<string, scalar>
(Experimental feature not covered by BC promise) in #1410 - Internal code refactors and improvements in #1410, #1411, and #1413
Fixed
- Catch RealtimeCompiler dashboard OutOfBoundsException in #1384
- Updated dropdown navigation menus to support setting priority in config in #1387 (fixing hydephp/hyde#229)
- Updated the vendor publish command to support parent Laravel Prompts implementation in #1388
- Fixed wrong version constant in #1391
- Fixed improperly formatted exception message in #1399
- Fixed missing support for missing and out of date search indexes when previewing site #1404 in #1405
- Fixed duplicate navigation items not giving precedence to config defined items #1406 in #1407
What's Changed in the Monorepo
- Downgrade Chrome driver to v114 by @caendesilva in #1382
- Update BladeMatter documentation by @caendesilva in #1380
- Bump postcss from 8.4.14 to 8.4.31 by @dependabot in #1381
- Catch RealtimeCompiler dashboard OutOfBoundsException by @caendesilva in #1384
- Make static helper static by @caendesilva in #1385
- Bump @babel/traverse from 7.18.2 to 7.23.2 by @dependabot in #1386
- Update dropdown navigation menus to support setting priority in config by @caendesilva in #1387
- Update Composer dependencies by @caendesilva in #1388
- Update internal release script by @caendesilva in #1389
- Fix wrong version constant by @caendesilva in #1391
- Framework version v1.2.1 by @caendesilva in #1390
- Improve source file creator actions by @caendesilva in #1393
- Mark DashboardController as internal by @caendesilva in #1394
- Interactive realtime compiler dashboard feature by @caendesilva in #1392
- Update realtime compiler dashboard configuration schema by @caendesilva in #1395
- Break down complex model factory helper method by @caendesilva in #1396
- Break down complex command class helper method by @caendesilva in #1397
- Add option for full control over the FileNotFoundException message by @caendesilva in #1398
- Internal: Update test runner statistics server script version by @caendesilva in #1400
- Use a custom exception message when failing to get image size by @caendesilva in #1399
- Bump browserify-sign from 4.2.1 to 4.2.2 by @dependabot in #1401
- Internal: Update testrunner to print error when missing required file by @caendesilva in #1402
- Update realtime compiler to generate search indexes on demand by @caendesilva in #1405
- Update navigation menu generator to remove duplicates after sorting by @caendesilva in #1407
- Remove low priority todo comments by @caendesilva in #1408
- Update the featured image factory to specify the file causing an exception by @caendesilva in #1409
- Improve type coverage by @caendesilva in #1410
- General code quality cleanups by @caendesilva in #1411
- Add runtime configuration option for the
--no-api
build flag by @caendesilva in #1412 - Refactor colored blockquote internals to extract class name from signature by @caendesilva in #1413
- Internal: Remove Psalm baseline from monorepo by @caendesilva in #1415
- Additional minor code quality and type improvements by @caendesilva in #1414
- Extract a shared base Command method for asking for a string by @caendesilva in #1416
- Clean up test by @caendesilva in #1417
- Add internal monorepo development tools by @caendesilva in #1418
- Update internal monorepo command by @caendesilva in #1419
- Update internal monorepo command by @caendesilva in #1420
- HydePHP v1.3.0 - 2023-10-30 by @caendesilva in #1421
Full Changelog: v1.2.0...v1.3.0
v1.2.0 - 2023-06-22
Added
- Added Markdown configuration option for the Tailwind prose classes in #1357
- Added
prose-img:inline
to bundled TailwindCSS classes in #1359
Changed
- Internal: Decoupled the monorepo
composer.json
settings in #1361 - Changed HydePage return types to static in #1371
Removed
- Removed the Tailwind safelist from the hyde/hyde package (as it is not required there) in #1362
Fixed
- Fixed two improper method type annotations in the
FrontMatter
class in #1369
What's Changed in the Monorepo
- Add publications feature by @rgasch in #667
- Refactor publications to integrate better with Hyde by @caendesilva in #675
- Fix and refactor make:publicationType command and add tests for it by @caendesilva in #678
- Add schema properties as class properties for stronger type system by @caendesilva in #679
- Add publication fields class by @caendesilva in #681
- Add tests for and clean up MakePublicationCommand and related action by @caendesilva in #680
- Refactor PublicationFieldType class by @caendesilva in #682
- Extract service helper to base command class by @caendesilva in #686
- Replace validation placeholders by @caendesilva in #687
- Refactor create actions to reduce overlapping code and create a more consistent internal API by @caendesilva in #689
- Refactor publication commands and create actions by @caendesilva in #688
- Refactor publication service and add tests for it by @caendesilva in #694
- Committing code to 'tag' field type. by @rgasch in #716
- Add a DynamicPage interface to denote pages without a source file by @caendesilva in #722
- Extract action for publications compiling by @caendesilva in #726
- Refactor and add tests for MakePublicationTagCommand by @caendesilva in #727
- Add default values to the publication type class constructor by @caendesilva in #729
- Implement support for proper translation by @caendesilva in #731
- Refactor the make publication command and add more tests for it by @caendesilva in #730
- Extract class for pagination settings by @caendesilva in #732
- Create enum for publication types by @caendesilva in #733
- Cherry pick changes from rgasch:publications-feature by @caendesilva in #734
- Refactor the translation service provider structure by @caendesilva in #735
- Integrate publication validation by @caendesilva in #736
- Refactor the publication page compiler by @caendesilva in #757
- Support meta fields as canonical publication fields by @caendesilva in #764
- Refactor the publication file creator by @caendesilva in #760
- Simplify the PublicationFieldType class by @caendesilva in #766
- Add tests for and refactor publication field type validation rules by @caendesilva in #765
- Remove range values from publications to reduce complexity by @caendesilva in #767
- Simplify the PublicationField class by @caendesilva in #769
- Refactor default to publication field type validation rules and allow arbitrary ones to be added by @caendesilva in #768
- Integrate publications seeder by @caendesilva in #737
- Simplify publication tag handling by @caendesilva in #770
- Cleanup publication internals by @caendesilva in #771
- Refactor the make:publicationType command class by @caendesilva in #773
- Refactor CreatesNewPublicationPage action to use the existing YAML converter by @caendesilva in #775
- Refactor the make:publication command class by @caendesilva in #774
- Generate list and detail pages when creating publication types by @caendesilva in #776
- Remove directoryName prefix from default generated publication templates by @caendesilva in #777
- Refactor view finder for publication templates to check file extensions instead of if view exists by @caendesilva in #778
- Properly implement reloadable choice helper for the validating command class by @caendesilva in #782
- Update the make:publication command by @caendesilva in #786
- Add type casts to normalize saved front matter publication data by @caendesilva in #788
- Add object oriented types for publication field values by @caendesilva in #789
- Refactor the make:publication command to use the new field value objects by @caendesilva in #790
- Create custom validation rule for booleans by @caendesilva in #791
- Refactor publication field classes to reduce complexity by @caendesilva in #792
- Refactor publication page creation internals by @caendesilva in #793
- Refactor canonicable publication field internals by @caendesilva in #794
- Refactor publication field internal class structure by @caendesilva in #795
- Merge publication field classes into a single class and service by @caendesilva in #799
- Refactor publication validation helpers to single class by @caendesilva in #800
- Create object representation for the tags.json file. by @caendesilva in #802
- Add back the tagGroup option for publication tag fields by @caendesilva in #804
- Refactor generated publication views by @caendesilva in #807
- Refactor publication list page to extend virtual page by @caendesilva in #813
- Add pagination feature to publications by @caendesilva in #814
- Improve publication feature testing by @caendesilva in #815
- Refactor publication field definition name normalization by @caendesilva in #817
- Refactor publication types to simplify the code and integrate publication pagination settings by @caendesilva in #816
- Inline the publication settings class into the publication type class by @caendesilva in #818
- Extract publications package by @caendesilva in #826
- Decouple publications package by @caendesilva in #827
- Streamline publication type creation and pagination internals by @caendesilva in #830
- Clean up PublicationFieldTypes enum by @caendesilva in #833
- Inject custom boolean rule dynamically by @caendesilva in #834
- Replace custom boolean validation rule with input normalizing by @caendesilva in #835
- Refactor the publications validation command by @caendesilva in #836
- Change publication tags to use Yaml instead of Json by @caendesilva in #837
- Show publication list pages in navigation by @caendesilva in #839
- Set default value of add another field question to yes in make:publicationType command by @caendesilva in #840
- Add a publication type validation command and helpers by @caendesilva in #841
- Refactor publication type validation by @caendesilva in #842
- Refactor publication page validation by @caendesilva in #843
- Refactor the validating command class to reduce repeated code by @caendesilva in #888
- Merge validating command features into base command by @caendesilva in #891
- Change input string handler termination sequence to
<<<
by @caendesilva in #936 - Allow input stream...
v1.1.0 - 2023-03-22
About
This release is the first since the official release of HydePHP 1.0.0. It contains a number of bug fixes and improvements, but no breaking changes as the project has reached general availability and adheres to the semantic versioning backwards compatibility promise.
What's Changed
- Check for config flags in server globals when loading the configuration by @caendesilva in #1302
- Bump Setup PHP action by @caendesilva in #1304
- Update discovery exception message to include the causing exception message by @caendesilva in #1305
- Update unit tests by @caendesilva in #1303
- Update test matrix to explicitly set the Zip extension for PHP setup by @caendesilva in #1307
- Internal: Update HydeStan monorepo analyser script by @caendesilva in #1308
- Add missing function imports by @caendesilva in #1309
- Refactor to use the View facade instead of view function by @caendesilva in #1310
- Update readme badges to lead to something by @caendesilva in #1311
- Clean up page data factories by @caendesilva in #1312
- Improve type and IDE support by @caendesilva in #1306
- Update article excerpt component to use route helper method instead of legacy link formatter by @caendesilva in #1317
- Fix nested index pages not showing in navigation by @caendesilva in #1319
- Update FeaturedImage class to only make API calls when not disabled by @caendesilva in #1321
- Fix wrong HydeFront version constant by @caendesilva in #1323
- Add "whitespace-nowrap" class to dropdown list item and align it right by @caendesilva in #1325
- Update AssetService::injectTailwindConfig method to handle missing config file gracefully by @caendesilva in #1327
- Compile TailwindCSS for production by @caendesilva in #1328
- Update HydeFront to v3.3 by @caendesilva in #1329
- Close dropdown when clicking outside it or when pressing escape by @caendesilva in #1331
- Add x-cloak to dropdown element to fix page load flickering by @caendesilva in #1332
- Create test class with fixed data to prevent false test failures by @caendesilva in #1333
- Add RealtimeCompiler option to not store rendered pages to disk by @caendesilva in #1334
- Add unit tests for all serialized page types by @caendesilva in #1336
- Skip unit test when not running in the monorepo by @caendesilva in #1339
- Add test for the documentation page compiler module by @caendesilva in #1338
- Improve and add more unit tests for the sidebar table of contents generator by @caendesilva in #1342
- Add more unit tests for the table of contents generator by @caendesilva in #1344
- Refactor the GeneratesTableOfContents internals to be more accurate by @caendesilva in #1343
- Trim leading slashes from the documentation search index load URL by @caendesilva in #1345
- HydePHP v1.1.0 - 2023-03-22 by @caendesilva in #1346
Full Changelog: v1.0.0...v1.1.0
v1.0.0-RC.8 - 2023-03-14
What's Changed
- Update Psalm baseline by @caendesilva in #1283
- Code quality improvements by @caendesilva in #1284
- Update ReadingTime to round up to one minute by @caendesilva in #1285
- Remove test class references from main codebase by @caendesilva in #1287
- Apply fixes from StyleCI by @caendesilva in #1289
- Use "HydePHP" as the application logo when running without ANSI formatting by @caendesilva in #1288
- Update console logo colours by @caendesilva in #1290
- HydePHP v1.0.0 - Release Candidate Eight by @caendesilva in #1291
Full Changelog: v1.0.0-RC.7...v1.0.0-RC.8
v1.0.0-RC.7 - 2023-03-14
What's Changed
- Update 404 page home link to use the index route instead of the site URL by @caendesilva in #1278
- Improve generic type usage by @caendesilva in #1279
- Add generics to the Hyde facade method annotations by @caendesilva in #1280
- Bump HydeFront to v3.1 by @caendesilva in #1281
- HydePHP v1.0.0 - Release Candidate Seven by @caendesilva in #1282
Full Changelog: v1.0.0-RC.6...v1.0.0-RC.7
v1.0.0-RC.6 - 2023-03-14
What's Changed
- Bump monorepo Composer dependencies by @caendesilva in #1273
- Remove IDE helpers for removed global variables from the IDE helper file by @caendesilva in #1274
- Remove default values from Hyde facade method annotations by @caendesilva in #1275
- Prefix version for default meta generator value by @caendesilva in #1272
- Internal: Update monorepo release script by @caendesilva in #1276
- HydePHP v1.0.0 - Release Candidate Six by @caendesilva in #1277
Full Changelog: v1.0.0-RC.5...v1.0.0-RC.6