Skip to content

Releases: abellion/xenus

0.12

14 Mar 10:20
Compare
Choose a tag to compare
  • The Xenus\Collection constant properties NAME and DOCUMENT became protected properties.
  • The way relationships are loaded can be customized via the resolve() method of the Xenus\Collection class.

0.11.1

13 Mar 17:44
Compare
Choose a tag to compare

This release fixes a bug on case sensitive filesystems.

0.11

10 Mar 17:29
Compare
Choose a tag to compare

Relationships have landed ! Check out the documentation for more informations.

  • The Xenus\Collection protected properties name and document became constant properties.
  • The Xenus\Collection class is no longer abstract. You can instantiate it by giving an array of options as a second argument.
  • All of the Xenus\Collection methods returning a MongoDB Cursor now return a Xenus\Cursor having the same methods as the original cursor.
  • The Xenus\Document now provides accessors for an _id property.

0.10

28 Jan 19:34
Compare
Choose a tag to compare
  • The Xenus\Document::embed() method has been removed. Use the Xenus\Support\Embed utility instead.
  • The Xenus\Support\Embed utility has been added.
  • The Xenus\Support\Transform utility has been added.

0.9

17 Dec 18:17
Compare
Choose a tag to compare
0.9
  • The Xenus\Collection class now ineriths from the MongoDB\Collection class.
  • The Xenus\Collection\CRUDMethods has been removed and its methods have moved into the Xenus\Collection class.
  • The Xenus\Collection::findOne(), Xenus\Collection::updateOne(), Xenus\Collection::deleteOne() and Xenus\Collection::replaceOne() methods can take a MongoDB\BSON\ObjectID as a filter argument.
  • The Xenus\Document type hint has been removed from the Xenus\Collection::insert(), Xenus\Collection::update() and Xenus\Collection::delete() methods.

0.8

03 Dec 19:12
Compare
Choose a tag to compare
0.8
  • The Xenus\Document::get() method can take as a second argument the default value to give in case the given key doesn't exist within the document.

0.7.2

10 Mar 16:39
Compare
Choose a tag to compare
  • The Xenus\Document::with() no longer includes the _id field by default.
  • The Xenus\Document::without() no longer includes the _id field by default.

0.7.1

10 Mar 16:43
Compare
Choose a tag to compare
  • The Xenus\Document::with() method now returns the higher document's instance.
  • The Xenus\Document::without() method now returns the higher document's instance.

0.7

10 Mar 16:47
Compare
Choose a tag to compare
0.7
  • The Xenus\Document has two new methods : with() and without().
  • The Xenus\Collection::select() method has been renamed to find().

0.6.1

10 Mar 16:49
Compare
Choose a tag to compare

This release add documentation blocks on top of the library methods.