Update dependency sitemap_generator to v7 - #1319
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
6.3.0→7.1.1Release Notes
kjvarga/sitemap_generator (sitemap_generator)
v7.1.1Compare Source
rake sitemap:clean(clean_files) now respects the configuredsitemaps_path/public_pathand also removes uncompressed.xmlsitemaps, instead of only deleting hardcodedpublic/sitemap*.xml.gzfiles. #474 #502SitemapGenerator::Interpreternow respectsActionController::Base.default_url_options, so Rails URL helpers honor globally configured defaults (e.g.:protocol,:port) instead of ignoring them. #355 #507<loc>element, so generated sitemaps conform to the sitemap protocol. #346 #506/) are now expanded to absolute URLs using the configured host, producing valid sitemap XML instead of broken relative links. #343 #504SitemapGenerator.verbose = falseis now respected byrake sitemap:refreshand other rake tasks, silencing output as configured. #332 #503lastmodis now captured at write time rather than read back viaFile.mtime, fixing incorrect timestamps and improving compatibility with time-freezing test helpers. #508lastmodnow defaults toTime.zone.nowunder Rails (falling back toTime.nowotherwise), so the configured Rails timezone and time-freezing helpers liketravel_toare respected instead of always using system local time. #422 #505NameError, broken path comparisons), and resolve all temporary RuboCop spec-suite exclusions. #510 #511 #512 #513 #514v7.1.0Compare Source
SitemapGenerator::FileAdapter#plainhas been removed. It was an internal helper inlined into#writeto fix a file descriptor leak; any code calling it directly should call#writeinstead. #492SitemapGenerator::FileAdapter#gzipis now private. It was always an implementation detail; external callers should not need to invoke it directly. #492AwsSdkAdapterandS3Adapternow derive theContent-Typeheader from the file extension (.xml→application/xml,.xml.gz→application/x-gzip) via the newSitemapLocation#content_typehelper, rather than always sendingapplication/x-gzip. #329 #338 #495v7.0.3Compare Source
ArgumentError: Missing host to link to!duringassets:precompileand other Rails boot contexts where no host is configured (reported in #488). The railtie is restored to its 7.0.1 behaviour: it loads rake tasks only. The enhancements will return in a future release with proper documentation and test coverage. #489--enable=frozen-string-literalis set globally. Ruby 2.6/2.7 freezes interpolated heredocs under that flag, causinggsub!to raiseFrozenError. #486v7.0.2Compare Source
frozen_string_literal. #456v7.0.1Compare Source
rake sitemap:refreshandping_search_enginesperform no HTTP pings unless you configure engine URLs onsearch_enginesor pass them intoping_search_engines(Google’s ping endpoint is deprecated upstream). #444LinkSet#createrunsfinalize!only when a block is given. Callingcreatewithout a block requiresfinalize!when you are done adding links (supported workflow for programmatic builds). #463aws_session_token/AWS_SESSION_TOKEN) for S3 uploads in AWS Lambda #415frozen_string_literal: truemagic comments #430URI.encode_www_form_componentfor ping URLs; remove reliance oncgi(Ruby 4 compatibility) #465ActiveStorage::Blob) #467Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.