Skip to content

Commit 78723b5

Browse files
committed
Release 0.1.0-beta.7
1 parent 3156397 commit 78723b5

File tree

7 files changed

+11
-8
lines changed

7 files changed

+11
-8
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88
## [Unreleased]
9+
10+
## [0.1.0-beta.7] - 2021-09-01
911
### Fixed
1012
- Fix regression with attribute casting not handling dates correctly, and add more sophisticated handling of primitives, constructables, and callables.
1113

@@ -35,7 +37,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3537
## [0.1.0-beta.2] - 2021-01-17
3638
- Initial release
3739

38-
[Unreleased]: https://github.com/tobyzerner/json-api-models/compare/v0.1.0-beta.6...HEAD
40+
[Unreleased]: https://github.com/tobyzerner/json-api-models/compare/v0.1.0-beta.7...HEAD
41+
[0.1.0-beta.7]: https://github.com/tobyzerner/json-api-models/compare/v0.1.0-beta.6...v0.1.0-beta.7
3942
[0.1.0-beta.6]: https://github.com/tobyzerner/json-api-models/compare/v0.1.0-beta.5...v0.1.0-beta.6
4043
[0.1.0-beta.5]: https://github.com/tobyzerner/json-api-models/compare/v0.1.0-beta.4...v0.1.0-beta.5
4144
[0.1.0-beta.4]: https://github.com/tobyzerner/json-api-models/compare/v0.1.0-beta.3...v0.1.0-beta.4

dist/index.cjs.js

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

dist/index.es.js

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

dist/index.js

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

dist/model.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Store } from './store';
22
import { JsonApiIdentifier, JsonApiRelationships, JsonApiResource, KeyValueObject } from './types';
33
export declare type CastAttributes = {
4-
[key: string]: (value: any) => any;
4+
[key: string]: StringConstructor | NumberConstructor | BooleanConstructor | ((value: any) => any) | (new (value: any) => any);
55
};
66
export declare class Model implements JsonApiResource {
77
protected store: Store;

package-lock.json

Lines changed: 2 additions & 2 deletions
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,7 +1,7 @@
11
{
22
"name": "json-api-models",
33
"description": "A lightweight layer for working with JSON:API data.",
4-
"version": "0.1.0-beta.6",
4+
"version": "0.1.0-beta.7",
55
"author": "Toby Zerner",
66
"license": "MIT",
77
"main": "./dist/index.cjs.js",

0 commit comments

Comments
 (0)