Skip to content

Commit 4e2fa23

Browse files
committed
Release 0.12.1
1 parent 1a2fb63 commit 4e2fa23

File tree

2 files changed

+109
-2
lines changed

2 files changed

+109
-2
lines changed

CHANGELOG.md

Lines changed: 108 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,113 @@
11
# Changelog
22

3-
## 0.12.0 - 2024-04-24
3+
## 0.12.1 - 2024-04-26
4+
5+
Note that since 0.12.0 has been yanked, changes for this version are listed
6+
alongside changes for 0.12.1. Also, changelog entries that were mistakenly
7+
omitted for 0.12.0 are included below as well.
8+
9+
### Features
10+
11+
- Reorganize codebase ([#230](https://github.com/mcmire/super_diff/pull/230)
12+
- To be able to explain the architecture of this project more easily,
13+
differs, inspection tree builders, operation tree builders, operation tree
14+
flatteners, and operation trees for Ruby have now been relocated under a
15+
"Basic" feature module, located in `lib/super_diff/basic`, which mirrors
16+
`lib/super_diff/active_record`, `lib/super_diff/active_support`, and
17+
`lib/super_diff/rspec`.
18+
- Additionally, all of the files that were previously in `lib/super_diff` have
19+
been moved to a Core module, and to make the file structure a little
20+
flatter, `InspectionTreeBuilders` in various feature modules have been
21+
removed from the `ObjectInspection` namespace.
22+
- To maintain backward compatibility, all of the original constants still
23+
exist, but they've been deprecated, and attempting to use them will result
24+
in a warning. They will be removed in a future version.
25+
- For full transparency, here is the list of renames:
26+
- The following constants that were previously available under `SuperDiff`
27+
are now located under `SuperDiff::Core`:
28+
- `ColorizedDocumentExtensions`
29+
- `Configuration`
30+
- `GemVersion`
31+
- `Helpers`
32+
- `ImplementationChecks`
33+
- `Line`
34+
- `RecursionGuard`
35+
- `TieredLines`
36+
- `TieredLinesElider`
37+
- `TieredLinesFormatter`
38+
- Everything under `SuperDiff::Differs` is now under
39+
`SuperDiff::Basic::Differs`
40+
- All error classes under `SuperDiff::Errors` have been moved out and are
41+
now directly under `SuperDiff::Core`
42+
- `SuperDiff::ObjectInspection::InspectionTree` is now
43+
`SuperDiff::Core::InspectionTree`
44+
- Everything under `SuperDiff::ObjectInspection::InspectionTreeBuilders` is
45+
now under `SuperDiff::Core::InspectionTreeBuilders`
46+
- Everything under `SuperDiff::ObjectInspection::Nodes` is now under
47+
`SuperDiff::Core::InspectionTreeNodes`
48+
- Everything under `SuperDiff::OperationTreeBuilders` is now under
49+
`SuperDiff::Basic::OperationTreeBuilders`
50+
- Everything under `SuperDiff::OperationTreeFlatteners` is now under
51+
`SuperDiff::Basic::OperationTreeFlatteners`
52+
- Everything under `SuperDiff::OperationTrees` is now under
53+
`SuperDiff::Basic::OperationTrees`
54+
- Everything under `SuperDiff::Operations` has been moved out and is now
55+
directly under `SuperDiff::Core`
56+
- Everything under
57+
- `SuperDiff::ActiveRecord::ObjectInspection::InspectionTreeBuilders` is now
58+
under `SuperDiff::ActiveRecord::InspectionTreeBuilders`
59+
- Everything under
60+
- `SuperDiff::ActiveSupport::ObjectInspection::InspectionTreeBuilders` is
61+
now under `SuperDiff::ActiveSupport::InspectionTreeBuilders`
62+
- Everything under
63+
- `SuperDiff::RSpec::ObjectInspection::InspectionTreeBuilders` is now under
64+
`SuperDiff::RSpec::InspectionTreeBuilders`
65+
- Create a proper space for docs, add info on architecture, and deploy docs
66+
to a docsite automatically.
67+
([#224](https://github.com/mcmire/super_diff/pull/224),
68+
[#225](https://github.com/mcmire/super_diff/pull/225),
69+
[#226](https://github.com/mcmire/super_diff/pull/226),
70+
[#232](https://github.com/mcmire/super_diff/pull/232),
71+
[#233](https://github.com/mcmire/super_diff/pull/233),
72+
[#245](https://github.com/mcmire/super_diff/pull/245))
73+
- The `docs/` directory now holds information on contributing, which was
74+
previously located at `CONTRIBUTING.md`.
75+
- However, `docs/` also now includes a breakdown of how this project is
76+
structured and how the diffing engine works, to aid people who want to
77+
submit changes to this project.
78+
- Starting with this release, the files in `docs/` will be used to publish a
79+
docsite, which can be viewed at <https://mcmire.github.io/super_diff>.
80+
- Publishing of the docsite is automated: when a new release is issued, a new
81+
version of the docsite will be published for that release under
82+
<https://mcmire.github.io/super_diff/releases/RELEASE_VERSION>.
83+
(<https://mcmire.github.io/super_diff> will always redirect to the latest
84+
release.)
85+
- If any file in `docs/` is modified in a pull request, a new version of the
86+
docsite will also be automatically deployed just for that pull request,
87+
located under
88+
<https://mcmire.github.io/super_diff/branches/BRANCH_NAME/COMMIT_ID>.
89+
- Support the use of primary keys other than `id` when diffing ActiveRecord
90+
models. ([#237](https://github.com/mcmire/super_diff/pull/237))
91+
92+
### Bug fixes
93+
94+
- Remove rogue `pp` ([#242](https://github.com/mcmire/super_diff/pull/242))
95+
96+
### Contributors
97+
98+
This release features the following contributors:
99+
100+
- [@benk-gc](https://github.com/benk-gc)
101+
- [@sidane](https://github.com/sidane)
102+
103+
Thank you!
104+
105+
## 0.12.0 - 2024-04-24 [YANKED]
106+
107+
> [!WARNING]
108+
> This release has been yanked, as it included changes that weren't properly
109+
> logged in the changelog. This release wasn't ideal as it contained some
110+
> leftover print statements, anyway.
4111
5112
### Features
6113

lib/super_diff/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module SuperDiff
2-
VERSION = "0.12.0".freeze
2+
VERSION = "0.12.1".freeze
33
end

0 commit comments

Comments
 (0)