Skip to content

Commit 77e8148

Browse files
authored
Merge pull request #81 from github/kpaulisse-release-v1
Update documents for release 1.0.0
2 parents a474209 + 16ca15f commit 77e8148

File tree

4 files changed

+32
-37
lines changed

4 files changed

+32
-37
lines changed

.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.99.rc3
1+
1.0.0

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ At GitHub, we manage thousands of nodes with a Puppet code base containing 500,0
88

99
`octocatalog-diff` is written in Ruby and is distributed as a gem. It runs on Mac OS and Unix/Linux platforms.
1010

11-
**The current version of `octocatalog-diff` in the master branch is 0.99.rc3, a release candidate for version 1.0.**
12-
1311
We consider the 1.x release of `octocatalog-diff` to be stable and production-quality. We continue to maintain and enhance `octocatalog-diff` to meet GitHub's internal needs and to incorporate suggestions from the community. Please consult the [change log](/doc/CHANGELOG.md) for details.
1412

13+
If you've been using version 0.6.1 or earlier, please read about [What's new in octocatalog-diff 1.0](/doc/versions/v1.md) for a summary of new capabilities and breaking changes.
14+
1515
## How?
1616

1717
Traditional Puppet development generally takes one of two forms. Frequently, developers will test changes by running a Puppet agent (perhaps in `--noop` mode) to see if the desired change has resulted on an actual system. Others will use formal testing methodologies, such as `rspec-puppet` or the beaker framework to validate Puppet code.

doc/CHANGELOG.md

Lines changed: 7 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -8,44 +8,17 @@
88
</tr>
99
</thead><tbody>
1010
<tr valign=top>
11-
<td>0.99.0rc3</td>
12-
<td>2017-01-30</td>
11+
<td>1.0.0</td>
12+
<td>2017-02-06</td>
1313
<td>
14-
<ul>
15-
<li><a href="https://github.com/github/octocatalog-diff/pull/78">#78</a> Whitespace diff display enhancements</li>
16-
</ul>
17-
18-
*This is the last planned release candidate unless problems are discovered.*
19-
</td>
20-
</tr>
21-
22-
<tr valign=top>
23-
<td>0.99.0rc2</td>
24-
<td>2017-01-23</td>
25-
<td>
26-
<ul>
27-
<li><a href="https://github.com/github/octocatalog-diff/pull/70">#70</a> Missing `[]=` method in display code</li>
28-
<li><a href="https://github.com/github/octocatalog-diff/pull/77">#77</a> `FactOverride` -> `Override`</li>
29-
<li><a href="https://github.com/github/octocatalog-diff/pull/74">#74</a> Allow override of ENC parameters</li>
30-
</ul>
31-
</td>
32-
</tr>
33-
34-
<tr valign=top>
35-
<td>0.99.0rc1</td>
36-
<td>2017-01-16</td>
37-
<td>
38-
This is a release candidate for `octocatalog-diff` version 1.0. Please report any problems to us as <a href="https://github.com/github/octocatalog-diff/issues/new">in a new issue</a>.
39-
40-
The previous release (0.6.1) is available at: https://github.com/github/octocatalog-diff/tree/0.6.1
41-
42-
<h4>New Features</h4>
43-
44-
The most significant change in version 1.0 is the addition of the <a href="./dev/api.md">V1 API</a>, which permits developers to build catalogs (<code>--catalog-only</code>) and compare/diff catalogs using octocatalog-diff. Under the hood, we've rearranged the code to support these APIs, which should also improve the reliability and allow faster development cycles.
14+
This is the first release of the 1.0 series. For more information please see <a href="./versions/v1.md">What's new in octocatalog-diff 1.0</a>.
15+
<br>
16+
<br>
17+
The most significant change in version 1.0 is the addition of the <a href="./dev/api.md">V1 API</a>, which permits developers to build catalogs (<code>--catalog-only</code>) and compare/diff catalogs using octocatalog-diff. Under the hood, we've rearranged the code to support these APIs, which should improve the reliability and allow faster development cycles.
4518

4619
<h4>Breaking Changes</h4>
4720

48-
The format of the output from <code>--output-format json</code> has changed. In version 0.x of the software, each difference was represented by an array. In version 1.x, each difference is represented by a hash with meaningful English keys. We have added an option <code>--output-format legacy_json</code> if anyone depends upon the output in the old format.
21+
The format of the output from <code>--output-format json</code> has changed. In version 0.x of the software, each difference was represented by an array. In version 1.x, each difference is represented by a hash with meaningful English keys. We have added an option <code>--output-format legacy_json</code> for anyone who may depend on the old format.
4922
</td>
5023
</tr>
5124
<tr valign=top>

doc/versions/v1.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# What's new in octocatalog-diff 1.0
2+
3+
#### Summary
4+
5+
The most significant change in version 1.0 is the addition of the <a href="/doc/dev/api.md">V1 API</a>, which permits developers to build catalogs (<code>--catalog-only</code>) and compare/diff catalogs using octocatalog-diff. Under the hood, we've rearranged the code to support these APIs, which should also improve the reliability and allow faster development cycles.
6+
7+
There are also some additional capabilities including:
8+
9+
- Better display of whitespace differences
10+
- Override ENC parameters with `--to-enc-override` and `--from-enc-override`
11+
12+
#### Breaking changes
13+
14+
The format of the output from <code>--output-format json</code> has changed. In version 0.x of the software, each difference was represented by an array. In version 1.x, each difference is represented by a hash with meaningful English keys. We have added an option <code>--output-format legacy_json</code> which outputs in the old format.
15+
16+
If you have written code that calls the octocatalog-diff command line and expects JSON output, you will need to update your code to the new format, or add or update `--output-format legacy_json` in your call to octocatalog-diff.
17+
18+
#### API stability
19+
20+
The API is versioned, and `v1` will be valid for all 1.x releases. We may add capabilities but will preserve existing functionality as it exists in the initial 1.0 release.
21+
22+
Each API version change will correspond to a new major release number. In other words, a `v2` API would be introduced in a 2.0 release.

0 commit comments

Comments
 (0)