PrestaSitemapBundle

A symfony bundle that provides tools to build a rich application sitemap. The main goals are : simple, no databases, various namespace (eg. google image), respect constraints etc.

MIT License

Downloads
6.9M
Stars
355
Committers
52

Bot releases are hidden (Show)

PrestaSitemapBundle - v4.1.1 Latest Release

Published by yann-eugone 7 months ago

PrestaSitemapBundle - v4.1.0

Published by yann-eugone 8 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/prestaconcept/PrestaSitemapBundle/compare/v4.0.0...v4.1.0

PrestaSitemapBundle - v4.0.0

Published by yann-eugone 9 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/prestaconcept/PrestaSitemapBundle/compare/v3.3.1...v4.0.0

PrestaSitemapBundle - v3.3.1

Published by yann-eugone over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/prestaconcept/PrestaSitemapBundle/compare/v3.3.0...v3.3.1

PrestaSitemapBundle - v3.3.0

Published by yann-eugone over 2 years ago

What's Changed

Deprecated

  • Presta\SitemapBundle\Event\SitemapAddUrlEvent::NAME : use Presta\SitemapBundle\Event\SitemapAddUrlEvent::class instead
  • Presta\SitemapBundle\Event\SitemapPopulateEvent::NAME : use Presta\SitemapBundle\Event\SitemapPopulateEvent::class instead

Full Changelog: https://github.com/prestaconcept/PrestaSitemapBundle/compare/v3.2.1...v3.3.0

PrestaSitemapBundle - v3.2.1

Published by yann-eugone almost 3 years ago

PrestaSitemapBundle - v3.2.0

Published by yann-eugone almost 3 years ago

PrestaSitemapBundle - v3.1.0

Published by yann-eugone almost 3 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/prestaconcept/PrestaSitemapBundle/compare/v3.0.0...v3.1.0

PrestaSitemapBundle - v3.0.0

Published by yann-eugone over 3 years ago

Changelog (v2.5.0...v3.0.0)

⚠️ BC Breaks ⚠️

  • Updated Bundle structure according to new best practices (#276 by @yann-eugone)
  • Drop Symfony 3.x support (#275 by @yann-eugone)
  • Removed branch master in favor of version branches (2.x, 3.x, ...) (by @yann-eugone)

Removed

Remove code marked as deprecated as of 2.x (#274 by @yann-eugone) :

  • Caching feature (code + documentation)
  • SitemapController::getTtl method
  • RouteAnnotationEventListener::getOptions method
  • GoogleVideoUrlException class
  • GoogleVideoUrlTagException class
  • Generator::__construct method $cache argument
  • Generator::__construct method $cacheTtl argument
  • Generator::generate method
  • GeneratorInterface::generate method
  • GoogleImage::setLoc method
  • GoogleImage::getLoc method
  • GoogleImage::$loc property access
  • GoogleImage::$geo_location property access
  • GoogleVideo::__construct method "content_loc" option of $parameters argument
  • GoogleVideo::__construct method "player_loc" option of $parameters argument
  • GoogleVideo::__construct method "player_loc_allow_embed" option of $parameters argument
  • GoogleVideo::__construct method "player_loc_autoplay" option of $parameters argument
  • GoogleVideo::__construct method "gallery_loc" option of $parameters argument
  • GoogleVideo::__construct method "gallery_loc_title" option of $parameters argument
  • GoogleVideo::$thumbnail_loc property access
  • GoogleVideo::$content_loc property access
  • GoogleVideo::$player_loc property access
  • GoogleVideo::$player_loc_allow_embed property access
  • GoogleVideo::$player_loc_autoplay property access
  • GoogleVideo::$expiration_date property access
  • GoogleVideo::$view_count property access
  • GoogleVideo::$publication_date property access
  • GoogleVideo::$family_friendly property access
  • GoogleVideo::$restriction_allow property access
  • GoogleVideo::$restriction_deny property access
  • GoogleVideo::$gallery_loc property access
  • GoogleVideo::$gallery_loc_title property access
  • GoogleVideo::$requires_subscription property access
  • GoogleVideo::$uploader_info property access
  • GoogleVideo::$platform_relationship property access
  • GoogleVideo::setThumbnailLoc method
  • GoogleVideo::getThumbnailLoc method
  • GoogleVideo::setContentLoc method
  • GoogleVideo::setPlayerLoc method
  • GoogleVideo::getPlayerLoc method
  • GoogleVideo::setPlayerLocAllowEmbed method
  • GoogleVideo::getPlayerLocAllowEmbed method
  • GoogleVideo::setPlayerLocAutoplay method
  • GoogleVideo::getPlayerLocAutoplay method
  • GoogleVideo::setGalleryLoc method
  • GoogleVideo::setGalleryLocTitle method
  • GoogleVideo::getContentLoc method
  • GoogleVideo::getGalleryLoc method
  • GoogleVideo::getGalleryLocTitle method
  • GoogleVideoUrlDecorator::PLAYER_LOC_ALLOW_EMBED_YES constant
  • GoogleVideoUrlDecorator::PLAYER_LOC_ALLOW_EMBED_NO constant
  • GoogleVideoUrlDecorator::FAMILY_FRIENDLY_YES constant
  • GoogleVideoUrlDecorator::FAMILY_FRIENDLY_NO constant
  • GoogleVideoUrlDecorator::RELATIONSHIP_ALLOW constant
  • GoogleVideoUrlDecorator::RELATIONSHIP_DENY constant
  • GoogleVideoUrlDecorator::PRICE_TYPE_RENT constant
  • GoogleVideoUrlDecorator::PRICE_TYPE_OWN constant
  • GoogleVideoUrlDecorator::PRICE_RESOLUTION_HD constant
  • GoogleVideoUrlDecorator::PRICE_RESOLUTION_SD constant
  • GoogleVideoUrlDecorator::REQUIRES_SUBSCRIPTION_YES constant
  • GoogleVideoUrlDecorator::REQUIRES_SUBSCRIPTION_NO constant
  • GoogleVideoUrlDecorator::PLATFORM_WEB constant
  • GoogleVideoUrlDecorator::PLATFORM_MOBILE constant
  • GoogleVideoUrlDecorator::PLATFORM_TV constant
  • GoogleVideoUrlDecorator::PLATFORM_RELATIONSHIP_ALLOW constant
  • GoogleVideoUrlDecorator::PLATFORM_RELATIONSHIP_DENY constant
  • GoogleVideoUrlDecorator::LIVE_YES constant
  • GoogleVideoUrlDecorator::LIVE_NO constant
  • GoogleVideoUrlDecorator::TAG_ITEMS_LIMIT constant
  • GoogleVideoUrlDecorator::__construct method $thumnail_loc argument
  • GoogleVideoUrlDecorator::__construct method $title argument
  • GoogleVideoUrlDecorator::__construct method $description argument
  • GoogleVideoUrlDecorator::__construct method $parameters argument
  • GoogleVideoUrlDecorator::setThumbnailLoc method
  • GoogleVideoUrlDecorator::getThumbnailLoc method
  • GoogleVideoUrlDecorator::setTitle method
  • GoogleVideoUrlDecorator::setDescription method
  • GoogleVideoUrlDecorator::setContentLoc method
  • GoogleVideoUrlDecorator::setPlayerLoc method
  • GoogleVideoUrlDecorator::getPlayerLoc method
  • GoogleVideoUrlDecorator::setPlayerLocAllowEmbed method
  • GoogleVideoUrlDecorator::getPlayerLocAllowEmbed method
  • GoogleVideoUrlDecorator::setPlayerLocAutoplay method
  • GoogleVideoUrlDecorator::getPlayerLocAutoplay method
  • GoogleVideoUrlDecorator::setDuration method
  • GoogleVideoUrlDecorator::setExpirationDate method
  • GoogleVideoUrlDecorator::setRating method
  • GoogleVideoUrlDecorator::setViewCount method
  • GoogleVideoUrlDecorator::setPublicationDate method
  • GoogleVideoUrlDecorator::setFamilyFriendly method
  • GoogleVideoUrlDecorator::setCategory method
  • GoogleVideoUrlDecorator::setRestrictionAllow method
  • GoogleVideoUrlDecorator::getRestrictionAllow method
  • GoogleVideoUrlDecorator::setRestrictionDeny method
  • GoogleVideoUrlDecorator::getRestrictionDeny method
  • GoogleVideoUrlDecorator::setGalleryLoc method
  • GoogleVideoUrlDecorator::setGalleryLocTitle method
  • GoogleVideoUrlDecorator::setRequiresSubscription method
  • GoogleVideoUrlDecorator::setUploader method
  • GoogleVideoUrlDecorator::setUploaderInfo method
  • GoogleVideoUrlDecorator::setPlatforms method
  • GoogleVideoUrlDecorator::getPlatforms method
  • GoogleVideoUrlDecorator::setPlatformRelationship method
  • GoogleVideoUrlDecorator::getPlatformRelationship method
  • GoogleVideoUrlDecorator::setLive method
  • GoogleVideoUrlDecorator::getTitle method
  • GoogleVideoUrlDecorator::getDescription method
  • GoogleVideoUrlDecorator::getContentLoc method
  • GoogleVideoUrlDecorator::getDuration method
  • GoogleVideoUrlDecorator::getExpirationDate method
  • GoogleVideoUrlDecorator::getRating method
  • GoogleVideoUrlDecorator::getViewCount method
  • GoogleVideoUrlDecorator::getPublicationDate method
  • GoogleVideoUrlDecorator::getFamilyFriendly method
  • GoogleVideoUrlDecorator::getCategory method
  • GoogleVideoUrlDecorator::getGalleryLoc method
  • GoogleVideoUrlDecorator::getGalleryLocTitle method
  • GoogleVideoUrlDecorator::getRequiresSubscription method
  • GoogleVideoUrlDecorator::getUploader method
  • GoogleVideoUrlDecorator::getUploaderInfo method
  • GoogleVideoUrlDecorator::getLive method
  • GoogleVideoUrlDecorator::addPrice method
  • GoogleVideoUrlDecorator::getPrices method
  • GoogleVideoUrlDecorator::addTag method
  • GoogleVideoUrlDecorator::getTags method
  • Utils::getSetMethod method
  • Utils::getGetMethod method
  • Utils::render method
  • Utils::camelize method

Quality & Tests

  • Apply PSR-12 code style to sources (#277 by @yann-eugone)
  • Install PHPStan and use it at max level (#277 by @yann-eugone)
  • Remove vendor services mocks (#277 by @yann-eugone)
PrestaSitemapBundle - v2.5.0

Published by yann-eugone over 3 years ago

Changelog (v2.4.0...v2.5.0)

Changes

  • Add default locale as hreflang when using alternate option (#270 by @taylankasap)
PrestaSitemapBundle - v2.4.0

Published by yann-eugone over 3 years ago

Changelog (v2.3.1...v2.4.0)

Deprecations

  • Deprecate cache support (#262 by @yann-eugone)

Tools

  • Switched github actions to version range (#266 by @yann-eugone)
PrestaSitemapBundle - v1.7.3

Published by yann-eugone about 4 years ago

Changelog (since v1.7.2...v1.7.3)

Bugfixes

  • Always cleanup tmp dir on sitemap dump (#261 by @yann-eugone)
PrestaSitemapBundle - v2.3.1

Published by yann-eugone about 4 years ago

Changelog (v2.3.0...v2.3.1)

Bugfixes

  • Always cleanup tmp dir on sitemap dump (#260 by @yann-eugone)

Documentation

  • Propose .yaml extension files instead of .yml (#257 by @qmachard)

Misc

  • Added export ignore rules to git attributes file (#259 by @yann-eugone)
PrestaSitemapBundle - v2.3.0

Published by yann-eugone about 4 years ago

Changelog (v2.2.0...v2.3.0)

  • Add DumpSitemapMessage for messenger integration (#237 by @norkunas)
  • Update tests CS (#242 by @norkunas)
  • GitHub actions pipeline (#246 by @yann-eugone)
  • Fixed usage of deprecated video decoration + Normalize examples (#244 by @yann-eugone)
  • Fix nonexistent sitemap (#215 by @pulzarraider and @yann-eugone)
  • Documentation absolute urls (#247 by @yann-eugone)
  • Change all README badges to shields.io (#248 by @yann-eugone)
  • Add sitemap examples to documentation (#254 by @yann-eugone)
  • Added Dumper service unit tests (#250 by @yann-eugone)
  • Removed obsolete uml files (#252 by @yann-eugone)
  • Removed CHANGELOG.md in favor of releases notes (#253 by @yann-eugone)
  • Properties naming convention (#245 by @yann-eugone)
  • Increase code coverage by levearing new tests and refactoring some code (#243 by @yann-eugone)
  • Static routes translation alternate (#251 by @fabianoroberto and @yann-eugone)

Features

  • Integration with symfony/messenger.
    Being able to trigger sitemap dump using a message dispatch.
    See documentation.
  • Add an event to decorate collected static routes.
    This event as one built in listener that handle translation alternate.
    Pending documentation.

Deprecations

In Presta\SitemapBundle\Sitemap\Url\GoogleImage:

  • Renamed property $loc to $location
  • Renamed method getLoc to getLocation
  • Renamed method setLoc to setLocation
  • Renamed property $geo_location to $geoLocation

In Presta\SitemapBundle\Sitemap\Url\GoogleVideo:

  • Renamed property $thumbnail_loc to $thumbnailLocation
  • Renamed method getThumbnailLoc to getThumbnailLocation
  • Renamed method setThumbnailLoc to setThumbnailLocation
  • Renamed property $content_loc to $contentLocation
  • Renamed method getContentLoc to getContentLocation
  • Renamed method setContentLoc to setContentLocation
  • Renamed constructor parameter "content_loc" to "content_location"
  • Renamed property $player_loc to $playerLocation
  • Renamed constructor parameter "player_loc" to "player_location"
  • Renamed method getPlayerLoc to getPlayerLocation
  • Renamed method setPlayerLoc to setPlayerLocation
  • Renamed property $player_loc_allow_embed to $playerLocationAllowEmbed
  • Renamed constructor parameter "player_loc_allow_embed" to "player_location_allow_embed"
  • Renamed method getPlayerLocAllowEmbed to getPlayerLocationAllowEmbed
  • Renamed method setPlayerLocAllowEmbed to setPlayerLocationAllowEmbed
  • Renamed property $player_loc_autoplay to $playerLocationAutoplay
  • Renamed constructor parameter "player_loc_autoplay" to "player_location_autoplay"
  • Renamed method getPlayerLocAutoplay to getPlayerLocationAutoplay
  • Renamed method setPlayerLocAutoplay to setPlayerLocationAutoplay
  • Renamed property $expiration_date to $expirationDate
  • Renamed property $view_count to $viewCount
  • Renamed property $publication_date to $publicationDate
  • Renamed property $family_friendly to $familyFriendly
  • Renamed property $restriction_allow to $restrictionAllow
  • Renamed property $restriction_deny to $restrictionDeny
  • Renamed property $gallery_loc to $galleryLocation
  • Renamed constructor parameter "gallery_loc" to "gallery_location"
  • Renamed method setGalleryLoc to setGalleryLocation
  • Renamed method getGalleryLoc to getGalleryLocation
  • Renamed property $gallery_loc_title to $galleryLocationTitle
  • Renamed constructor parameter "gallery_loc_title" to "gallery_location_title"
  • Renamed method setGalleryLocTitle to setGalleryLocationTitle
  • Renamed method getGalleryLocTitle to getGalleryLocationTitle
  • Renamed property $requires_subscription to $requiresSubscription
  • Renamed property $uploader_info to $uploaderInformation
  • Renamed property $platform_relationship to $platformRelationship

In Presta\SitemapBundle\Sitemap\Url\SitemapController:

  • Deprecated method getTtl in favor of direct $ttl property access

In Presta\SitemapBundle\EventListener\RouteAnnotationEventListener:

  • Deprecated method getOptions in favor of Presta\SitemapBundle\Routing\RouteOptionParser::parse helper

In Presta\SitemapBundle\Sitemap\Utils:

  • Deprecated method getSetMethod
  • Deprecated method getGetMethod
  • Deprecated method camelize
PrestaSitemapBundle - v1.2.0

Published by yann-eugone about 4 years ago

Changelog (since v1.1.0...v1.2.0)

  • 09af5c0 : add annotation support for simple routes
PrestaSitemapBundle - v1.1.0

Published by yann-eugone about 4 years ago

Changelog (since v1.0.0...v1.1.0)

  • a865420 : encode url & enclose user defined data in cdata section
  • b672175 : fix parameters in service definition
PrestaSitemapBundle - v1.0.0

Published by yann-eugone about 4 years ago

PrestaSitemapBundle - v1.4.1

Published by yann-eugone about 4 years ago

Changelog (since v1.4.0...v1.4.1)

PrestaSitemapBundle - v2.2.0

Published by yann-eugone about 4 years ago

Changelog (v2.1.0...v2.2.0)

  • Test suite refactoring (#224 by @yann-eugone)
  • Normalize UrlConcrete priority so property is always a float (#212 by @yann-eugone)
  • Default dump dir made absolute, using kernel.project_dir parameter (#225 by @yann-eugone)
  • Typo in "a" instead of "an" before word "interface" (#236 by @felixprojekt)
  • Fix symfony 5.1 deprecations (#239 by @norkunas)
PrestaSitemapBundle - v2.1.0

Published by yann-eugone over 4 years ago

Changelog (v2.0.1...v2.1.0)

  • Sitemap dump command made lazy (#226 by @norkunas)
  • Preserve gzipped links in sitemapindex when dumping single section (#218 by @delda)
  • Allow adding multiple videos to the same sitemap url (#227 by @l-vo)
  • Collect several sections with built in static routes listener (#231 by @yann-eugone)
  • Allow to set defaults (changefreq, lastmod & priority) on decorated routes (#232 by @yann-eugone)