jekyll-highlight-cards 2.2.0 → 3.0.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 48a4ccd9a729f6d5db3c458bdf9311abe63b595b370cb6577994e7c0da53d763
4
- data.tar.gz: 4805a92c237413bcc17ddd0c2d1166bd5c7e606a9c2287b8f6e99939d42d6639
3
+ metadata.gz: bc05c6870abe2957cf0aa466022bebfaab78e7fb1070cdd9a7595601d1d0b076
4
+ data.tar.gz: 2abd2901e718fb05a79574143340afb0cb2a9a5bd2222f50970b57cb8690b613
5
5
  SHA512:
6
- metadata.gz: 3c01b9b3dc7adb48b1e20a5dce6af56f0ba2e0e1db4e490c7024c066a8ee8cf3dc9da0e3f65637aec448ecd3bd67b39169f4719536f0fd27352ab46a76303a95
7
- data.tar.gz: 4d88a809394b5b4d77a73f385358d05c532ee38f0c22f26dada841b2c5aff61915fc4486bb61ab83ffc5c282b2b1226b7fde8c75c4654260f280e6e83d76193a
6
+ metadata.gz: 8c951edd434d7dd5a33f7932db5fc67b70c0a9612ebd0e8bfc3575727ddd1f19ab929ea5184050693cfe13c630bfbd5ecf4cf10181212c1e981d1dcf01f24ab1
7
+ data.tar.gz: 729c640436bc506c2346ed2c2fa0ec2eb79f7bc7dcd234a3afa2e0de649e276ca0e495dd1741cd0dbb995f202d31a296e0cdfb6f317f5dbb12779686a42b4958
data/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # Changelog
2
2
 
3
+ ## [3.0.0](https://github.com/Texarkanine/jekyll-highlight-cards/compare/v2.2.0...v3.0.0) (2026-08-12)
4
+
5
+
6
+ ### ⚠ BREAKING CHANGES
7
+
8
+ * JEKYLL_HIGHLIGHT_CARDS_ARCHIVE_SAVE no longer submits to SavePageNow when CDX already found a snapshot. Builds with SAVE=1 no longer re-archive every unfrozen URL on every run.
9
+
10
+ ### Bug Fixes
11
+
12
+ * only SavePageNow on CDX miss [[#59](https://github.com/Texarkanine/jekyll-highlight-cards/issues/59)] ([#60](https://github.com/Texarkanine/jekyll-highlight-cards/issues/60)) ([013ab78](https://github.com/Texarkanine/jekyll-highlight-cards/commit/013ab78bfa1f01ecc063c2dbaf8f5c3cd9c318a2))
13
+
3
14
  ## [2.2.0](https://github.com/Texarkanine/jekyll-highlight-cards/compare/v2.1.0...v2.2.0) (2026-08-02)
4
15
 
5
16
 
data/README.md CHANGED
@@ -152,7 +152,7 @@ export JEKYLL_HIGHLIGHT_CARDS_ARCHIVE=1
152
152
  | Flag | Description |
153
153
  |------|-------------|
154
154
  | `JEKYLL_HIGHLIGHT_CARDS_ARCHIVE` | Enable build-time lookup to see if there is an IA snapshot available |
155
- | `JEKYLL_HIGHLIGHT_CARDS_ARCHIVE_SAVE` | Also submit the URL to SavePageNow (runs even when CDX already found a snapshot) |
155
+ | `JEKYLL_HIGHLIGHT_CARDS_ARCHIVE_SAVE` | On CDX miss, also submit the URL to SavePageNow (skipped when a snapshot already exists) |
156
156
 
157
157
  You can selectively skip archive attempts for URLs that match site-configured regexes. Patterns are matched against the full URL string; use anchors when needed.
158
158
 
@@ -31,7 +31,7 @@ module JekyllHighlightCards
31
31
  ArchiveHelper.archive_cache[url] ||= begin
32
32
  archive_url = lookup_archive(url)
33
33
 
34
- archive_url = submit_archive(url) || archive_url if archive_save_enabled?
34
+ archive_url = submit_archive(url) if archive_url.nil? && archive_save_enabled?
35
35
 
36
36
  archive_url
37
37
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module JekyllHighlightCards
4
- VERSION = "2.2.0"
4
+ VERSION = "3.0.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-highlight-cards
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Texarkanine