Skip to content

Commit

Permalink
docs(changelog): Update Changelog.
Browse files Browse the repository at this point in the history
  • Loading branch information
smith8h committed Sep 8, 2023
1 parent 93bcde7 commit 274d7fd
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@

- New `addParam` method to add param separately.
- New `paramsType` method to set params type as body or params.
- Rename `params` to `addParams` and remove params type argument to `paramsType` method.
- New `addHeader` method to add headers separately.

**Full Changelog**: [v4.0...v4.1](https://github.com/smith8h/SConnect/compare/v4.0...4.1)
- Rename `headers` to `addHeaders`.
-
**Full Changelog**: [v4.0...v4.1](https://github.com/smith8h/SConnect/compare/v4.0...v4.1)

## v4.0

Expand All @@ -18,7 +20,7 @@
- Replace `throw Exceptions` with `SConnectCallBack.onFailure` callback.
- Update `okhttp, okio` and `gson` dependencies.

**Full Changelog**: [v3.3...v4.0](https://github.com/smith8h/SConnect/compare/v3.2...4.0)
**Full Changelog**: [v3.3...v4.0](https://github.com/smith8h/SConnect/compare/v3.3...v4.0)

## v3.3

Expand All @@ -28,33 +30,33 @@
- Added Javadoc to `SResponse.Map` class.
- README Docs updated.

**Full Changelog**: [v3.2...v3.3](https://github.com/smith8h/SConnect/compare/v3.2...3.3)
**Full Changelog**: [v3.2...v3.3](https://github.com/smith8h/SConnect/compare/v3.2...v3.3)

## v3.2

- new `forEach(..)` loop to iterate through items in array response & keys and values in map response.
- new `tag(..)` method to recognize connections without using tags inside post, delete, put and get methods.

**Full Changelog**: [v3.1...v3.2](https://github.com/smith8h/SConnect/compare/v3.1...3.2)
**Full Changelog**: [v3.1...v3.2](https://github.com/smith8h/SConnect/compare/v3.1...v3.2)

## v3.1

- `runOnUiThread` replaced to `Handler` due to some bugs occurred in Service classes.
- `Map<String, String>` replaced to `Map<String, Object>` in headers and params.

**Full Changelog**: [v3.0...v3.1](https://github.com/smith8h/SConnect/compare/v3.0...3.1)
**Full Changelog**: [v3.0...v3.1](https://github.com/smith8h/SConnect/compare/v3.0...v3.1)

## v3.0

- Fix some bugs.
- Code and implementation improvements.

**Full Changelog**: [v2.0...v3.0](https://github.com/smith8h/SConnect/compare/v2.0...3.0)
**Full Changelog**: [v2.0...v3.0](https://github.com/smith8h/SConnect/compare/v2.0...v3.0)

## v2.0

- `response(...) {...}` method in SConnectCallBack updated to `onSuccess(SResponse response, String tag, HashMap<String, Object> headers) { ...}`
- `responseError(...) {...}` method in SConnectCallBack updated to `onFailure(SResponse response, String tag) { ...}`
- new `SResponse` class to parse and deal with json response.

**Full Changelog**: [v1.0...v2.0](https://github.com/smith8h/SConnect/compare/v1.0...2.0)
**Full Changelog**: [v1.0...v2.0](https://github.com/smith8h/SConnect/compare/v1.0...v2.0)

0 comments on commit 274d7fd

Please sign in to comment.