Skip to content

Instantly share code, notes, and snippets.

@evancz
Last active October 7, 2018 01:05
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save evancz/9031e37902dfaec250a08a7aa6e17b10 to your computer and use it in GitHub Desktop.
Save evancz/9031e37902dfaec250a08a7aa6e17b10 to your computer and use it in GitHub Desktop.

Legacy Packages - Search

All documentation is available on the website at https://package.elm-lang.org/packages/AUTHOR/PROJECT/VERSION/, but the search is implemented in a way that will only show 0.19 packages.

Why? In effort to reduce the amount of data sent to the search page, the new server creates a list of all the packages published with 0.19 to populate the search page. It also trims out a bunch of version information, which is especially helpful for packages with 20+ major releases. So this ends up being quite a bit smaller! This change happened before the elm-lang to elm name change though, so this ended up being much more disruptive than it appeared at the time. The root architecture changes in the server would be relatively risky to mess with, so instead, a community member made an alternate search that works for folks working with 0.18.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment