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