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