sitemap_generator 6.3.0 → 7.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGES.md +107 -61
- data/README.md +176 -171
- data/VERSION +1 -1
- data/lib/capistrano/sitemap_generator.rb +2 -0
- data/lib/sitemap_generator/adapters/active_storage_adapter.rb +31 -0
- data/lib/sitemap_generator/adapters/aws_sdk_adapter.rb +29 -13
- data/lib/sitemap_generator/adapters/file_adapter.rb +12 -13
- data/lib/sitemap_generator/adapters/fog_adapter.rb +9 -7
- data/lib/sitemap_generator/adapters/google_storage_adapter.rb +8 -5
- data/lib/sitemap_generator/adapters/s3_adapter.rb +23 -18
- data/lib/sitemap_generator/adapters/wave_adapter.rb +8 -6
- data/lib/sitemap_generator/application.rb +9 -3
- data/lib/sitemap_generator/builder/sitemap_file.rb +41 -31
- data/lib/sitemap_generator/builder/sitemap_index_file.rb +31 -23
- data/lib/sitemap_generator/builder/sitemap_index_url.rb +10 -9
- data/lib/sitemap_generator/builder/sitemap_url.rb +130 -80
- data/lib/sitemap_generator/builder.rb +7 -3
- data/lib/sitemap_generator/core_ext/big_decimal.rb +40 -33
- data/lib/sitemap_generator/core_ext/numeric.rb +52 -46
- data/lib/sitemap_generator/core_ext.rb +2 -0
- data/lib/sitemap_generator/helpers/number_helper.rb +84 -76
- data/lib/sitemap_generator/interpreter.rb +22 -18
- data/lib/sitemap_generator/link_set.rb +114 -113
- data/lib/sitemap_generator/railtie.rb +4 -1
- data/lib/sitemap_generator/simple_namer.rb +8 -6
- data/lib/sitemap_generator/sitemap_location.rb +52 -40
- data/lib/sitemap_generator/tasks.rb +16 -26
- data/lib/sitemap_generator/templates.rb +11 -9
- data/lib/sitemap_generator/utilities.rb +46 -24
- data/lib/sitemap_generator.rb +42 -27
- data/lib/tasks/sitemap_generator_tasks.rake +2 -0
- data/rails/install.rb +2 -0
- data/rails/uninstall.rb +2 -0
- data/templates/sitemap.rb +3 -1
- metadata +7 -131
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6c259fa0f3a68d9e8595e387643000a6c7cde213ed6fcc8c66963428c945cefd
|
|
4
|
+
data.tar.gz: 8dc85d783b0018d2c13c9d0146fe59920160ebcca120d8693ef03c6d9958ddf0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b4fa4c6e8e0b2ef87e8d2af947719e7d902d74021e16f4a6c6bc51e5a9b8e16410858b06b0327ed7df514c270af032e3ec32342022ff252b2cf1d6da352200f3
|
|
7
|
+
data.tar.gz: d3dbfeed32002542b17695efbaebff375bdf28fb9b847910c16b033b4ed30478cbbec5f31e4f341be2416aaa3e33af16b0aef202631c22ac550538a48801cbe2
|
data/CHANGES.md
CHANGED
|
@@ -1,15 +1,62 @@
|
|
|
1
|
-
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 7.1.1
|
|
4
|
+
|
|
5
|
+
* Fix: `rake sitemap:clean` (`clean_files`) now respects the configured `sitemaps_path`/`public_path` and also removes uncompressed `.xml` sitemaps, instead of only deleting hardcoded `public/sitemap*.xml.gz` files. [#474](https://github.com/kjvarga/sitemap_generator/issues/474) [#502](https://github.com/kjvarga/sitemap_generator/pull/502)
|
|
6
|
+
* Fix: `SitemapGenerator::Interpreter` now respects `ActionController::Base.default_url_options`, so Rails URL helpers honor globally configured defaults (e.g. `:protocol`, `:port`) instead of ignoring them. [#355](https://github.com/kjvarga/sitemap_generator/issues/355) [#507](https://github.com/kjvarga/sitemap_generator/pull/507)
|
|
7
|
+
* Fix: Non-ASCII characters in URL paths are now percent-encoded in the `<loc>` element, so generated sitemaps conform to the sitemap protocol. [#346](https://github.com/kjvarga/sitemap_generator/issues/346) [#506](https://github.com/kjvarga/sitemap_generator/pull/506)
|
|
8
|
+
* Fix: Relative alternate hreflang hrefs (starting with `/`) are now expanded to absolute URLs using the configured host, producing valid sitemap XML instead of broken relative links. [#343](https://github.com/kjvarga/sitemap_generator/issues/343) [#504](https://github.com/kjvarga/sitemap_generator/pull/504)
|
|
9
|
+
* Fix: `SitemapGenerator.verbose = false` is now respected by `rake sitemap:refresh` and other rake tasks, silencing output as configured. [#332](https://github.com/kjvarga/sitemap_generator/issues/332) [#503](https://github.com/kjvarga/sitemap_generator/pull/503)
|
|
10
|
+
* Fix: Sitemap file `lastmod` is now captured at write time rather than read back via `File.mtime`, fixing incorrect timestamps and improving compatibility with time-freezing test helpers. [#508](https://github.com/kjvarga/sitemap_generator/pull/508)
|
|
11
|
+
* Fix: URL `lastmod` now defaults to `Time.zone.now` under Rails (falling back to `Time.now` otherwise), so the configured Rails timezone and time-freezing helpers like `travel_to` are respected instead of always using system local time. [#422](https://github.com/kjvarga/sitemap_generator/issues/422) [#505](https://github.com/kjvarga/sitemap_generator/pull/505)
|
|
12
|
+
* Internal: Enable RuboCop on the spec suite (previously fully excluded), fix real bugs the linting surfaced along the way (always-passing tests with no assertions, a latent `NameError`, broken path comparisons), and resolve all temporary RuboCop spec-suite exclusions. [#510](https://github.com/kjvarga/sitemap_generator/pull/510) [#511](https://github.com/kjvarga/sitemap_generator/pull/511) [#512](https://github.com/kjvarga/sitemap_generator/pull/512) [#513](https://github.com/kjvarga/sitemap_generator/pull/513) [#514](https://github.com/kjvarga/sitemap_generator/pull/514)
|
|
13
|
+
|
|
14
|
+
## 7.1.0
|
|
15
|
+
|
|
16
|
+
* **Breaking:** `SitemapGenerator::FileAdapter#plain` has been removed. It was an internal helper inlined into `#write` to fix a file descriptor leak; any code calling it directly should call `#write` instead. [#492](https://github.com/kjvarga/sitemap_generator/pull/492)
|
|
17
|
+
* **Breaking:** `SitemapGenerator::FileAdapter#gzip` is now private. It was always an implementation detail; external callers should not need to invoke it directly. [#492](https://github.com/kjvarga/sitemap_generator/pull/492)
|
|
18
|
+
* Fix: `AwsSdkAdapter` and `S3Adapter` now derive the `Content-Type` header from the file extension (`.xml` → `application/xml`, `.xml.gz` → `application/x-gzip`) via the new `SitemapLocation#content_type` helper, rather than always sending `application/x-gzip`. [#329](https://github.com/kjvarga/sitemap_generator/issues/329) [#338](https://github.com/kjvarga/sitemap_generator/issues/338) [#495](https://github.com/kjvarga/sitemap_generator/pull/495)
|
|
19
|
+
* Docs: Replace broken links in README and CHANGES.md; add deprecation notices for mobile sitemaps (deprecated by Google in August 2022) and geo sitemaps (retired by Google in February 2012). [#497](https://github.com/kjvarga/sitemap_generator/pull/497)
|
|
20
|
+
* Internal: enforce RuboCop across all source files, resolve all pre-existing offenses, add RuboCop and mdl (Markdown) linting to GitHub Actions CI, and add pre-commit git hooks that lint staged Ruby and Markdown files locally. [#487](https://github.com/kjvarga/sitemap_generator/pull/487) [#492](https://github.com/kjvarga/sitemap_generator/pull/492) [#493](https://github.com/kjvarga/sitemap_generator/pull/493) [#494](https://github.com/kjvarga/sitemap_generator/pull/494) [#500](https://github.com/kjvarga/sitemap_generator/pull/500)
|
|
21
|
+
|
|
22
|
+
## 7.0.3
|
|
23
|
+
|
|
24
|
+
* **Regression fix:** Revert railtie enhancements (#478) that were unintentionally included in 7.0.2. Those changes introduced an `ArgumentError: Missing host to link to!` during `assets:precompile` and other Rails boot contexts where no host is configured (reported in [#488](https://github.com/kjvarga/sitemap_generator/issues/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](https://github.com/kjvarga/sitemap_generator/pull/489)
|
|
25
|
+
* **Bugfix:** Restore sitemap generation on Ruby 2.x when `--enable=frozen-string-literal` is set globally. Ruby 2.6/2.7 freezes interpolated heredocs under that flag, causing `gsub!` to raise `FrozenError`. [#486](https://github.com/kjvarga/sitemap_generator/pull/486)
|
|
26
|
+
* Internal: skip duplicate git tag creation in the release task if the tag already points at HEAD.
|
|
27
|
+
|
|
28
|
+
## 7.0.2
|
|
29
|
+
|
|
30
|
+
* Reduce string copies and improve compatibility with `frozen_string_literal`. [#456](https://github.com/kjvarga/sitemap_generator/pull/456)
|
|
31
|
+
|
|
32
|
+
## 7.0.1
|
|
33
|
+
|
|
34
|
+
* **Breaking:** Default search engines list is empty. `rake sitemap:refresh` and `ping_search_engines` perform no HTTP pings unless you configure engine URLs on `search_engines` or pass them into `ping_search_engines` (Google’s ping endpoint is deprecated upstream). [#444](https://github.com/kjvarga/sitemap_generator/pull/444)
|
|
35
|
+
* **Breaking:** `LinkSet#create` runs `finalize!` only when a block is given. Calling `create` without a block requires `finalize!` when you are done adding links (supported workflow for programmatic builds). [#463](https://github.com/kjvarga/sitemap_generator/pull/463)
|
|
36
|
+
* **Breaking:** Drop Ruby 2.5, Rails 5.2 [#438](https://github.com/kjvarga/sitemap_generator/pull/438)
|
|
37
|
+
* Migrate continuous integration from CircleCI to GitHub Actions with expanded Ruby × Rails CI matrix.
|
|
38
|
+
* Support AWS temporary credentials (`aws_session_token` / `AWS_SESSION_TOKEN`) for S3 uploads in AWS Lambda [#415](https://github.com/kjvarga/sitemap_generator/pull/415)
|
|
39
|
+
* Add `frozen_string_literal: true` magic comments [#430](https://github.com/kjvarga/sitemap_generator/pull/430)
|
|
40
|
+
* Add support for Rails 8.0 [#441](https://github.com/kjvarga/sitemap_generator/pull/441)
|
|
41
|
+
* Fix uninitialized constant ActiveSupport::LoggerThreadSafeLevel::Logger [#449](https://github.com/kjvarga/sitemap_generator/pull/449)
|
|
42
|
+
* Add support for Ruby 3.4 [#451](https://github.com/kjvarga/sitemap_generator/pull/451)
|
|
43
|
+
* Add support for Rails 8.1 [#461](https://github.com/kjvarga/sitemap_generator/pull/461)
|
|
44
|
+
* Replace CGI-based escaping with `URI.encode_www_form_component` for ping URLs; remove reliance on `cgi` (Ruby 4 compatibility) [#465](https://github.com/kjvarga/sitemap_generator/pull/465)
|
|
45
|
+
* Add support for Ruby 4.0 [#466](https://github.com/kjvarga/sitemap_generator/pull/466)
|
|
46
|
+
* Add ActiveStorage adapter (`ActiveStorage::Blob`) [#467](https://github.com/kjvarga/sitemap_generator/pull/467)
|
|
47
|
+
|
|
48
|
+
## 6.3.0
|
|
2
49
|
|
|
3
50
|
* Remove Bing's deprecated sitemap submission [#400](https://github.com/kjvarga/sitemap_generator/pull/400).
|
|
4
51
|
* `SitemapGenerator::AwsSdkAdapter`: Support configuring ACL and caching on the uploaded files [#409](https://github.com/kjvarga/sitemap_generator/pull/409).
|
|
5
52
|
* `SitemapGenerator::GoogleStorageAdapter`: Support configuring ACL on the uploaded files [#410](https://github.com/kjvarga/sitemap_generator/pull/410).
|
|
6
53
|
* Fix CircleCI specs for Ruby 3 [#407](https://github.com/kjvarga/sitemap_generator/pull/407).
|
|
7
54
|
|
|
8
|
-
|
|
55
|
+
## 6.2.1
|
|
9
56
|
|
|
10
57
|
* Bugfix: Improve handling of deprecated options in `AwsSdkAdapter`. Fixes bug where `:region` was being set to `nil`. [#390](https://github.com/kjvarga/sitemap_generator/pull/390).
|
|
11
58
|
|
|
12
|
-
|
|
59
|
+
## 6.2.0
|
|
13
60
|
|
|
14
61
|
* Raise `LoadError` when an adapter's dependency is missing to better support Sorbet [#387](https://github.com/kjvarga/sitemap_generator/pull/387).
|
|
15
62
|
* Update the Bing notification URL [#386](https://github.com/kjvarga/sitemap_generator/pull/386).
|
|
@@ -18,29 +65,29 @@
|
|
|
18
65
|
* `SitemapGenerator::GoogleStorageAdapter`: Support ruby 3 kwarg changes [#375](https://github.com/kjvarga/sitemap_generator/pull/375).
|
|
19
66
|
* `SitemapGenerator::S3Adapter`: Allow Fog `public` option to be Configurable [#359](https://github.com/kjvarga/sitemap_generator/pull/359).
|
|
20
67
|
|
|
21
|
-
|
|
68
|
+
## 6.1.2
|
|
22
69
|
|
|
23
70
|
* Resolve NoMethodError using URI#open for Ruby less than 2.5.0 [#353](https://github.com/kjvarga/sitemap_generator/pull/353)
|
|
24
71
|
|
|
25
|
-
|
|
72
|
+
## 6.1.1
|
|
26
73
|
|
|
27
74
|
* Resolve deprecation warning on using Kernel#open in Ruby 2.7 (use URI.open instead) [#342](https://github.com/kjvarga/sitemap_generator/pull/342)
|
|
28
75
|
* Support S3 Endpoints for S3 Compliant Providers like DigitalOcean Spaces [#325](https://github.com/kjvarga/sitemap_generator/pull/325)
|
|
29
76
|
|
|
30
|
-
|
|
77
|
+
## 6.1.0
|
|
31
78
|
|
|
32
79
|
* Support uploading files to Google Cloud Storage [#326](https://github.com/kjvarga/sitemap_generator/pull/326) and [#340](https://github.com/kjvarga/sitemap_generator/pull/340)
|
|
33
80
|
|
|
34
|
-
|
|
81
|
+
## 6.0.2
|
|
35
82
|
|
|
36
83
|
* Resolve `BigDecimal.new is deprecated` warnings in Ruby 2.5 [#305](https://github.com/kjvarga/sitemap_generator/pull/305).
|
|
37
84
|
* Resolve `instance variable not initialized`, `File.exists? is deprecated` and `'*' interpreted as argument prefix` warnings [#304](https://github.com/kjvarga/sitemap_generator/pull/304).
|
|
38
85
|
|
|
39
|
-
|
|
86
|
+
## 6.0.1
|
|
40
87
|
|
|
41
88
|
* Use `yaml_tag` instead of `yaml_as`, which was deprecated in Ruby 2.4, and removed in 2.5 [#298](https://github.com/kjvarga/sitemap_generator/pull/298).
|
|
42
89
|
|
|
43
|
-
|
|
90
|
+
## 6.0.0
|
|
44
91
|
|
|
45
92
|
*Backwards incompatible changes*
|
|
46
93
|
|
|
@@ -53,12 +100,12 @@
|
|
|
53
100
|
|
|
54
101
|
* If Rails is defined but the application is not loaded, don't include the URL helpers.
|
|
55
102
|
|
|
56
|
-
|
|
103
|
+
## 5.3.1
|
|
57
104
|
|
|
58
105
|
* Ensure files have 644 permissions when building to try to address issue [#264](https://github.com/kjvarga/sitemap_generator/issues/264)
|
|
59
106
|
* Use HTTPS in the Gemfile (PR #[#263](https://github.com/kjvarga/sitemap_generator/pull/263))
|
|
60
107
|
|
|
61
|
-
|
|
108
|
+
## 5.3.0
|
|
62
109
|
|
|
63
110
|
* Add `max_sitemap_links` option support for limiting how many links each sitemap can hold. Issue [#188](https://github.com/kjvarga/sitemap_generator/issues/188) PR [#262](https://github.com/kjvarga/sitemap_generator/pull/262)
|
|
64
111
|
* Upgrade development dependencies
|
|
@@ -69,39 +116,39 @@
|
|
|
69
116
|
* Use presence of `Rails::VERSION` to detect when running under Rails, rather than just `Rails` constant. PR [#221](https://github.com/kjvarga/sitemap_generator/pull/221)
|
|
70
117
|
* Remove gem post-install message warning about incompatible changes in version 4
|
|
71
118
|
|
|
72
|
-
|
|
119
|
+
## 5.2.0
|
|
73
120
|
|
|
74
121
|
* New `SitemapGenerator::AwsSdkAdapter` adapter using the bare aws-sdk gem.
|
|
75
122
|
* Fix Bing ping url.
|
|
76
123
|
* Support string option keys passed to `add`.
|
|
77
124
|
* In Railtie, Load the rake task instead of requiring them.
|
|
78
125
|
|
|
79
|
-
|
|
126
|
+
## 5.1.0
|
|
80
127
|
|
|
81
128
|
* Require only `fog-aws` instead of `fog` for the `S3Adapter` and support using IAM profile instead of setting access key & secret directly.
|
|
82
129
|
* Implement `respond_to?` on the `SitemapGenerator::Sitemap` pseudo class.
|
|
83
130
|
* Make `:lang` optional on alternate links so they can be used for [AppIndexing](https://developers.google.com/app-indexing/reference/deeplinks).
|
|
84
131
|
* Documented Mobile Sitemaps `:mobile` option.
|
|
85
132
|
|
|
86
|
-
|
|
133
|
+
## 5.0.5
|
|
87
134
|
|
|
88
135
|
* Use MIT licence.
|
|
89
136
|
* Fix deploys with Capistrano 3 ([#163](https://github.com/kjvarga/sitemap_generator/issues/163)).
|
|
90
137
|
* Allow any Fog storage options for S3 adapter ([#167](https://github.com/kjvarga/sitemap_generator/pull/167)).
|
|
91
138
|
|
|
92
|
-
|
|
139
|
+
## 5.0.4
|
|
93
140
|
|
|
94
141
|
* Don't include the `media` attribute on alternate links unless it's given
|
|
95
142
|
|
|
96
|
-
|
|
143
|
+
## 5.0.3
|
|
97
144
|
|
|
98
145
|
* Add support for Video sitemaps options `:live` and ':requires_subscription'
|
|
99
146
|
|
|
100
|
-
|
|
147
|
+
## 5.0.2
|
|
101
148
|
|
|
102
149
|
* Set maximum filesize to 10,000,000 bytes rather than 10,485,760 bytes.
|
|
103
150
|
|
|
104
|
-
|
|
151
|
+
## 5.0.1
|
|
105
152
|
|
|
106
153
|
* Include new `SitemapGenerator::FogAdapter` ([#138](https://github.com/kjvarga/sitemap_generator/pull/138)).
|
|
107
154
|
* Fix usage of attr_* methods in `LinkSet`
|
|
@@ -109,30 +156,30 @@
|
|
|
109
156
|
* Fix breaking spec in Ruby 2 ([#142](https://github.com/kjvarga/sitemap_generator/pull/142)).
|
|
110
157
|
* Include Capistrano 3.x tasks ([#141](https://github.com/kjvarga/sitemap_generator/pull/141)).
|
|
111
158
|
|
|
112
|
-
|
|
159
|
+
## 5.0.0
|
|
113
160
|
|
|
114
161
|
* Support new `:compress` option for customizing which files get compressed.
|
|
115
162
|
* Remove old deprecated methods:
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
163
|
+
* Removed options to `LinkSet::add()`: `:sitemaps_namer` and `:sitemap_index_namer` (use `:namer` option)
|
|
164
|
+
* Removed `LinkSet::sitemaps_namer=`, `LinkSet::sitemaps_namer` (use `LinkSet::namer=` and `LinkSet::namer`)
|
|
165
|
+
* Removed `LinkSet::sitemaps_index_namer=`, `LinkSet::sitemaps_index_namer` (use `LinkSet::namer=` and `LinkSet::namer`)
|
|
166
|
+
* Removed the `SitemapGenerator::SitemapNamer` class (use `SitemapGenerator::SimpleNamer`)
|
|
167
|
+
* Removed `LinkSet::add_links()` (use `LinkSet::create()`)
|
|
121
168
|
* Support `fog_path_style` option in the `SitemapGenerator::S3Adapter` so buckets with dots in the name work over HTTPS without SSL certificate problems.
|
|
122
169
|
|
|
123
|
-
|
|
170
|
+
## 4.3.1
|
|
124
171
|
|
|
125
172
|
* Support integer timestamps.
|
|
126
173
|
* Update README for new features added in last release.
|
|
127
174
|
|
|
128
|
-
|
|
175
|
+
## 4.3.0
|
|
129
176
|
|
|
130
177
|
* Support `media` attibute on alternate links ([#125](https://github.com/kjvarga/sitemap_generator/issues/125)).
|
|
131
178
|
* Changed `SitemapGenerator::S3Adapter` to write files in a single operation, avoiding potential permissions errors when listing a directory prior to writing ([#130](https://github.com/kjvarga/sitemap_generator/issues/130)).
|
|
132
179
|
* Remove Sitemap Writer from ping task ([#129](https://github.com/kjvarga/sitemap_generator/issues/129)).
|
|
133
180
|
* Support `url:expires` element ([#126](https://github.com/kjvarga/sitemap_generator/issues/126)).
|
|
134
181
|
|
|
135
|
-
|
|
182
|
+
## 4.2.0
|
|
136
183
|
|
|
137
184
|
* Update Google ping URL.
|
|
138
185
|
* Quote the ping URL in the output.
|
|
@@ -140,23 +187,23 @@
|
|
|
140
187
|
* Support symbols as well as strings for most arguments to `add()` ([#113](https://github.com/kjvarga/sitemap_generator/issues/113)).
|
|
141
188
|
* Ensure that `public_path` and `sitemaps_path` end with a slash (`/`) ([#113](https://github.com/kjvarga/sitemap_generator/issues/118)).
|
|
142
189
|
|
|
143
|
-
|
|
190
|
+
## 4.1.1
|
|
144
191
|
|
|
145
192
|
* Support setting the S3 region.
|
|
146
193
|
* Fixed bug where incorrect URL was being used in the ping to search engines - only affected sites with a single sitemap file and no index file.
|
|
147
194
|
* Output the URL being pinged in the verbose output.
|
|
148
195
|
* Test in Rails 4.
|
|
149
196
|
|
|
150
|
-
|
|
197
|
+
## 4.1.0
|
|
151
198
|
|
|
152
199
|
* [PageMap sitemap][using_pagemaps] support.
|
|
153
200
|
* Tested with Rails 4 pre-release.
|
|
154
201
|
|
|
155
|
-
|
|
202
|
+
## 4.0.1
|
|
156
203
|
|
|
157
204
|
* Add a post install message regarding the naming convention change.
|
|
158
205
|
|
|
159
|
-
|
|
206
|
+
## 4.0
|
|
160
207
|
|
|
161
208
|
* **NEW, NON-BACKWARDS COMPATIBLE CHANGES.**
|
|
162
209
|
* `create_index` defaults to `:auto`.
|
|
@@ -165,20 +212,20 @@
|
|
|
165
212
|
* Support `nofollow` option on alternate links.
|
|
166
213
|
* Fix formatting of `publication_date` in News sitemaps.
|
|
167
214
|
|
|
168
|
-
|
|
215
|
+
## 3.4
|
|
169
216
|
|
|
170
217
|
* Support [alternate links][alternate_links] for urls
|
|
171
218
|
* Support configurable options in the `SitemapGenerator::S3Adapter`
|
|
172
219
|
|
|
173
|
-
|
|
220
|
+
## 3.3
|
|
174
221
|
|
|
175
222
|
* Support creating sitemaps with no index file
|
|
176
223
|
|
|
177
|
-
|
|
224
|
+
## 3.2.1
|
|
178
225
|
|
|
179
226
|
* Fix syntax error in `SitemapGenerator::S3Adapter`
|
|
180
227
|
|
|
181
|
-
|
|
228
|
+
## 3.2
|
|
182
229
|
|
|
183
230
|
* Support mobile tags
|
|
184
231
|
* Add `SitemapGenerator::S3Adapter`, a simple S3 adapter which uses Fog and doesn't require CarrierWave
|
|
@@ -187,18 +234,18 @@
|
|
|
187
234
|
* Fix the news XML namespace
|
|
188
235
|
* Only include `autoplay` attribute if present
|
|
189
236
|
|
|
190
|
-
|
|
237
|
+
## 3.1.1
|
|
191
238
|
|
|
192
239
|
* Bugfix
|
|
193
240
|
* Groups inherit current adapter
|
|
194
241
|
|
|
195
|
-
|
|
242
|
+
## 3.1.0
|
|
196
243
|
|
|
197
244
|
* Add `add_to_index` method to add links to the sitemap index.
|
|
198
|
-
* Add `sitemap` method for accessing the `LinkSet instance from within `create()`.
|
|
245
|
+
* Add `sitemap` method for accessing the `LinkSet` instance from within `create()`.
|
|
199
246
|
* Don't modify options hashes passed to methods. Fix and improve `yield_sitemap` option handling.
|
|
200
247
|
|
|
201
|
-
|
|
248
|
+
## 3.0.0
|
|
202
249
|
|
|
203
250
|
* **Framework agnostic!**
|
|
204
251
|
* Fix alignment in output
|
|
@@ -208,61 +255,61 @@
|
|
|
208
255
|
* Remove tasks/ directory because it's deprecated in Rails 2
|
|
209
256
|
* Simplify dependencies.
|
|
210
257
|
|
|
211
|
-
|
|
258
|
+
## 2.2.1
|
|
212
259
|
|
|
213
260
|
* Support adding new search engines to ping and modifying the default search engines.
|
|
214
261
|
* Allow the URL of the sitemap index to be passed as an argument to `ping_search_engines`. See Pinging Search Engines in README.
|
|
215
262
|
|
|
216
|
-
|
|
263
|
+
## 2.1.8
|
|
217
264
|
|
|
218
265
|
* Extend and improve Video Sitemap support.
|
|
219
266
|
* Include sitemap docs in the README, support all element attributes, properly format values.
|
|
220
267
|
|
|
221
|
-
|
|
268
|
+
## 2.1.7
|
|
222
269
|
|
|
223
270
|
* Improve format of float priorities
|
|
224
271
|
* Remove Yahoo from ping - the Yahoo service has been shut down.
|
|
225
272
|
|
|
226
|
-
|
|
273
|
+
## 2.1.6
|
|
227
274
|
|
|
228
275
|
* Fix the `lastmod` value on sitemap file links
|
|
229
276
|
|
|
230
|
-
|
|
277
|
+
## 2.1.5
|
|
231
278
|
|
|
232
279
|
* Fix verbose setting in the rake task, it should default to true
|
|
233
280
|
|
|
234
|
-
|
|
281
|
+
## 2.1.4
|
|
235
282
|
|
|
236
283
|
* Allow special characters in URLs (don't use `URI.join` to construct URLs)
|
|
237
284
|
|
|
238
|
-
|
|
285
|
+
## 2.1.3
|
|
239
286
|
|
|
240
287
|
* Fix calling `create` with both `filename` and `sitemaps_namer` options
|
|
241
288
|
|
|
242
|
-
|
|
289
|
+
## 2.1.2
|
|
243
290
|
|
|
244
291
|
* Support multiple videos per url using the new `videos` option to `add()`.
|
|
245
292
|
|
|
246
|
-
|
|
293
|
+
## 2.1.1
|
|
247
294
|
|
|
248
295
|
* Support calling `create()` multiple times in a sitemap config
|
|
249
296
|
* Support host names with path segments so you can use a `default_host` like `'http://mysite.com/subdirectory/'`
|
|
250
297
|
* Turn off `include_index` when the `sitemaps_host` differs from `default_host`
|
|
251
298
|
* Add docs about how to upload to remote hosts.
|
|
252
299
|
|
|
253
|
-
|
|
300
|
+
## 2.1.0
|
|
254
301
|
|
|
255
302
|
* [News sitemap][sitemap_news] support
|
|
256
303
|
|
|
257
|
-
|
|
304
|
+
## 2.0.1.pre2
|
|
258
305
|
|
|
259
306
|
* Fix uploading to the (bucket) root on a remote server
|
|
260
307
|
|
|
261
|
-
|
|
308
|
+
## 2.0.1.pre1
|
|
262
309
|
|
|
263
310
|
* Support read-only filesystems like Heroku by supporting uploading to remote host
|
|
264
311
|
|
|
265
|
-
|
|
312
|
+
## 2.0.1
|
|
266
313
|
|
|
267
314
|
* Minor improvements to verbose handlig
|
|
268
315
|
* Prevent missing `Timeout` issue
|
|
@@ -271,37 +318,36 @@
|
|
|
271
318
|
|
|
272
319
|
* Introducing a new simpler API, Sitemap Groups, Sitemap Namers and more!
|
|
273
320
|
|
|
274
|
-
|
|
321
|
+
## 1.5.0
|
|
275
322
|
|
|
276
323
|
* New options `include_root`, `include_index`
|
|
277
324
|
* Major testing & refactoring
|
|
278
325
|
|
|
279
|
-
|
|
326
|
+
## 1.4.0
|
|
280
327
|
|
|
281
|
-
*
|
|
328
|
+
* Geo sitemap support
|
|
282
329
|
* Multiple sitemap support via CONFIG_FILE rake option
|
|
283
330
|
|
|
284
|
-
|
|
331
|
+
## 1.3.0
|
|
285
332
|
|
|
286
333
|
* Support setting the sitemaps path
|
|
287
334
|
|
|
288
|
-
|
|
335
|
+
## 1.2.0
|
|
289
336
|
|
|
290
337
|
* Verified working with Rails 3 stable release
|
|
291
338
|
|
|
292
|
-
|
|
339
|
+
## 1.1.0
|
|
293
340
|
|
|
294
341
|
* [Video sitemap][sitemap_video] support
|
|
295
342
|
|
|
296
|
-
|
|
343
|
+
## 0.2.6
|
|
297
344
|
|
|
298
345
|
* [Image Sitemap][sitemap_images] support
|
|
299
346
|
|
|
300
|
-
|
|
347
|
+
## 0.2.5
|
|
301
348
|
|
|
302
349
|
* Rails 3 prerelease support (beta)
|
|
303
350
|
|
|
304
|
-
[geo_tags]:http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=94555
|
|
305
351
|
[sitemap_images]:http://www.google.com/support/webmasters/bin/answer.py?answer=178636
|
|
306
352
|
[sitemap_video]:https://support.google.com/webmasters/answer/80471?hl=en&ref_topic=4581190
|
|
307
353
|
[sitemap_news]:https://support.google.com/news/publisher/topic/2527688?hl=en&ref_topic=4359874
|