Skip to content

Commit 4762f49

Browse files
committed
prepare v1.0b2
1 parent ae34a6a commit 4762f49

7 files changed

+10
-7
lines changed

HISTORY.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## v1.0b2 (2019-10-07)
2+
3+
* Mark `StrictBool` typecheck as `bool` to allow for default values without mypy errors, #690 by @dmontagu
4+
* Transfer the documentation build from sphinx to mkdocs, re-write much of the documentation, #856 by @samuelcolvin
5+
* Add support for custom naming schemes for `GenericModel` subclasses, #859 by @dmontagu
6+
* Add `if TYPE_CHECKING:` to the excluded lines for test coverage, #874 by @dmontagu
7+
* Rename `allow_population_by_alias` to `allow_population_by_field_name`, remove unnecessary warning about it, #875 by @samuelcolvin
8+
19
## v1.0b1 (2019-10-01)
210

311
* **Breaking Change:** rename `Schema` to `Field`, make it a function to placate mypy, #577 by @samuelcolvin

changes/690-dmontagu.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changes/856-samuelcolvin.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changes/859-dmontagu.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changes/874-dmontagu.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changes/875-samuelcolvin.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changes/make_history.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@
2929

3030
version = SourceFileLoader('version', 'pydantic/version.py').load_module()
3131
chunk_title = f'v{version.VERSION} ({date.today():%Y-%m-%d})'
32-
new_chunk = '## {}\n{}\n'.format(chunk_title, '\n'.join(c for *_, c in sorted(bullet_list)))
32+
new_chunk = '## {}\n\n{}\n\n'.format(chunk_title, '\n'.join(c for *_, c in sorted(bullet_list)))
3333

3434
print(f'{chunk_title}...{len(bullet_list)} items')
3535
history_path = THIS_DIR / '..' / 'HISTORY.md'
36-
history = history_path.read_text()
36+
history = new_chunk + history_path.read_text()
3737

3838
history_path.write_text(history)
3939
for p in THIS_DIR.glob('*.md'):

0 commit comments

Comments
 (0)