Skip to content

Latest commit

 

History

History
199 lines (144 loc) · 7.82 KB

CHANGELOG.md

File metadata and controls

199 lines (144 loc) · 7.82 KB

Changelog

Changed

  • Extended support for description on frontpage, with corpus updates #341
  • The "medial part" option now includes first/last parts also for lemgram search #347
  • Improved UI reactivity for Simple search
  • Removed globals – import them instead:
    • settings
    • currentMode
    • currentModeParallel
    • model
    • CorpusListing
    • ParallelCorpusListing
    • regescape
    • unregescape
    • safeApply
  • Renamed localization functions (just like the template filters):
    • getLocaleString to loc
    • getLocaleStringObject to locObj
    • translateAttribute to locAttribute
  • Renamed lemgram/saldo functions:
    • lemgramToString to lemgramToHtml
    • lemgramToPlainString to lemgramToString
    • isLemgramId to isLemgram
    • saldoToString to saldoToHtml
    • saldoToPlaceholderString to saldoToString
  • Converted from window.util props to exported members:
    • loc, locObj, locAttribute
    • lemgram/saldo functions
    • setDownloadLinks
    • httpConfAddMethod, httpConfAddMethodAngular, httpConfAddMethodFetch
    • collatorSort
  • In locAttribute, moved the optional lang parameter last
  • Revised number formatting:
    • Removed formatDecimalString and prettyNumbers
    • Added formatRelativeHits to format a number with exactly one decimal
      • All occurrences of relative hit counts now use this
    • Added hitCountHtml to consistently format a relative+absolute tuple
  • Deprecated global locationSearch in favor of using $location directly
  • Removed global searchHash in favor of using $location directly
  • Added angularLocationSearch to expose $location.search to code outside Angular
  • Removed map layer "Stamen Watercolor" #339

Fixed

  • Correct order of numbers in trend diagram table (first relative, then absolute)
  • Update number formatting in statistics table when switching language
  • Disable Trend diagram and Map buttons while waiting for statistics search to finish #346
  • Strip HTML from total hits in annotated KWIC dowload
  • Fix dynamic translation for tabs etc
  • Modes in "More" menu sorted locale-awarely
  • Allow dash in attribute name

9.5.3 - 2024-03-11

Added

  • Add content hash to bundle.js to fix caching #318
  • Add relative hits to map view #52
  • Allow static corpus config

Changed

  • Do not say "Results: 0" while loading
  • Switch from PEG.js to its successor Peggy

Fixed

  • Unnecessarily complex query when combining initial/medial/final part #235
  • Disable "Show map" button if no location data is available #238
  • Drop console error when loading page without cqp param

Removed

  • Dependency jquery-deparam
  • Dependency jReject

9.5.2 - 2024-02-21

Added

  • Basic visitor analytics with Matomo #149

Changed

  • The "in order" option is inverted, so it is now "in free order" and unchecked by default (but still in_order in the URL query param and in the API)
  • The checkbox of said option no longer gets disabled in Extended mode
  • Replaced NODE_ENV with our own variable ENVIRONMENT to properly allow the "staging" value

Fixed

  • Parallel sentence alignment #323
  • Trend diagram subquery with repetition #288
  • Restore lab logo

Removed

  • Automatic disabling of the "Show statistics" checkbox

9.5.1 - 2024-02-12

Changed

  • Logos with taglines

Fixed

  • Improve UX for "in order" option #335
  • Unnecessary scrollbars in the corpus selector info panel #333
  • Bug with undefined arguments
  • On repetition error (all tokens repeat from 0), restore red outline for input
  • Use <match> to constraint CQP subqueries (from statistics rows etc)

9.5.0 - 2023-01-22

Added

  • A GitHub action to check the build
  • Add support for "not in order" in extended and advanced search #17
  • The stats_rewrite setting for altering the statistics table

Changed

  • Logo changes: New Korp, new Språkbanken Text, replaced Swe-CLARIN with University of Gothenburg, new Karp icon #329
  • The search history selector has been moved down to the search tab bar

Fixed

  • Resolve folder name in corpus param #13
  • Long URLs in sidebar are always presented as http:// links #330
  • Enable newer ChromeDriver versions for testing #331

9.4.4 - 20231031

Bug fixes

9.4.3 - 20230531

Bug fixes

9.4.2 - 20230515

Bug fixes

9.4.1 - 20230427

Changed

  • Improvements for instances running the frontend without run_config.json
  • Improved error handling

Bug fixes

9.4.0 - 20230404

Changed

  • It is now possible to run the development server using HTTPS, see README.md.
  • Authentication was refactored to make it possible to switch implementations.
  • A new kind of authentication was added - "federated" authentication using redirection to login and JWT tokens.
  • The initializaiton of the app was refactored, most of the work was moved to app/scripts/data_init.js.
  • All dependencies (includeding development) was updated to the latest version. Notably, Webpack was upgraded to version 5.
  • Huge refactor where the last remaining pieces of pug markup language was removed. Simultaneous conversion of old markup+controllers/directives Angular components.
  • Babel was removed from the build process. We now rely on making sure not to use too new features by ourselves.
  • Support for hiding labels in sidebar - sidebar_hide_label.
  • User manual available in English.
  • Modes may use a description-field to show some information in the blank space under the search alternatives.
  • Escape backslashes when doing "regescaping".
  • Generally lots of refactoring, mostly creating Angular.js components where possible.

Notable bug fixes

  • Most bug fixes was related to the refactoring breaking things
  • Lots of bug fixes for the sidebar