From e6259f598019ab44f12c0e15d4b465d00b4d39cb Mon Sep 17 00:00:00 2001 From: Pedro Borges Date: Sat, 7 Jul 2018 15:21:26 -0300 Subject: [PATCH] Release v0.0.2 --- changelog.md | 26 ++++++++++++++++++++++++++ readme.md | 2 +- src/MetaTags.php | 2 +- 3 files changed, 28 insertions(+), 2 deletions(-) diff --git a/changelog.md b/changelog.md index 361fbc1..ee51963 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,31 @@ # Change Log All notable changes to this project will be documented in this file. +## [0.0.2] - 2018-07-07 +### Added +- Support for JSON-LD schema: + + ```php + $tags = new MetaTags; + $tags->jsonld([ + '@context' => 'http://schema.org', + '@type': 'Person', + 'name': 'Pedro Borges' + ]); + ``` + +- Support for rendering one tag or a specific group of tags: + + ```php + render('json-ld') ?> + + // or pass an array + + render(['og', 'twitter']) ?> + ``` + +### Fixed +- Tags with empty value being rendered with invalid markup. + ## [0.0.1] - 2017-02-28 ### Initial release diff --git a/readme.md b/readme.md index faf7526..6d48025 100644 --- a/readme.md +++ b/readme.md @@ -101,4 +101,4 @@ All notable changes to this project will be documented at: +Copyright © 2018 Pedro Borges diff --git a/src/MetaTags.php b/src/MetaTags.php index 729b9d6..605e9d3 100644 --- a/src/MetaTags.php +++ b/src/MetaTags.php @@ -5,7 +5,7 @@ /** * PHP Meta Tags * - * @version 0.0.1 + * @version 0.0.2 * @author Pedro Borges * @copyright Pedro Borges * @link https://github.com/pedroborges/meta-tags