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