From aade6801e7df66679b1fe9d162da0d03b4742dd4 Mon Sep 17 00:00:00 2001
From: Kai Chen <chenkaidev@gmail.com>
Date: Fri, 31 Jan 2020 00:18:47 +0800
Subject: [PATCH] Bump version to 1.0.0 (#2029)

* bump version to 1.0.0

* fix typos

* update the version in docs
---
 README.md         |  4 ++--
 docs/CHANGELOG.md | 43 +++++++++++++++++++++++++++++++++++++++++++
 docs/conf.py      |  4 ++--
 setup.py          |  4 ++--
 4 files changed, 49 insertions(+), 6 deletions(-)

diff --git a/README.md b/README.md
index 0a778589..6b97890b 100644
--- a/README.md
+++ b/README.md
@@ -40,8 +40,8 @@ This project is released under the [Apache 2.0 license](LICENSE).
 
 ## Changelog
 
-v1.0rc1 was released in 13/12/2019, with more than 20 bug fixes and 30 improvements and new features.
-Please refer to [CHANGELOG.md](docs/CHANGELOG.md) for details and history versions.
+v1.0.0 was released in 30/1/2020, with more than 20 fixes and improvements.
+Please refer to [CHANGELOG.md](docs/CHANGELOG.md) for details and release history.
 
 ## Benchmark and model zoo
 
diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md
index ad94ec6b..f4221d23 100644
--- a/docs/CHANGELOG.md
+++ b/docs/CHANGELOG.md
@@ -1,5 +1,48 @@
 ## Changelog
 
+### v1.0.0 (30/1/2020)
+
+This release mainly improves the code quality and add more docstrings.
+
+**Highlights**
+- Documentation is online now: https://mmdetection.readthedocs.io.
+- Support new models: [ATSS](https://arxiv.org/abs/1912.02424).
+- DCN is now available with the api `build_conv_layer` and `ConvModule` like the normal conv layer.
+- A tool to collect environment information is available for trouble shooting.
+
+**Bug Fixes**
+- Fix the incompatibility of the latest numpy and pycocotools. (#2024)
+- Fix the case when distributed package is unavailable, e.g., on Windows. (#1985)
+- Fix the dimension issue for `refine_bboxes()`. (#1962)
+- Fix the typo when `seg_prefix` is a list. (#1906)
+- Add segmentation map cropping to RandomCrop. (#1880)
+- Fix the return value of `ga_shape_target_single()`. (#1853)
+- Fix the loaded shape of empty proposals. (#1819)
+- Fix the mask data type when using albumentation. (#1818)
+
+**Improvements**
+- Enhance AssignResult and SamplingResult. (#1995)
+- Add ability to overwrite existing module in Registry. (#1982)
+- Reorganize requirements and make albumentations and imagecorruptions optional. (#1969)
+- Check NaN in `SSDHead`. (#1935)
+- Encapsulate the DCN in ResNe(X)t into a ConvModule & Conv_layers. (#1894)
+- Refactoring for mAP evaluation and support multiprocessing and logging. (#1889)
+- Init the root logger before constructing Runner to log more information. (#1865)
+- Split `SegResizeFlipPadRescale` into different existing transforms. (#1852)
+- Move `init_dist()` to MMCV. (#1851)
+- Documentation and docstring improvements. (#1971, #1938, #1869, #1838)
+- Fix the color of the same class for mask visualization. (#1834)
+- Remove the option `keep_all_stages` in HTC and Cascade R-CNN. (#1806)
+
+**New Features**
+- Add two test-time options `crop_mask` and `rle_mask_encode` for mask heads. (#2013)
+- Support loading grayscale images as single channel. (#1975)
+- Implement "Bridging the Gap Between Anchor-based and Anchor-free Detection via Adaptive Training Sample Selection". (#1872)
+- Add sphinx generated docs. (#1859, #1864)
+- Add GN support for flops computation. (#1850)
+- Collect env info for trouble shooting. (#1812)
+
+
 ### v1.0rc1 (13/12/2019)
 
 The RC1 release mainly focuses on improving the user experience, and fixing bugs.
diff --git a/docs/conf.py b/docs/conf.py
index 7581cb25..aad51b6a 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -17,11 +17,11 @@
 # -- Project information -----------------------------------------------------
 
 project = 'MMDetection'
-copyright = '2018-2019, OpenMMLab'
+copyright = '2018-2020, OpenMMLab'
 author = 'OpenMMLab'
 
 # The full version, including alpha/beta/rc tags
-release = '1.0rc1'
+release = '1.0.0'
 
 # -- General configuration ---------------------------------------------------
 
diff --git a/setup.py b/setup.py
index f5ace596..9b403a3f 100755
--- a/setup.py
+++ b/setup.py
@@ -22,8 +22,8 @@ def readme():
 
 MAJOR = 1
 MINOR = 0
-PATCH = ''
-SUFFIX = 'rc1'
+PATCH = 0
+SUFFIX = ''
 if PATCH:
     SHORT_VERSION = '{}.{}.{}{}'.format(MAJOR, MINOR, PATCH, SUFFIX)
 else:
-- 
GitLab