Skip to content

Commit

Permalink
Merge dev/craft5 branch and bump version to 3.0.0 3️⃣
Browse files Browse the repository at this point in the history
  • Loading branch information
mmikkel committed Aug 2, 2024
2 parents 82593b3 + f78ea9d commit 7f49503
Show file tree
Hide file tree
Showing 23 changed files with 695 additions and 784 deletions.
178 changes: 9 additions & 169 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,174 +1,14 @@
# SEOMate Changelog

## 2.2.1 - 2024-04-04
### Fixed
- Fixed a bug where SEOMate could attempt to use string values as callables in `additionalMeta`

## 2.2.0 - 2024-01-19
### Added
- Sitemaps now include alternate URLs in `<xhtml:link>` entries, if the `outputAlternate` config setting is `true`. [#79](https://github.com/vaersaagod/seomate/pull/79)
- Sitemaps are now styled using an XSLT stylesheet. [#79](https://github.com/vaersaagod/seomate/pull/79)
- Added a LinkedIn card to the SEO preview

### Improved
- Improved performance when outputting alternate URLs. [#79](https://github.com/vaersaagod/seomate/pull/79)
- The `cacheDuration` config setting now works with PHP duration interval strings.
- Updated and improved the SEO Preview design

### Changed
- Elements without URIs are now explicitly excluded from sitemaps. [#79](https://github.com/vaersaagod/seomate/pull/79)
- Newlines, returns and other control characters in meta text values are now replaced with a literal space. [#80](https://github.com/vaersaagod/seomate/issues/80)
- SEOMate no longer adds closing slashes to meta tags. [#66](https://github.com/vaersaagod/seomate/pull/66)

## 2.1.3 - 2024-01-04
### Fixed
- Fixed an issue that could occur when using native Craft image transforms if an invalid image transform attribute was passed to imageTransformMap.

## 2.1.2 - 2023-06-18
### Fixed
- Fixed a PHP 8.0 compatibility issue

## 2.1.1 - 2023-02-27
### Fixed
- Fixed a template exception that could be thrown when rendering SEO previews

## 2.1.0 - 2023-02-15
### Added
- Custom meta templates and template overrides are now supported in SEO previews (#28)

## 2.0.3 - 2022-06-14
### Fixed
- Fixed an issue that could occur if a non-existing scope was used in field profiles.

## 2.0.2 - 2022-06-08
### Fixed
- Fixed use of `->getAttributes()` on asset model when getting alt text.

## 2.0.1 - 2022-05-10
### Fixed
- Fixed an issue where eager-loaded assets or Matrix sub field values would not be included in element meta.

### Changed
- Deprecated the syntax `'matrixFieldHandle:blockTypeHandle.subFieldHandle'` for using Matrix sub field values in element meta. The syntax `'matrixFieldHandle.blockTypeHandle:subFieldHandle'` should be used instead.

## 2.0.0 - 2022-05-04
### Added
- Added Craft 4 support.

## 1.1.13 - 2022-03-24
### Added
- Added conditionals to output template to be able to override url’s at the template level without overriding canonical url.

## 1.1.12 - 2021-12-06
### Fixed
- Fixed an issue where Categories with URLs would display a double set of Preview/View buttons on their edit pages

## 1.1.11 - 2021-09-01

### Fixed
- Fixed an issue where it was not possible to enable SEO Preview on a per-section basis by setting the `previewEnabled` setting to an array of section handles

## 1.1.10 - 2021-08-09

### Fixed
- Fixed an issue where the SEOMate cache would not respect paginated requests. Fixes #52.
- Fixed an issue where an exception would be thrown if meta images were eager-loaded. Fixes #19.

## 1.1.9 - 2021-03-01

### Changed
- Changed requirement for `spatie/schema-org` to include `^3.0` for PHP versions above 7.3.

## 1.1.8 - 2021-02-16

### Fixed
- Fixes an issue where an exception would be thrown if Craft was unable to transform the meta image (for example if the file did not exist). Fixes #48

## 1.1.7 - 2020-09-16

### Fixed
- Fixes an issue that prevented SEOMate from outputting alternate urls.

## 1.1.6 - 2020-09-15

### Fixed
- Fixes issues that would occur if SEOMate was used on a site that was disabled.

## 1.1.5 - 2020-08-21

### Added
- Added self-referential hreflang as alternate (fixes #43).
- Added support for twig in sitename config setting (fixes #21).

### Fixed
- Fixed an issue where alternate urls for disabled elements were output (fixes #41).
- Fixed an issue where SEOMate could neglect to include pagination info in canonical URLs (fixes #44).

## 1.1.4 - 2020-04-12

### Fixed
- Fixed an issue with encoding of meta attributes. Fixes #39.

## 1.1.3 - 2020-03-02

### Fixed
- Fixed a caching issue with native image transforms and `generateTransformsBeforePageLoad`. Fixes #35.

## 1.1.2 - 2020-02-17
### Added
- Added `craft.seomate.getMeta()` template variable that returns meta data based on the current page. Takes an seomate config object for additional configuration. Fixes #31.
- Added support for Imager X.

### Fixed
- Fixed an issue where seomate would throw an exception if a value in `defaultMeta` did not exist in the context. Fixes #24.

## 1.1.1 - 2019-09-21
### Fixed
- Fixes indentation and whitespace issues in default meta template. Fixes #22.
- The "SEO Preview" Preview Target is no longer available when editing entries without URLs

## 1.1.0 - 2019-08-10
## 3.0.0 - 2024-08-02
### Added
- Added new `previewLabel` config setting
- Added SEO Preview as a Preview Target for Craft 3.2+. Fixes #16.

## 1.0.7 - 2019-07-04
### Added
- Added support for configuring custom sitemaps urls and additional sitemap urls on a per site basis.
- Added support for adding additional sitemaps, generated outside of SEOMate, to the main sitemap index (Thanks @jrm98).

## 1.0.6 - 2019-07-04
### Fixed
- Fixes an issue where the "Close SEO Preview" button label could be applied to buttons inside the field panel in SEO Preview (fixes #13)

## 1.0.5 - 2019-07-03
### Added
- Added SEO Preview for Craft Commerce Products

- Added support for [object templates](https://craftcms.com/docs/5.x/system/object-templates.html) and PHP closures in default meta and field profile definitions.
- Added the ability to create field profiles specific to a particular section, entry type, category group or Commerce product type ([#86](https://github.com/vaersaagod/seomate/pull/86))
- Added the ability to be specific in the `previewEnabled` setting about which sections, entry types, category groups and/or Commerce product types should be SEO-previewable
- Added support for custom meta templates and template overrides in SEO Preview to categories, nested entries and Commerce products, in addition to regular ol' section entries
- Added support for PHP closures returning `true` or `false` for the `outputAlternate` config setting
### Changed
- Changed the behaviour of the output meta template, empty tags are no longer being rendered.

### Fixed
- Fixes an issue where elements without urls in some sites would create an error when getting alternate url (fixes #10)
- Fixes an issue where the "SEO Preview" button was missing for Entries in Craft 3.2.x (fixes #12)

## 1.0.4 - 2019-07-01
### Fixed
- Fixes an issue where SEO Preview settings could override native Live Preview settings (fixes #7).

## 1.0.3 - 2019-06-30
### Added
- Added support for using matrix field syntax in `defaultMeta` (fixes #9).

## 1.0.2 - 2019-05-19
- Bumped the `craftcms/cms` requirement to `^5.0.0`
- Removed support for the "SEO Preview" for elements using legacy live preview
### Fixed
- Fixed missing multi-byte handling of maxLength enforcement (Thanks @rungta).
- Fixed namespace for PreviewAsset class (Thanks @Mosnar).

## 1.0.1 - 2019-04-30
### Changed
- Changed order of when additional meta is added to make it overrideable from templates (Fixes #2).

## 1.0.0 - 2019-04-26
### Added
- Initial public release
- Fixed several cases where SEOMate could attempt to use string values as callables
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2019 Værsågod
Copyright (c) 2024 Værsågod

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
Loading

0 comments on commit 7f49503

Please sign in to comment.