1. 11 Feb, 2020 3 commits
  2. 10 Feb, 2020 3 commits
  3. 06 Feb, 2020 1 commit
  4. 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
  5. 16 Dec, 2019 1 commit
  6. 15 Dec, 2019 3 commits
  7. 05 Dec, 2019 7 commits
  8. 03 Dec, 2019 4 commits
  9. 02 Dec, 2019 1 commit
  10. 22 Nov, 2019 5 commits
  11. 11 Nov, 2019 2 commits
  12. 01 Oct, 2019 3 commits
  13. 27 Sep, 2019 6 commits