Skip to content

Releases: BrainlessLabs/bun

Convert Object with Vectors to JSON and From JSON to Objects

13 Jan 15:36
9ec27b8
Compare
Choose a tag to compare

Following new changes were added:

  1. Convert an object with Vectors into JSON and Messagepack.
  2. Convert a messagepack and JSON into an object.
    NOTE: This release do not persist vectors into DB yet.

Messagepack conversion(To message pack and from message pack)

20 Oct 09:08
a168a54
Compare
Choose a tag to compare
  1. Objects can be converted to messagepack
  2. Objects can be converted into messagepack
  3. Added some examples

Range Based Lazy Iteration Added for Object Store and Key-Value store

13 Aug 10:06
2d4f6c2
Compare
Choose a tag to compare

Apart from the features of the v1.3.0-alpha it has the examples changed and also few warnings removed from kv.hpp

Range Based Lazy Iteration Added for Object Store and Key-Value store

10 Aug 15:18
087e484
Compare
Choose a tag to compare

This brings new features to Bun.

  • Adding iteration for the ORM. This supports lazy loading. So the data is loaded in pages to the ORM. Range-based for loop is supported and preferred.
  • Support for range-based for loop is added for the key-value store too.

Fix release for Mac and Linux

01 Aug 08:44
4439a8c
Compare
Choose a tag to compare
Pre-release

Fixes were done for Mac and Linux platforms.

v1.2.0-alpha - Adding the key value store. The default key value store is Unqlite.

17 Jul 17:26
d41af5e
Compare
Choose a tag to compare

v1.2.0-alpha - Adding the key value store. The default key value store is Unqlite.

Adding option to configure

18 May 19:23
94857cd
Compare
Choose a tag to compare
Pre-release
  • Adding unique constraint.
  • This is going to be a DSL

Support for embedded objects

04 Apr 19:51
19beb2e
Compare
Choose a tag to compare
Pre-release
  • Embedded object support
struct Child {
	int cf1;
	Child(const int cf = -1) : cf1(cf) {}
	Child& operator=(const int i) {
		cf1 = i;
		return *this;
	}
};

struct Parent {
	int f1;
	std::string f2;
	Child f3;
	Parent() :f1(-1), f2("-1"), f3(-1) {}
};

SPECIALIZE_BUN_HELPER((Child, cf1));
SPECIALIZE_BUN_HELPER((Parent, f1, f2, f3));
  • Many performance optimizations

Postgres bugs fixed

15 Mar 12:28
8025525
Compare
Choose a tag to compare
Postgres bugs fixed Pre-release
Pre-release

Fixed bugs that prevented the library use with postgres. Added postgres example.

SOCI integration and Code cleanup

14 Mar 09:18
a8f264f
Compare
Choose a tag to compare
Pre-release

Following are some things that are implemented:

  1. SOCI Integration - This enables the use of many database backends
  2. Using Boost Fusion - Using Boost Fusion makes the code very clean, debuggable and more adaptive.
  3. Adding transactions