summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNadrieril2020-06-25 13:24:20 +0100
committerNadrieril2020-06-25 13:24:20 +0100
commit496564328070cbd7d30c11834a28d75f3eeb6068 (patch)
treeb1f22b83643e7ad1265f11e3cf96593097ee5527
parent04227e98cbbd1ccf9625e0f5e7725f68d764ac3e (diff)
doc: extract changelog to its own file
Diffstat (limited to '')
-rw-r--r--CHANGELOG.md68
-rw-r--r--README.md69
-rw-r--r--serde_dhall/release.toml8
3 files changed, 73 insertions, 72 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
index 0000000..457c346
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,68 @@
+# Changelog
+
+#### [Unreleased]
+
+- Fix running tests on Windows. Developing on this lib should now be possible on Windows.
+
+#### [0.5.3] - 2020-05-30
+
+- Support import caching
+- Support building on Windows
+- Support building to wasm (but imports don't work)
+
+#### [0.5.2] - 2020-04-12
+
+- Fix #162
+- Update to supporting dhall v15.0.0
+- Deserialize `Prelude.Map` and `toMap` to a map instead of a list.
+
+#### [0.5.1] - 2020-04-09
+
+- Small fixes
+
+#### [0.5.0] - 2020-04-05
+
+- Add `serde_dhall::from_file` to read a Dhall file directly.
+- BREAKING CHANGE: reworked most of the `serde_dhall` API
+
+ You need to replace uses of `from_str(s)` with `from_str(s).parse()`. The
+ various type annotation methods have been removed; use instead the methods on
+ the `Deserializer` struct.
+
+#### 0.4.0
+
+- `dhall` now uses the stable Rust toolchain !
+- Implement record puns
+- Add support for `with` keyword
+- Implement remote imports with conservative sanity checking
+- Implement `missing` and `env:VAR` imports
+- Implement `as Text` and `as Location` imports
+- Implement projection by expression
+- Implement some normalization simplifications
+
+#### 0.3.0
+
+- Update to supporting dhall v14.0.0
+- Add support for dotted field syntax
+- Disallow Natural literals with leading zeros
+- Add support for duplicate record fields
+- Update to supporting dhall v13.0.0
+
+#### 0.2.1
+
+- Improve documentation and deserialize many more types
+
+#### 0.2.0
+
+- Update to supporting dhall v12.0.0
+
+#### 0.1.0
+
+- Initial release
+
+<!-- next-url -->
+[Unreleased]: https://github.com/Nadrieril/dhall-rust/compare/serde_dhall-v0.5.3...HEAD
+[0.5.3]: https://github.com/Nadrieril/dhall-rust/compare/serde_dhall-v0.5.2...serde_dhall-v0.5.3
+[0.5.2]: https://github.com/Nadrieril/dhall-rust/compare/serde_dhall-v0.5.1...serde_dhall-v0.5.2
+[0.5.1]: https://github.com/Nadrieril/dhall-rust/compare/serde_dhall-v0.5.0...serde_dhall-v0.5.1
+[0.5.0]: https://github.com/Nadrieril/dhall-rust/compare/serde_dhall-v0.4.0...serde_dhall-v0.5.0
diff --git a/README.md b/README.md
index 7d8aadc..ab32536 100644
--- a/README.md
+++ b/README.md
@@ -175,74 +175,7 @@ message should start with `feat:`, `test:`, `doc:`, `fix:`, `style:`,
A breaking change should be indicated with `!` before the `:`.
-## Changelog
-
-#### [Unreleased]
-
-- Fix running tests on Windows. Developing on this lib should now be possible on Windows.
-
-#### [0.5.3] - 2020-05-30
-
-- Support import caching
-- Support building on Windows
-- Support building to wasm (but imports don't work)
-
-#### [0.5.2] - 2020-04-12
-
-- Fix #162
-- Update to supporting dhall v15.0.0
-- Deserialize `Prelude.Map` and `toMap` to a map instead of a list.
-
-#### [0.5.1] - 2020-04-09
-
-- Small fixes
-
-#### [0.5.0] - 2020-04-05
-
-- Add `serde_dhall::from_file` to read a Dhall file directly.
-- BREAKING CHANGE: reworked most of the `serde_dhall` API
-
- You need to replace uses of `from_str(s)` with `from_str(s).parse()`. The
- various type annotation methods have been removed; use instead the methods on
- the `Deserializer` struct.
-
-#### 0.4.0
-
-- `dhall` now uses the stable Rust toolchain !
-- Implement record puns
-- Add support for `with` keyword
-- Implement remote imports with conservative sanity checking
-- Implement `missing` and `env:VAR` imports
-- Implement `as Text` and `as Location` imports
-- Implement projection by expression
-- Implement some normalization simplifications
-
-#### 0.3.0
-
-- Update to supporting dhall v14.0.0
-- Add support for dotted field syntax
-- Disallow Natural literals with leading zeros
-- Add support for duplicate record fields
-- Update to supporting dhall v13.0.0
-
-#### 0.2.1
-
-- Improve documentation and deserialize many more types
-
-#### 0.2.0
-
-- Update to supporting dhall v12.0.0
-
-#### 0.1.0
-
-- Initial release
-
-<!-- next-url -->
-[Unreleased]: https://github.com/Nadrieril/dhall-rust/compare/serde_dhall-v0.5.3...HEAD
-[0.5.3]: https://github.com/Nadrieril/dhall-rust/compare/serde_dhall-v0.5.2...serde_dhall-v0.5.3
-[0.5.2]: https://github.com/Nadrieril/dhall-rust/compare/serde_dhall-v0.5.1...serde_dhall-v0.5.2
-[0.5.1]: https://github.com/Nadrieril/dhall-rust/compare/serde_dhall-v0.5.0...serde_dhall-v0.5.1
-[0.5.0]: https://github.com/Nadrieril/dhall-rust/compare/serde_dhall-v0.4.0...serde_dhall-v0.5.0
+## [Changelog](CHANGELOG.md)
## License
diff --git a/serde_dhall/release.toml b/serde_dhall/release.toml
index d15cf88..806d35b 100644
--- a/serde_dhall/release.toml
+++ b/serde_dhall/release.toml
@@ -11,25 +11,25 @@ replace = "{{crate_name}} = \"{{version}}\""
exactly = 1
[[pre-release-replacements]]
-file = "../README.md"
+file = "../CHANGELOG.md"
search = "#### \\[Unreleased\\]"
replace = "#### [Unreleased]\n\n#### [{{version}}] - {{date}}"
exactly = 1
[[pre-release-replacements]]
-file = "../README.md"
+file = "../CHANGELOG.md"
search = "\\[Unreleased\\]:"
replace = "[{{version}}]:"
exactly = 1
[[pre-release-replacements]]
-file = "../README.md"
+file = "../CHANGELOG.md"
search = "\\.\\.\\.HEAD"
replace = "...{{tag_name}}"
exactly = 1
[[pre-release-replacements]]
-file = "../README.md"
+file = "../CHANGELOG.md"
search = "<!-- next-url -->"
replace = "<!-- next-url -->\n[Unreleased]: https://github.com/Nadrieril/dhall-rust/compare/{{tag_name}}...HEAD"
exactly = 1