1. 05 Feb, 2020 1 commit
    • Steven Allen's avatar
      fix(key): only count a key as an ancestor or prefix if there is a separator · 5598edf1
      Steven Allen authored
      Also make sure to clean and normalize keys before using them as prefixes.
      
      BREAKING CHANGES:
      
      * `myds.Query(Query{Prefix:"/foo"})` will no longer match "/foobar" (or even
        "/foo"). This is usually what the user expects, we had a tendency to normalize
        "/foo/" to "/foo" (when we clean keys), and many datastores can't efficiently
        search for prefixes that aren't on path-boundaries anyways.
      * Given a mount datastore with mounts `["/foo", "/"]`, `myds.Put("/foo", "bar")`
        will put the value to the datastore mounted at "/", not "/foo", as the key "/"
        and "" usually doesn't make sense.
      
      While technically breaking, these changes are much more likely to fix bugs than
      they are to break things.
      5598edf1
  2. 16 Dec, 2019 1 commit
  3. 15 Dec, 2019 3 commits
  4. 05 Dec, 2019 7 commits
  5. 03 Dec, 2019 4 commits
  6. 02 Dec, 2019 1 commit
  7. 22 Nov, 2019 5 commits
  8. 11 Nov, 2019 2 commits
  9. 01 Oct, 2019 3 commits
  10. 27 Sep, 2019 6 commits
  11. 26 Sep, 2019 2 commits
  12. 19 Sep, 2019 2 commits
  13. 29 Aug, 2019 3 commits