Skip to content

v3.0.0

Latest

Choose a tag to compare

@TrumanBlurbank TrumanBlurbank released this 05 Dec 18:43

Note

Why a major version? Version 3.0.0 marks a change in how this project is developed rather than a breaking change in the site itself.
From this release on, most of the work is written with the help of an AI coding assistant: 172 of the 195 commits since v2.6.0 are co-authored by Claude Opus 5.5 (Anthropic), as stated in their Co-Authored-By trailer.
Each change is reviewed and committed by the maintainer. We bump the major version to make this new way of working visible to users and contributors.

🚀 Features

  • (api) Cap per page parameter to 100 (cd3d257)
  • (merchant_proposals) Add contact_nostr field to the proposal form (286437c)
  • (reports) Report articles through a unified Github issue flow (011dece)
  • (merchants) Move category aliases and icons to YAML files (670e006)
  • (i18n) Translate stored merchant categories (b96ede2)
  • (themes) Force the Christmas time with the christmas URL parameter (631b4ac)
  • (ui) Display the country flags on Windows with a self-hosted flags font (ce6dd9c)
  • (errors) Add the public 429.html page for rate limited requests (3c6cfa9)
  • (admin) Translate the impersonation texts (77dff02)

🐛 Bug Fixes

  • (merchants) Escape LIKE wildcards in merchant search (f3f859d)
  • (merchant_proposals) Permit crowdbunker and francelibretv contacts (aedfd9f)
  • (concerns) Extend ActiveSupport::Concern in Merchandable (543f5f2)
  • (directories) Do not mutate coins argument in by_coins scope (cbb4939)
  • Restrict abbr title content display to mobile devices (fbdfdac)
  • (directories) Normalize social network contact ways (db91ccb)
  • (api) Parse with_atms as strict boolean to avoid cache key collision (65c8c6b)
  • (comments) Find merchant commentable by param instead of split identifiers (6078a1b)
  • (merchant_syncs) Skip success broadcast on failure and retry Timeout::Error (6ff8517)
  • (merchants) Expose contact_nostr in decorator, API blueprint and swagger (3b707d1)
  • (github) Rescue only GithubAPI::Error in issue controllers (2026eb9)
  • (maps) Properly encode the GPX Content-Disposition header (e76e792)
  • (help) Show table_view_subtitle and drop the map view shortcut (1daceb1)
  • (i18n) Sync locales and remove unused keys (53b1e11)
  • (merchants) Restrict manual sync to the back-office (839738d)
  • (statistics) Extend ActiveSupport::Concern in Statisticable (728fd6b)
  • (nostr) Publish the same signed event on every relay (9f4acda)
  • (nostr) Ignore relay responses that did not accept the event (9ab9adb)
  • (maps) Toggle the merchant popup on marker click (9099888)
  • (comments) Find the reported merchant from its param (c16c86a)
  • (jobs) Forward keyword arguments in CallableJob (288751f)
  • (merchants) Add missing tickers in MerchantDecorator#ticker_coins (45063e4)
  • (directories) Match foreign regions in AroundMeFilter (b17d2ad)
  • (articles) Share blogs and projects with their own URL (7b2fab2)
  • (ecosystem) Validate the type and size of item pictures (37aa955)
  • (models) Purge removed attachments after commit (ccdbf97)
  • (maps) Allow fitting bounds before markers are loaded (926167b)
  • (js) Stop the debt clock animation on disconnect (7125fcc)
  • (admin) Broadcast merchant sync steps in every locale (4467d9f)
  • (admin) Hide the deleted merchants from the merchants index (ddfd1ca)
  • (questions) Handle a missing level in BuildResponse and BuildServices (fc07508)
  • (retry) Use an exponential backoff and wait by default in Retry (79a4aea)
  • (glossary) Only fall back to the default locale for a missing file (f5a3cd2)
  • (a11y) Keep Ctrl + arrows for the caret in text fields in pagination_controller (60f957e)
  • (a11y) Ignore the hotkeys typed in selects and editable elements (26cfdfa)
  • (a11y) Name the auto theme radio after the system theme (14b2689)
  • (a11y) Stop announcing every countdown tick to screen readers (45ef561)
  • (a11y) Add a skip link to the main content and a landmark to the main menu (e84045a)
  • (a11y) Translate the hardcoded accessible names (421ccf2)
  • (a11y) Name the language switcher button after the current language (55af57a)
  • (a11y) Label the search field and announce the results count (407c48b)
  • (a11y) Name the form fields labelled only by a placeholder (ecc6853)
  • (a11y) Ignore Shift + H typed in text fields in settings_controller (6528881)
  • (a11y) Name the modals after their title (0320296)
  • (a11y) Open the tooltips on keyboard focus (6ba7166)
  • (a11y) Hide the decorative coin logos from screen readers (8084741)
  • (a11y) Show the focus outline of the search field (a1f1149)
  • (a11y) Name the links of the authenticated floating menu (f37fbbe)
  • (a11y) Enable the single key shortcuts with Shift + H only (a5e1412)
  • (admin) Open the language dropdown upwards from the bottom of the sidebar (1527382)
  • (js) Remove the same toggle listener on disconnect in directory_friends_controller (7a7f2ae)
  • (map) Delegate the change listener of the filters to remove it on disconnect (268ff7e)
  • (js) Clear the label reset timeout on disconnect in clipboard_controller (438a63d)
  • (map) Stop loading the markers once the map controller is disconnected (d0e8df8)
  • (christmas) Add the snowflakes listeners only once (e211b78)
  • (map) Update the GPX export form instead of a missing link after filtering (95811b0)
  • (admin) Restrict Admin::UserPolicy rules to super admins (8313150)
  • (directories) Prevent XSS through unsafe URL schemes in ContactWay (f5d99a8)
  • (auth) Revoke sessions of disabled users and on password change (53494c1)
  • (addresses) Restrict the geocoding lookups of Addresses::SearchesController (a465754)
  • (itineraries) Rate limit the creation of itineraries (3cd0a93)
  • (api) Only read the API token from the Authorization header (17e9c6c)
  • (maps) Only store website URLs as map_referer_url (a49fe1d)
  • (security) Hash the IP with a secret key in encrypted_ip (0e82da6)
  • (admin) Require the current password to update the profile (4624b1a)
  • (auth) Expire sessions after Session::DURATION (17c11b4)
  • (rails_pulse) Only allow active sessions of enabled users (2dea39b)
  • (spam) Rate limit the submissions of the public forms (2160b44)
  • (jobs) Re-enable the rake task on each run in RakeTaskJob (8fce2aa)
  • (public) Render the layout data for Accept: */* requests (6462f59)
  • (i18n) Restore the freedom_grocers translation of the directory friends (2e19c25)
  • (theme) Apply the dark variant to the system dark theme (f26be6a)
  • (theme) Use primary-content on hovered and keyboard focused cards (74885d9)
  • (map) Show individual markers from zoom 14 on the maps (998f072)
  • (a11y) Make the pretty checkboxes keyboard-operable (25abb8b)
  • (map) Reload the embed map preview only when the generated URL changes (101c0ab)
  • (a11y) Put the tutorial and blog list links inside their headings (d532aa4)
  • (search) Trim the results summary text, formatted on several lines by Herb (83cc43b)
  • (markdown) Render the mermaid diagrams with the Commonmarker 3 code blocks (34d80a4)

🚜 Refactor

  • (merchants) Add Merchant.find_by_param! to parse identifier params (2a9955c)
  • (faqs) Add FAQ.by_category to filter FAQs (b84f11f)
  • (map) Simplify coin scopes combination in FilterMerchants (ea44809)
  • (css) Split Tailwind stylesheet into base, utils and components files (74f9b57)
  • (social) Describe each platform once in SocialUrlPrefixer (e5c9b1f)
  • (merchant_syncs) Use public_send to read and write payload attributes (45f75ac)
  • (helpers) Build HTML with tag and safe_join instead of raw strings (b3e5b2b)
  • Prefer positive?, any? and values_at idioms (8580a4d)
  • (front) Modernize tooltip partial, snowflakes markup and JavaScript (e972da5)
  • (front) Replace Mermaid with Pele for diagram rendering (4ddf514)
  • (controllers) Extract SpamTrap concern for honeypot checks (6805363)
  • (admin) Extract localized_attributes helper for Mobility params (f3ca0c9)
  • (github) Extract GithubIssue base class for issue services (92a5e41)
  • (api) Infer model and id from relation and blueprint in APIResponder (914cccb)
  • (merchant_syncs) Extract run_step into Mixin::SyncSteppable (dbb8820)
  • (merchants) Single source for social networks and coin mappings (370874a)
  • (maps) Introduce MerchantSearchCriteria value object for filters and cache key (86447d4)
  • (directories) Validate display mode like the map (ee26ea5)
  • (decorators) Compare timestamps directly in updated? (0e90427)
  • (merchants) Single source for outdated thresholds (bd1fb91)
  • (merchants) Move MerchantData to Merchants::FeatureMapper (6e0a40d)
  • (seo) Map every category to a schema.org type in YAML (32844d5)
  • (directories) Share delivery zone matching between filters (ebde8ac)
  • (articles) Share article pages logic in an Articlable concern (fcf9b3c)
  • (seo) Build article breadcrumbs JSON-LD generically (c509ff9)
  • (models) Share attachment removal in RemovableAttachments (9446493)
  • (maps) Share merchant markers in MapBaseController (f5e08a0)
  • (merchants) Clarify the soft delete of merchants removed from OSM (76083f8)
  • (admin) Share the merchant syncs admin broadcasts (e2025be)
  • (themes) Simplify the Christmas time check in ThemesFinder (477940b)
  • (cache) Expire the merchants caches with Merchant.cache_version (626e9b4)
  • (merchants) Split FilterMerchants#call into small steps (e507aaa)
  • (admin) Order the merchants index with an explicit reorder (b17169f)
  • (controllers) Rename clean_url to url_without_blank_params (886fc29)
  • (helpers) Rename clean_url to display_url (5f90d45)
  • Remove the unused Findable::SANITIZER and Contact#contact (b2f0994)
  • (opening_hours) Rely on I18n to detect unknown days in OpeningHoursParser (445b0ba)
  • (blogs) Move the France debt data into its blog view (ebc6c17)
  • (merchants) List the patched territories in AssignCountry::COUNTRY_CODES_BY_NAME (90561bf)
  • (questions) Remove the unused profile param from BuildLevels and BuildServices (025769e)
  • (questions) List the services by level in BuildServices::SERVICES_BY_LEVEL (42afc2c)
  • (questions) Map the services to their tutorial in BuildResponse::TUTORIAL_BY_SERVICE (e7def91)
  • (flash) Extract the flash classes into flash_classes (3087a46)
  • (announcements) Extract announcement_external_link? (c5a2432)
  • (delivery_zones) Extract formatted_geocoder_location (e448cb8)
  • (policies) Check roles through ApplicationPolicy#user_role? (79bb7ac)
  • (auth) Stop rescuing every error when resuming a session (3d05be3)
  • (map) Merge the pathname builders of map_controller.js (b15f7a5)
  • (js) Make internal methods of countdown and debt clock private (ac5dfd4)
  • (faqs) Build FAQ links without mutating the answer (2b6da01)
  • (theme) Replace the dark theme workarounds with the dark variant (ea6c1c7)
  • (maps) Move osrm_text_instructions to lib/ and translate it (9c02aa2)
  • (admin) Replace the pretender gem with an Impersonation concern (a6013ca)
  • (logs) Replace the logstop gem with LogScrubber (436924a)
  • (views) Replace the rails_autolink gem with AutoLinker (cf66552)

📚 Documentation

  • (blogs) Explain why the CBDC timeline is loaded in its partial (a5694dd)
  • (faqs) Remove the manual merchants refresh from the FAQ (86b0ddc)
  • (licenses) Credit OpenStreetMap and the Overpass API for the merchants (76b0fed)

⚡ Performance

  • (directories) Paginate in SQL before decorating (bf8176a)
  • (welcome) Pick random merchants sample in SQL (4d93b03)
  • (findable) Cache parsed YAML rows per class and locale (bd94ba9)
  • (merchants) Cache filtered ids instead of a lazy relation (b8120d4)
  • (admin) Use comments counter cache and preload logos in merchants list (36baf83)
  • (merchants) Compute ratings once per merchant (f72a60e)
  • (merchant_syncs) Reduce queries in diff step and cache invalidation (aa926a2)
  • (statistics) Group area statistics and cache counts instead of relations (638e8fd)
  • (api) Preload enabled associations and comments for directories (6c76158)
  • (maps) Cache Merchant.available_countries for country selects (7c80b33)
  • (directories) Preload enabled associations to fix N+1 on listings (28e9b61)
  • (merchant_syncs) Index @current_features by OSM id in FetchMerchants (b2f87b2)
  • (merchant_syncs) Search MerchantSync payloads in SQL (bf068e4)
  • (public) Only load the layout data for full page requests (5ae125a)
  • (models) Cache the parsed YAML files with YamlLoadable (5a137a2)
  • (articles) Cache the searchable text of the articles in Findable.by_query (13c569c)
  • (maps) Speed up the GPX export and remove its 1000 merchants limit (eee151e)

🎨 Styling

  • (maps) Follow JavaScript conventions in map controllers (1d9ab95)
  • (js) Use #private methods in countdown and debt clock controllers (67fc1e0)
  • (faqs) Show the categories above the question and separate the answer (cf4a002)
  • (theme) Darken the light primary and the info and error contents for WCAG AA (397d0d8)
  • (a11y) Raise the contrast of pale texts and daisyUI soft variants (aa4f807)
  • (kyc) Scale the KYC badge text with the badge size and fix the no-KYC contrast (187a4f4)
  • (a11y) Add strong success, warning and error colors for icons and texts (8686569)
  • (a11y) Raise the remaining 60% opacity texts and the search category badge (ea3c385)
  • (a11y) Give the coin badges a focus ring in their color, like daisyUI buttons (c8b4a00)
  • (css) Move the link transition into @layer base and add a default focus ring (79ae9bc)
  • (a11y) Remove the daisyUI ring from card-lift cards and target their transition (3a5875c)
  • (search) Show the clear button inside the search field once it has a text (2cdf792)
  • (search) Draw the focus ring of the results inside the rows, like the search field (04794f1)
  • (css) Move the link styles into @layer base and drop the ! they required (a1f9ae3)

🧪 Testing

  • (geocoder) Stub realistic and varied results for the whole suite (163e27b)
  • (api) Check the title and detail of not found errors (e2d642c)
  • (fetch_merchants) Cover the JSON attachment error (8975a8f)

⚙️ Miscellaneous Tasks

  • (ci) Only ensure latest brakeman version when BRAKEMAN_ENSURE_LATEST is set (e00f20c)
  • Remove dead code (3169c74)
  • (dev) Reload code when a db/yaml file changes (2527942)
  • (ruby) Update Ruby to 4.0.10 (6a18d7a)
  • (rubocop) Use the ActiveSupport inflector for spec file paths (2dfb9ee)
  • (debugbar) Remove the debugbar gem and its configuration (e9039ec)
  • (rails_pulse) Remove the rails_pulse gem and drop its tables (e5dc5ad)
  • (models) Show the enum defaults in the MerchantSync and MerchantSyncStep annotations (304e309)

Full Changelog: v2.6.0...v3.0.0