Skip to content

Commit cf1c1ad

Browse files
committed
Bump version to 1.4
1 parent 997c6f7 commit cf1c1ad

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
# Changelog
22

33
* Unreleased
4+
* 1.4 (2020-12-09)
45
* Add 'dict' as a third `input_format` when `SchemaGenerator` is used as a
56
library. This can be useful when the data has already been transformed
67
into a list of native Python `dict` objects (see #58, thanks to
78
ZiggerZZ@).
89
* Expand the pattern matchers for quoted integers and quoted floating point
9-
numbers to be more cmopatible with the ones recognized by `bq load
10+
numbers to be more compatible with the patterns recognized by `bq load
1011
--autodetect`.
12+
* Add Table of Contents to READMD.md. Add usage info for the
13+
`schema_map=existing_schema_map` and the `input_format='dict'` parameters
14+
in the `SchemaGenerator()` constructor.
1115
* 1.3 (2020-12-05)
1216
* Allow an existing schema file to be specified using
1317
`--existing_schema_path` flag, so that new data can be merged into it.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ $ generate-schema < file.data.json > file.schema.json
1212
$ generate-schema --input_format csv < file.data.csv > file.schema.json
1313
```
1414

15-
**Version**: 1.3 (2020-12-05)
15+
**Version**: 1.4 (2020-12-09)
1616

1717
**Changelog**: [CHANGELOG.md](CHANGELOG.md)
1818

19-
**Table of Contents**
19+
## Table of Contents
2020

2121
* [Background](#Background)
2222
* [Installation](#Installation)
@@ -572,7 +572,7 @@ schema = generator.flatten_schema(schema_map)
572572
json.dump(schema, output_file, indent=2)
573573
```
574574
575-
The `decude_schema()` now supports starting from an existing `schema_map`
575+
The `deduce_schema()` now supports starting from an existing `schema_map`
576576
instead of starting from scratch. This is the internal version of the
577577
`--existing_schema_path` functionality.
578578
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.3'
1+
__version__ = '1.4'

0 commit comments

Comments
 (0)