Skip to content

Commit 5f93f3e

Browse files
authored
Bump v0.2.0 (#15)
* Bump v0.2.0 * Update changelog
1 parent 5a9e8e3 commit 5f93f3e

File tree

6 files changed

+15
-5
lines changed

6 files changed

+15
-5
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
## 0.2.0
2+
3+
### Breaking Changes
4+
5+
- Updated models to use `DateTime` type and `ChargeStatus` enum for `Token` response.
6+
- Made `CreateTokenRequest` class mutable for easier frontend manipulation.
7+
8+
### Enhancements
9+
10+
- Expose enum and exception classes for external usage.
11+
112
## 0.1.0
213

314
- Initial version.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ To use the package, first add it to your project by including the following in y
1414

1515
```yaml
1616
dependencies:
17-
omise_dart: ^0.1.0
17+
omise_dart: ^0.2.0
1818
```
1919
2020
Then, run:

lib/src/package_info.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ class PackageInfo {
1111
/// The version of the package.
1212
///
1313
/// This constant holds the package's version as defined in `pubspec.yaml`.
14-
static const String packageVersion = '0.1.0';
14+
static const String packageVersion = '0.2.0';
1515
}

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: omise_dart
22
description: A Dart SDK that serves as an API wrapper for the Omise API.
33

4-
version: 0.1.0
4+
version: 0.2.0
55
repository: https://github.com/omise/omise_dart
66

77
environment:

test/package_info_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ void main() {
88
});
99

1010
test('should return correct package version', () {
11-
expect(PackageInfo.packageVersion, '0.1.0');
11+
expect(PackageInfo.packageVersion, '0.2.0');
1212
});
1313
});
1414
}

test/services/capability_api_test.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import 'dart:convert';
22

33
import 'package:http/testing.dart';
44
import 'package:omise_dart/omise_dart.dart';
5-
import 'package:omise_dart/src/exceptions/omise_api_exception.dart';
65
import 'package:omise_dart/src/omise_http_client.dart';
76
import 'package:omise_dart/src/services/capability_api.dart';
87
import 'package:test/test.dart';

0 commit comments

Comments
 (0)