Skip to content

Releases: jameslittle230/stork

v1.2.0

22 Apr 02:26
Compare
Choose a tag to compare

New Features

  • Stork can now index content from the web. (When the docs are available, a link to the docs will be here!) #146
  • Stork's command line interface has been redesigned and rewritten, with backwards-compatible shims added where needed. #160
    • This change deprecates the filename key in the output configuration.

Quality of Life Improvements

  • If you index a file and get an empty buffer, Stork will let you know there might be a problem. #147
  • Adds debug method to JS interface #161
  • Improves command line output, especially for errors #160
  • Adds a new break_on_file_error configuration option to stop indexing when first file fails, rather than continuing without the erroring file. #160

Bug Fixes

v1.1.0

15 Feb 23:26
Compare
Choose a tag to compare

New Features

  • Added self-hosting support. Read the self-hosting documentation to learn more.
  • Added Javascript lifecycle methods to give you control over when the WASM downloads, when the index file is downloaded, and when Stork attaches to the DOM. This will greatly improve the Stork experience when using React-based static site generators, such as Next.js or Gatsby. Read the Advanced JS documentation to learn more.
  • New Javascript API method for searching an index without requiring that you use Stork's UI. If you want to build your own Stork UI from scratch, this is the method for you. The Advanced JS documentation link will help you get started with this, too.
  • New Javascript configurations:
    • onResultsHidden - Callback that gets called when the results are hidden, when the user presses esc or clicks on the close button
    • onInputCleared - Callback that gets called when the input is cleared, when the user presses esc twice
    • showCloseButton - Boolean to determine whether the close button is visible or not
  • Stork can now take in a configuration file that's piped into the $ stork --build command, instead of requiring that you pass in a file path.

v1.0.4

10 Jan 18:46
5bb61d0
Compare
Choose a tag to compare

Bug Fixes:

  • The html_selector option in the configuration file wasn't being parsed correctly, leading to the feature seemingly not working

Enhancements:

  • Better error message when there are no valid files

v1.0.3

02 Jan 17:13
Compare
Choose a tag to compare

Bug Fixes:

  • Javascript library was erroring incorrectly if the output HTML element could not be found
  • Javascript library was adding stray elements to the DOM while the index was loading

Enhancements:

  • Hyphens are now treated the same as spaces for indexing and searching purposes. In effect, you can now search for avon and it will match the term Stratford-upon-Avon in your index.
  • Stork used to fail the entire indexing process if there was an error parsing a single file. Now, it will collect those errors and present them in the console, but still build an entire index with the remaining files.

Note: Javascript bug fixes get applied automatically if you're loading the Stork library from files.stork-search.net.

v1.0.2

29 Dec 21:26
637dca8
Compare
Choose a tag to compare

Bug Fixes:

  • Fix highlight offsets when excerpt contains multi-byte characters. Requires that you re-build your index. (Thanks for reporting, @DanilaFe!)

Error Improvements:

  • Describe which HTML selector cannot be found when an HTML document fails to index.
  • Collect and display indexing errors instead of failing early (Thanks for suggesting, @fauno!)

v1.0.1

28 Dec 21:02
b0f9a10
Compare
Choose a tag to compare

Bug fixes:

  • Some browsers wouldn't display results properly if you started typing before the WASM file had loaded (thanks, @reese!)
  • The indexer wouldn't index words past a certain point if the document contained non-word space-delimited tokens. For example, if your document had the contents hello - world, the word world wouldn't be indexed. (Thanks for reporting, @DanilaFe!)
  • Fix a webpack bug that was only encountered on first install

Thanks for using Stork!

v1.0.0

13 Dec 22:55
a699ab0
Compare
Choose a tag to compare

Stork 1.0.0 is here, with new features, stability improvements, and lots more speed. The major version bump signifies that Stork is officially out of beta, and that I (James, the developer) believe that it can be "production ready" on your site.

As with any Stork version bump, your Javascript library will automatically update and get you some of the latest changes, and will still work with the index you've already built. To get the full benefit of all the changes in 1.0.0, make sure to update the version of Stork that you're running, then rebuild your index.

Index Generator Updates:

  • Stork can parse HTML and Markdown input files
  • stork --test command will open a local webserver that lets you test a generated index, without having to build it
  • Sped up index generation (Thanks @DenialAdams!)

Javascript Library Updates:

  • Separated index parsing from searching in generated WASM library, which sped up searches (Thanks @DenialAdams!)
  • Javascript library adds a "Powered by Stork" UI
  • Adds event handlers to the Javascript configuration so you can define callbacks when your users search for queries and click on results

Other Improvements:

  • Reworked public interface for those using Stork as a Rust library
  • Added dark.css theme
  • New website documentation

v0.7.4

21 Sep 01:13
53ede6b
Compare
Choose a tag to compare
v0.7.4 Pre-release
Pre-release

Fixes a bug (#69) in which content wasn't being indexed after an all-punctuation word. Make sure to rebuild your index to see the effects of this fix.

v0.7.3

24 Aug 00:16
Compare
Choose a tag to compare
v0.7.3 Pre-release
Pre-release

Automatic CSS Improvements:

  • Site styles were overriding Stork's Basic theme. The stylesheet has been updated to be more specific.

Now available:

  • Ubuntu build artifact uploaded to the Github release for easy wget-ing during your static site's build process

v0.7.2

19 Jun 02:37
c8fb0be
Compare
Choose a tag to compare
v0.7.2 Pre-release
Pre-release

Bugfix:

  • On cargo install, the downloaded binary was named frontend, not stork. This has been fixed.