Skip to content

Commit

Permalink
Updated Changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
khaf committed Feb 17, 2015
1 parent e1ee50e commit 5c1cb88
Showing 1 changed file with 30 additions and 3 deletions.
33 changes: 30 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,38 @@
# Change history

## Feb 13 2015 : v1.4.0
## Feb 17 2015 : v1.4.0

This is a major release, and makes using the client much easier to develop web applications.
This is a major release, and makes using the client much easier to develop applications.

* **New Features**

* Added Marshalling Support.
* Added Marshalling Support for Put and Get operations. Refer to [Marshalling Test](client_object_test.go) to see how to take advantage.
Same functionality for other APIs will follow soon.
Example:
```go
type SomeStruct struct {
A int `as:"a"` // alias the field to myself
Self *SomeStruct `as:"-"` // will not persist the field
}

type OtherStruct struct {
i interface{}
OtherObject *OtherStruct
}

obj := &OtherStruct {
i: 15,
OtherObject: OtherStruct {A: 18},
}

key, _ := as.NewKey("ns", "set", value)
err := client.PutObject(nil, key, obj)
// handle error here

rObj := &OtherStruct{}
err = client.GetObject(nil, key, rObj)
```

* Added `Recordset.Results()`. Consumers of a recordset do not have to implement a select anymore. Instead of:
```go
recordset, err := client.ScanAll(...)
Expand Down Expand Up @@ -37,6 +63,7 @@
}
}
```

Use of the old pattern is discouraged and deprecated, and direct access to recordset.Records and recordset.Errors will be removed in a future release.

* **Improvements**
Expand Down

0 comments on commit 5c1cb88

Please sign in to comment.