Skip to content

Releases: hydephp/framework

v0.27.1-beta - Remove unused annotation from config

18 May 17:15
5297057
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.27.0-beta...v0.27.1-beta

v0.27.0-beta - Adds sitemap generation

18 May 17:14
Compare
Choose a tag to compare

New Features

Adds sitemap.xml generation

When a site_url is set, (and the feature is not disabled in the config), a sitemap.xml will automatically be generated during the static site building process.

Changes

  • ext-simplexml has been added as a requirement to composer.json
  • The order of page builders have been changed, so that Blade and Markdown pages are compiled first.
    This allows you to browse the most common parts of the site (like the index page) while the other
    pages are being generated.
  • Merge "Site URL Configuration" options. Please republish your configs.

What's Changed

Full Changelog: v0.26.0-beta...v0.27.0-beta

v0.26.0-beta - "The Meta Update"

18 May 13:29
ad7ad3c
Compare
Choose a tag to compare

About

This release improves how metadata is generated and handled. It contains breaking changes.

Upgrading

Please note that this update contains breaking changes in the config file and blade templates.

To update, you will need to update the config/hyde.php file, as well as any Blade templates you may have published.

What's Changed

Please see the following pull requests for more detailed information about each.

New Features

New fluent helper for defining global metadata and open graph properties in config

'meta' => [
  Meta::name('foo', 'bar'),
  Meta::property('foo', 'bar'),
]

Quickly customize the navigation menu logo

You can now customize the following component to update the navigation menu logo/brand without affecting the navigation menu as a whole: @include('hyde::components.navigation.navigation-brand')

<a aria-label="Home page link" href="{{ $homeRoute }}" class="font-bold px-4">
    {{ config('hyde.name', 'HydePHP') }}
</a>

Canonical meta/link tags are automatically added when a site base URL is set

<link rel="canonical" href="https://example.org/posts/my-new-blog-post.html" />

API Changes

This list may not be exhaustive, but serves to give a quick overview of internal changes

The Metadata model has been removed, it's features is merged into the Meta helper class.

Some helpers have been moved into the Helper namespace. Like most changes in this release, Blade views and config files need to be updated.

Here is a table over the changes

Old FQCN New FQCN
Hyde\Framework\Features Hyde\Framework\Helpers\Features
Hyde\Framework\Markdown Hyde\Framework\Helpers\Markdown
Hyde\Framework\Meta Hyde\Framework\Helpers\Meta

Full Changelog: v0.25.0-beta...v0.26.0-beta

v0.25.0-beta - Configuration and autodiscovery improvements

17 May 10:26
Compare
Choose a tag to compare

New features:

  • Allow the source directories to be changed (experimental)
  • Allow the output directory to be changed (experimental)
  • You can now enable "pretty URLs" where links can be generated without the .html extension. See #354

API features:

  • Allow the project root to be changed at runtime (experimental/internal (Buddy/HydeRC compat))
  • Allow the creation of default directories to be disabled (useful when including the framework package in non-Hyde installations (like Buddy))

Changes:

  • Offsets config defined sidebar reordering priorities, see #348

API Changes:

  • Rename BuildService to DiscoveryService, see #347

What's Changed

The majority of changes were implemented through #340

Full Changelog: v0.24.0-beta...v0.25.0-beta

v0.24.0-beta - Add sidebar categories to group documentation pages

11 May 17:08
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.23.5-beta...v0.24.0-beta

v0.23.5-beta - Update config and docs layout, frontend tweaks, bugfixes

11 May 11:28
7740b57
Compare
Choose a tag to compare

What's Changed

  • Fix #153, bug where config option uses app name instead of Hyde name. by @caendesilva in #320
  • Change max prose width of markdown pages to match blog posts, fix #303 by @caendesilva in #321
  • Add back skip to content button to Lagrafo docs layout, fix #300 by @caendesilva in #322
  • Add option to mark site as installed to hide the installer command, fix #289 in 9a6d994

Full Changelog: v0.23.4-beta...v0.23.5-beta

v0.23.4-beta - Bugfixes, a11y improvement, Blade component refactor

11 May 10:45
05b6b9b
Compare
Choose a tag to compare

What's Changed

  • Fix #314, add background color fallback to documentation page body by @caendesilva in #315
  • Formatting: Add newline after console output when running build without API calls, fix #313 by @caendesilva in #316
  • Refactor post excerpt component to be less reliant on directly using front matter and add view test by @caendesilva in #318

Full Changelog: v0.23.3-beta...v0.23.4-beta

v0.23.3-beta - Hide documentation pages using front matter

10 May 19:58
dcdac99
Compare
Choose a tag to compare

What's Changed

  • Fix #310, allow documentation pages to be hidden from sidebar using front matter by @caendesilva in #311

Adding the following to a documentation page will prevent it from showing up in the sidebar, it will however still be compiled.

---
hidden: true
---

Full Changelog: v0.23.2-beta...v0.23.3-beta

v0.23.2-beta - Update documentation sidebar internals

07 May 12:25
Compare
Choose a tag to compare

What's Changed

  • Refactor documentation sidebar internals by @caendesilva in #299
  • Remove old documentation page layouts

Full Changelog: v0.23.1-beta...v0.24.0-beta

v0.23.1-beta - Update tests

06 May 19:35
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.23.0-beta...v0.23.1-beta