Skip to content

Commit 2649728

Browse files
committed
bump to v0.3.0
1 parent 81d357a commit 2649728

File tree

6 files changed

+28
-10
lines changed

6 files changed

+28
-10
lines changed

CHANGELOG.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [0.3.0] - 2020-08-09
10+
### Added
11+
- [CLI Plugin] Primary and additional identifiers can be retrieved using the appropriate methods in base model class
12+
- [Support Library] Recast properties from string to intended primitive type based on model
13+
- [Support Library] New wrapper class for integer types (simplification from bigint)
14+
15+
### Changed
16+
- [CLI Plugin] Improve model serialization/deserialization to handle complex schemas
17+
- [Support Library] While leveraging `class-transformer` library, the properties can now be cast into proper types
18+
19+
### Removed
20+
- [Support Library] Global definitions and auxiliary code extending ES6 Map
21+
22+
923
## [0.2.1] - 2020-07-14
1024
### Fixed
1125
- [Support Library] Callback context not being properly formatted
@@ -47,7 +61,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4761
- [Support Library] Base Model class as well as Progress Event class
4862

4963

50-
[Unreleased]: https://github.com/eduardomourar/cloudformation-cli-typescript-plugin/compare/v0.2.1...HEAD
64+
[Unreleased]: https://github.com/eduardomourar/cloudformation-cli-typescript-plugin/compare/v0.3.0...HEAD
65+
[0.3.0]: https://github.com/eduardomourar/cloudformation-cli-typescript-plugin/compare/v0.2.1...v0.3.0
5166
[0.2.1]: https://github.com/eduardomourar/cloudformation-cli-typescript-plugin/compare/v0.2.0...v0.2.1
5267
[0.2.0]: https://github.com/eduardomourar/cloudformation-cli-typescript-plugin/compare/v0.1.2...v0.2.0
5368
[0.1.2]: https://github.com/eduardomourar/cloudformation-cli-typescript-plugin/compare/v0.1.1...v0.1.2

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cfn-rpdk",
3-
"version": "0.2.1",
3+
"version": "0.3.0",
44
"description": "The CloudFormation Resource Provider Development Kit (RPDK) allows you to author your own resource providers that can be used by CloudFormation. This plugin library helps to provide runtime bindings for the execution of your providers by CloudFormation.",
55
"main": "dist/index.js",
66
"directories": {

python/rpdk/typescript/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import logging
22

3-
__version__ = "0.2.1"
3+
__version__ = "0.3.0"
44

55
logging.getLogger(__name__).addHandler(logging.NullHandler())

python/rpdk/typescript/codegen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
EXECUTABLE = "cfn"
1919
SUPPORT_LIB_NAME = "cfn-rpdk"
20-
SUPPORT_LIB_VERSION = "0.2.1"
20+
SUPPORT_LIB_VERSION = "0.3.0"
2121
MAIN_HANDLER_FUNCTION = "TypeFunction"
2222
REPO_URL = "https://github.com/eduardomourar/cloudformation-cli-typescript-plugin"
2323
REPO_RELEASE_SUFFIX = f"v{SUPPORT_LIB_VERSION}/cfn-rpdk-{SUPPORT_LIB_VERSION}.tgz"

tests/lib/recast.test.ts

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,16 @@ describe('when recasting objects', () => {
6262
],
6363
};
6464
const expected = {
65-
ListSetInt: [[1, 2, 3]],
65+
ListSetInt: [new Set([1, 2, 3])],
6666
ListListInt: [[1, 2, 3]],
6767
ListListAny: [[{ key: 'val' }]],
68-
ASet: ['1', '2', '3'],
69-
AnotherSet: ['a', 'b', 'c'],
70-
AFreeformDict: { somekey: 'somevalue', someotherkey: '1' },
71-
ANumberDict: { key: 52.76 },
68+
ASet: new Set(['1', '2', '3']),
69+
AnotherSet: new Set(['a', 'b', 'c']),
70+
AFreeformDict: new Map([
71+
['somekey', 'somevalue'],
72+
['someotherkey', '1'],
73+
]),
74+
ANumberDict: new Map([['key', 52.76]]),
7275
AnInt: 1,
7376
ABool: true,
7477
AList: [

0 commit comments

Comments
 (0)