| 1 | # Changelog |
| 2 | |
| 3 | ## [Unreleased](https://github.com/gusbrs/zref-clever/compare/v0.5.1...HEAD) |
| 4 | |
| 5 | ## [v0.5.1](https://github.com/gusbrs/zref-clever/compare/v0.5.0...v0.5.1) (2024-11-28) |
| 6 | |
| 7 | ### Fixed |
| 8 | - Use `\protected@edef` to expand references' content at `endrange` processing |
| 9 | functions. |
| 10 | |
| 11 | ## [v0.5.0](https://github.com/gusbrs/zref-clever/compare/v0.4.9...v0.5.0) (2024-11-25) |
| 12 | |
| 13 | ### Added |
| 14 | - Swedish localization (see issue |
| 15 | [#35](https://github.com/gusbrs/zref-clever/issues/35)). |
| 16 | |
| 17 | ### Changed |
| 18 | - The `declension` option from `\zcDeclareLanguage`, the `case` option from |
| 19 | `\zcLanguageSetup`, and the `d` general option (from `\zcref`) have been |
| 20 | renamed to `variants`, `variant`, and `v`, respectively. This is a |
| 21 | "semantic generalization" of the existing infrastructure. In other words, |
| 22 | the package now interprets more broadly type name variants, which can be |
| 23 | used for any language-specific needs and not just declension cases. See |
| 24 | discussion at issue [#35](https://github.com/gusbrs/zref-clever/issues/35). |
| 25 | |
| 26 | ### Deprecated |
| 27 | - The `declension` option from `\zcDeclareLanguage`, the `case` option from |
| 28 | `\zcLanguageSetup`, and the `d` general option (from `\zcref`) have been |
| 29 | deprecated in favor of their new names. |
| 30 | |
| 31 | ## [v0.4.9](https://github.com/gusbrs/zref-clever/compare/v0.4.8...v0.4.9) (2024-11-16) |
| 32 | |
| 33 | ### Changed |
| 34 | - Convert improved `beamer` work-around into compatibility module. |
| 35 | |
| 36 | ## [v0.4.8](https://github.com/gusbrs/zref-clever/compare/v0.4.7...v0.4.8) (2024-11-07) |
| 37 | |
| 38 | ### Changed |
| 39 | - Documentation improvements. |
| 40 | - Preemptively avoid empty module when setting l3keys `.inherit:n` |
| 41 | (https://github.com/latex3/latex3/issues/1254). |
| 42 | |
| 43 | ## [v0.4.7](https://github.com/gusbrs/zref-clever/compare/v0.4.6...v0.4.7) (2024-09-30) |
| 44 | |
| 45 | ### Changed |
| 46 | - Inhibit missing name warning if `noname` option is in use. |
| 47 | |
| 48 | ## [v0.4.6](https://github.com/gusbrs/zref-clever/compare/v0.4.5...v0.4.6) (2024-08-23) |
| 49 | |
| 50 | ### Fixed |
| 51 | - Fix sorting of appendix references. |
| 52 | |
| 53 | ### Changed |
| 54 | - The `counterresetters` option now receives a full comma separated list of |
| 55 | counters as value, instead of working by incrementally adding values to the |
| 56 | list. |
| 57 | |
| 58 | ## [v0.4.5](https://github.com/gusbrs/zref-clever/compare/v0.4.4...v0.4.5) (2024-05-20) |
| 59 | |
| 60 | ### Added |
| 61 | - Provided Russian language file (see PR |
| 62 | [#29](https://github.com/gusbrs/zref-clever/pull/29)). |
| 63 | |
| 64 | ## [v0.4.4](https://github.com/gusbrs/zref-clever/compare/v0.4.3...v0.4.4) (2024-03-14) |
| 65 | |
| 66 | ### Changed |
| 67 | - Use `\noeqref` instead of `mathtools`' internals to support `showonlyrefs` |
| 68 | option in `mathtools` compatibility module. |
| 69 | |
| 70 | ## [v0.4.3](https://github.com/gusbrs/zref-clever/compare/v0.4.2...v0.4.3) (2023-11-14) |
| 71 | |
| 72 | ### Changed |
| 73 | - Don't use `expl3` public scratch temporary variables. |
| 74 | - Prefer `e-type` expansion. |
| 75 | - Require 2023-11-01 LaTeX kernel. |
| 76 | |
| 77 | ## [v0.4.2](https://github.com/gusbrs/zref-clever/compare/v0.4.1...v0.4.2) (2023-08-14) |
| 78 | |
| 79 | ### Changed |
| 80 | - Thanks to better support for `zref` in `memoir`, the corresponding |
| 81 | compatibility module has been simplified and made more robust, without loss |
| 82 | of functionality. |
| 83 | - Use `\label` instead of `\zlabel` in regression tests. |
| 84 | |
| 85 | ## [v0.4.1](https://github.com/gusbrs/zref-clever/compare/v0.4.0...v0.4.1) (2023-06-19) |
| 86 | |
| 87 | ### Changed |
| 88 | - Improved Dependencies section in User manual. |
| 89 | |
| 90 | ### Fixed |
| 91 | - Use safer method to define the `zc@pgfmt` property. |
| 92 | |
| 93 | ## [v0.4.0](https://github.com/gusbrs/zref-clever/compare/v0.3.6...v0.4.0) (2023-06-14) |
| 94 | |
| 95 | ### Added |
| 96 | - `labelhook` option, controlling whether to set a `\zlabel` alongside a |
| 97 | standard `\label`. This option uses the kernel's new `label` hook, which |
| 98 | significantly improves and simplifies the task of setting a `\zlabel` in |
| 99 | places where this is not directly supported. The option is enabled by |
| 100 | default, and strongly recommended. It is not expected that this change will |
| 101 | bring backward compatibility problems, `\zlabel`s continue to work just as |
| 102 | before, and the places where a `\label` is required will also continue to |
| 103 | work the same way. The only case I see where you might need to adjust |
| 104 | existing documents is if you already had both `\label`s and `\zlabel`s with |
| 105 | the same names, in which case now you'll have a duplicate `zlabel` and will |
| 106 | indeed have to correct it. Also, you may be interested in taking a look at |
| 107 | the "`\label` or `\zlabel`?" section of the User manual, since the option |
| 108 | opens the possibility of a different approach in label setting in your |
| 109 | documents. |
| 110 | |
| 111 | ### Changed |
| 112 | - Given the new `labelhook` option and the fact that it requires both the new |
| 113 | `label` hook and the new hooks with options released in the latest LaTeX |
| 114 | kernel, the kernel version required by `zref-clever` has been bumped to |
| 115 | 2023-06-01. |
| 116 | |
| 117 | ### Removed |
| 118 | - Given the new `labelhook` option, the parts of compatibility modules which |
| 119 | provided for setting `\zlabel`s with `\label` in places where the former is |
| 120 | not supported have been removed. These would conflict with the new option, |
| 121 | and the use of the `label` hook for this purpose renders them unnecessary |
| 122 | and is superior in every aspect. Namely, the compatibility modules changed |
| 123 | in this fashion are: `amsmath`, `memoir`, and `listings`. |
| 124 | |
| 125 | ## [v0.3.6](https://github.com/gusbrs/zref-clever/compare/v0.3.5...v0.3.6) (2023-02-21) |
| 126 | |
| 127 | ### Fixed |
| 128 | - Avoid "Missing number, treated as zero" error for labels set before first |
| 129 | call to `\refstepcounter`. |
| 130 | |
| 131 | ## [v0.3.5](https://github.com/gusbrs/zref-clever/compare/v0.3.4...v0.3.5) (2023-02-18) |
| 132 | |
| 133 | ### Fixed |
| 134 | - In tcolorbox how-to, `hyperref` should be loaded before any `\newtcolorbox`es. |
| 135 | |
| 136 | ## [v0.3.4](https://github.com/gusbrs/zref-clever/compare/v0.3.3...v0.3.4) (2023-02-13) |
| 137 | |
| 138 | ### Added |
| 139 | - `tcolorbox` how-to to the User manual. |
| 140 | |
| 141 | ### Changed |
| 142 | - The `KOMA` compatibility module has been removed, since it was rendered |
| 143 | unnecessary by recent versions of KOMA Script classes. |
| 144 | |
| 145 | ## [v0.3.3](https://github.com/gusbrs/zref-clever/compare/v0.3.2...v0.3.3) (2023-01-03) |
| 146 | |
| 147 | ### Added |
| 148 | - New `reftype` option, to allow for local manual override of `countertype` |
| 149 | settings. |
| 150 | - Included some new How-tos to the User manual. |
| 151 | |
| 152 | ## [v0.3.2](https://github.com/gusbrs/zref-clever/compare/v0.3.1...v0.3.2) (2022-12-27) |
| 153 | |
| 154 | ### Added |
| 155 | - Italian localization (see issue |
| 156 | [#11](https://github.com/gusbrs/zref-clever/issues/11)). |
| 157 | - Localization guidelines for contributors (in the Code documentation). |
| 158 | - Document UTF-8 input encoding requirement. |
| 159 | - Work-around for `beamer` in the User manual. |
| 160 | |
| 161 | ### Changed |
| 162 | - Improved consistency of the Dutch language file with `babel` captions (see |
| 163 | PRs [#12](https://github.com/gusbrs/zref-clever/pull/12) and |
| 164 | [#13](https://github.com/gusbrs/zref-clever/pull/13)). |
| 165 | |
| 166 | ## [v0.3.1](https://github.com/gusbrs/zref-clever/compare/v0.3.0...v0.3.1) (2022-05-28) |
| 167 | |
| 168 | ### Added |
| 169 | - "`zref-clever` for the impatient" section to User manual. |
| 170 | |
| 171 | ## [v0.3.0](https://github.com/gusbrs/zref-clever/compare/v0.2.2-alpha...v0.3.0) (2022-04-22) |
| 172 | |
| 173 | ### Changed |
| 174 | - `zref-clever` no longer accepts package options to be set a load-time, |
| 175 | `\zcsetup` must be used instead. The use of load-time options now results |
| 176 | in "Unknown option" LaTeX error. This change requires that users adjust |
| 177 | their documents, and a suitable package warning has been provided so that |
| 178 | affected users know of the change directly and how to adjust. |
| 179 | - Option `check` has been made no-op in the preamble. To load the |
| 180 | corresponding package, just use the standard `\usepackage`. |
| 181 | - (Internal) Use public hyperref's commands for building links instead of the |
| 182 | internal `\hyper@@link`. |
| 183 | |
| 184 | ### Deprecated |
| 185 | - Options `titleref` and `vario` have been deprecated. To load the |
| 186 | corresponding packages, just use the standard `\usepackage`. |
| 187 | |
| 188 | ### Fixed |
| 189 | - Bug which affected the typesetting with compression in case two ranges for |
| 190 | the same reference type occurred. |
| 191 | |
| 192 | ## [v0.2.2-alpha](https://github.com/gusbrs/zref-clever/compare/v0.2.1-alpha...v0.2.2-alpha) (2022-02-11) |
| 193 | |
| 194 | ### Changed |
| 195 | - (Internal) Option variables setting was reviewed, ensuring proper scope is |
| 196 | in use and that they are always properly declared. `expl3` debugging |
| 197 | enabled in regression tests. |
| 198 | |
| 199 | ## [v0.2.1-alpha](https://github.com/gusbrs/zref-clever/compare/v0.2.0-alpha...v0.2.1-alpha) (2022-02-07) |
| 200 | |
| 201 | ### Added |
| 202 | - Option `endrange` for typesetting terse ranges. |
| 203 | - Option `rangetopair` to control behavior of `range` option when a pair |
| 204 | results from building a range. |
| 205 | - Option `vario` to load package `zref-vario`. |
| 206 | - Reference property `subeq` for the `amsmath` and `breqn` compatibility |
| 207 | modules. |
| 208 | |
| 209 | ## [v0.2.0-alpha](https://github.com/gusbrs/zref-clever/compare/v0.1.2-alpha...v0.2.0-alpha) (2022-01-28) |
| 210 | |
| 211 | ### Added |
| 212 | - The reference block formatting has been generalized to allow for more |
| 213 | flexibility in setting the reference structure, with the new option |
| 214 | `refbounds`. |
| 215 | |
| 216 | ### Fixed |
| 217 | - Fixed handling of type names defined to be empty. |
| 218 | - Fixed distinction of `lastsep` and `pairsep` in cases where the type-block |
| 219 | starts or ends with a range. |
| 220 | |
| 221 | ### Changed |
| 222 | - The `namefont` and `reffont` options can now be set also in |
| 223 | `\zcRefTypeSetup` and `\zcLanguageSetup`. |
| 224 | - (Internal) Moved from property lists to individually named macros to store |
| 225 | and retrieve options. |
| 226 | |
| 227 | ### Deprecated |
| 228 | - Options `preposinlink`, `preref`, and `postref` have been deprecated and |
| 229 | replaced by new option `refbounds`. |
| 230 | |
| 231 | ## [v0.1.2-alpha](https://github.com/gusbrs/zref-clever/compare/v0.1.1-alpha...v0.1.2-alpha) (2022-01-10) |
| 232 | |
| 233 | ### Added |
| 234 | - Provided Dutch language file (see PR |
| 235 | [#5](https://github.com/gusbrs/zref-clever/pull/5)). |
| 236 | |
| 237 | ### Changed |
| 238 | - The `gender` key in `\zcLanguageSetup` and in the built-in language files |
| 239 | can receive a comma separated list as value to support types with multiple |
| 240 | valid genders. |
| 241 | - The `cap` and `abbrev` options can now be set also in `\zcRefTypeSetup` and |
| 242 | `\zcLanguageSetup`, so that fine grained control per-type and per-language |
| 243 | is now possible for these options. |
| 244 | - Abandoned the "dictionary/translation" metaphor to refer to language |
| 245 | specific options. Mostly housekeeping, affecting the name-scheme of |
| 246 | functions and variables, but aiming at a clearer documentation in this area, |
| 247 | specially in the longer term. |
| 248 | |
| 249 | ### Deprecated |
| 250 | - The reference format options `refpre` and `refpos` have been deprecated in |
| 251 | favor or the more aptly named `preref` and `postref`, respectively. |
| 252 | |
| 253 | ## [v0.1.1-alpha](https://github.com/gusbrs/zref-clever/compare/v0.1.0-alpha...v0.1.1-alpha) (2021-12-07) |
| 254 | |
| 255 | ### Changed |
| 256 | - Improvements to the French dictionary (see issue |
| 257 | [#1](https://github.com/gusbrs/zref-clever/issues/1)). |
| 258 | - Improvements to documentation. |
| 259 | |
| 260 | ### Removed |
| 261 | - Dropped the `subappendix` reference type. |
| 262 | |
| 263 | ## [v0.1.0-alpha](https://github.com/gusbrs/zref-clever/releases/tag/v0.1.0-alpha) (2021-11-24) |
| 264 | |
| 265 | ### Added |
| 266 | - Initial release. |