Debian Codegraph @

CHANGELOG.md

raw
1 # Change Log
2
3 ## 0.7.0 - 2025-01-19
4
5 ### Dependencies
6
7 - ⬆️ Drop Python 3.9 & 3.10, support Python 3.14 by {user}`chrisjsewell` in {pr}`250`
8 - ⬆️ Drop Sphinx v6, add Sphinx v9 support by {user}`chrisjsewell` in {pr}`250` and {pr}`255`
9 - ⬆️ Update Material Design Icons to v4.0.0-116-ge9da21 by {user}`2bndy5` in {pr}`223`
10
11 ### Docs
12
13 - 📚 Document `muted`, `white`, and `black` semantic colors by {user}`agriyakhetarpal` in {pr}`216`
14
15 ## 0.6.1 - 2024-08-02
16
17 - ⬆️ Update sphinx to >=6,<9 by {user}`chrisjsewell` in {pr}`212`
18 - 👌 Reduce right-padding of dropdown title by {user}`chrisjsewell` in {pr}`198`
19
20 ## 0.6.0 - 2024-05-23
21
22 ### Dependencies
23
24 * ⬆️ Python v3.9-3.12 by {user}`chrisjsewell` in {pr}`186`
25 * ⬆️ Octicon icons to v19.8.0 by {user}`ffvpor` in {pr}`171`
26
27 ### New
28
29 #### ✨ Create custom directives
30
31 You can use the `sd_custom_directives` configuration option in your `conf.py` to add custom directives, with default option values:
32
33 ```python
34 sd_custom_directives = {
35 "dropdown-syntax": {
36 "inherit": "dropdown",
37 "argument": "Syntax",
38 "options": {
39 "color": "primary",
40 "icon": "code",
41 },
42 }
43 }
44 ```
45
46 The key is the new directive name to add, and the value is a dictionary with the following keys:
47
48 - `inherit`: The directive to inherit from (e.g. `dropdown`)
49 - `argument`: The default argument (optional, only for directives that take a single argument)
50 - `options`: A dictionary of default options for the directive (optional)
51
52 by {user}`chrisjsewell` in {pr}`194`
53
54 #### ✨ sync tabs by URL query parameters
55
56 Synchronised tabs can now be selected by adding a query parameter to the URL, for that sync-group, such as `?code=python` for
57
58 ```restructuredtext
59 .. tab-set-code::
60
61 .. literalinclude:: snippet.py
62 :language: python
63
64 .. literalinclude:: snippet.js
65 :language: javascript
66 ```
67
68 The last selected tab key, per group, is also persisted to `SessionStorage`
69
70 by {user}`mikemckiernan` and {user}`chrisjsewell` in {pr}`196`
71
72 ### Improve
73
74 * 👌 Use reference name by default for internal link cards by {user}`gabalafou` in {pr}`183`
75 * 👌 Improve specificity of JS function name by {user}`danirus` in {pr}`153`
76 * 👌 Remove duplicate CSS hashing for sphinx >= 7.1 by {user}`chrisjsewell` in {pr}`193`
77
78 #### 👌 Improve `dropdown` title bar
79
80 There are three visible changes:
81
82 1. The "default" behaviour of the right chevron is to go from right-facing (closed) to down-facing (open), instead of down-facing (closed) to up-facing (open). There is also a rotate transition on opening/closing.
83 The old default behaviour can be retained by using the new `:chevron: down-up` directive option.
84 2. The prefix icon (optional), title text, and chevron state icon are now all better aligned
85 3. The top/bottom padding is now 0.5em instead of 1em
86
87 The PR also introduces three new CSS variables to control font sizes of the dropdown:
88
89 ```css
90 --sd-fontsize-tabs-label: 1rem;
91 --sd-fontsize-dropdown-title: 1rem;
92 --sd-fontweight-dropdown-title: 700;
93 ```
94
95 Internally, the HTML / CSS is changed, such that the title is now an `inline-flex` box, with three columns arranged with `justify-content: space-between`:
96
97 | icon (optional) | text (`flex-grow: 1`) | state chevron |
98 | -------------- | -------------------- | -------------- |
99 | | | |
100
101 Also, the state chevron was previously two distinct SVGs (with one hidden), but now is one that get rotated on open/close.
102
103 by {user}`chrisjsewell` in {pr}`192`
104
105 ### Fix
106
107 * 🐛 Fix tab-item label with nested syntax by {user}`Praecordi` in {pr}`135`
108 * 🐛 Fix do not close `input` tag by {user}`chrisjsewell` in {pr}`195`
109
110 ### Internal
111
112 * 📚 Update theme versions by {user}`chrisjsewell` in {pr}`189`
113 * 📚 Make octicon list a table by {user}`chrisjsewell` in {pr}`188`
114 * 📚 Add sphinx-immaterial to doc theme builds by {user}`chrisjsewell` in {pr}`190`
115 * 📚 Change syntax dropdown color by {user}`chrisjsewell` in {pr}`191`
116
117 * 🔧 Add FIPS compliant flag to md5 call by {user}`gabor-varga` in {pr}`162`
118 * 🔧 define `build.os` for RTD to fix build by {user}`sciencewhiz` in {pr}`176`
119 * 🔧 Move to ruff by {user}`chrisjsewell` in {pr}`185`
120
121 **Full Changelog**: <https://github.com/executablebooks/sphinx-design/compare/v0.5.0...v0.6.0>
122
123 ## 0.5.0 - 2023-07-27
124
125 * ⬆️ Drop Python 3.7 support, by {user}`chrisjsewell` in {pr}`146`
126 * ⬆️ UPGRADE: sphinx>=5,<8, by {user}`chrisjsewell` in {pr}`148`
127
128 **Full Changelog**: <https://github.com/executablebooks/sphinx-design/compare/v0.4.1...v0.5.0>
129
130 ## v0.4.0 - 2023-04-13
131
132 **Full Changelog**: <https://github.com/executablebooks/sphinx-design/compare/v0.3.0...v0.4.0>
133
134 ### Enhancements made
135
136 - Make default blue color a11y friendly. {pr}`124` ({user}`feanil`, {user}`choldgraf`)
137 - Make card titles translatable {pr}`113` ({user}`jpmckinney`, {user}`chrisjsewell`)
138
139 ### Version upgrades
140
141 - Sphinx 6.x. {pr}`106`
142 - Support for Python 3.11 {pr}`105`
143
144 ### Contributors to this release
145
146 The following people contributed discussions, new ideas, code and documentation contributions, and review.
147 See [our definition of contributors](https://github-activity.readthedocs.io/en/latest/#how-does-this-tool-define-contributions-in-the-reports).
148
149 ([GitHub contributors page for this release](https://github.com/executablebooks/sphinx-design/graphs/contributors?from=2022-08-22&to=2023-04-12&type=c))
150
151 ## v0.3.0 - 2022-08-22
152
153 - ⬆️ Update Materials Design Icons to v4.0.0-46-gc9e5528, thanks to {user}`2bndy5` ({pr}`69`)
154 - 🐛 FIX: dropdown/tab-item `:name:` options ({pr}`91`)
155 - 🐛 FIX: Docs build against non-html formats ({pr}`88`)
156 - 👌 IMPROVE: Add card options `class-img-top`/`class-img-bottom` ({pr}`92`)
157 - 👌 IMPROVE: Add `link-alt` to fix card link accessibility ({pr}`89`)
158 - adds the `link-alt` option to `card` (and `grid-item-card`) directives, in order to assign a discernable name to the link (for screen readers).
159 - 👌 IMPROVE: Make tab ids deterministic ({pr}`93`)
160 - Use increasing indices, rather than UUIDs
161 - 🔧 MAINTAIN: Fix docutils `PendingDeprecationWarning` ({pr}`94`)
162 - 📚 DOCS: Update font awesome icons ({pr}`64`)
163
164 **Full Changelog**: <https://github.com/executablebooks/sphinx-design/compare/v0.2.0...v0.3.0>
165
166 ## v0.2.0 - 2022-06-14
167
168 - ⬆️ Support Sphinx v5, drop v3
169 - ⬆️ Add Python 3.10 support
170
171 **Full Changelog**: <https://github.com/executablebooks/sphinx-design/compare/v0.1.0...v0.2.0>
172
173 ## v0.1.0 - 2022-04-21
174
175 - ✨ NEW: Add material design icons roles, thanks to {user}`2bndy5` in {pr}`41`
176 - ⬆️ UPGRADE: octicons to v16.1.1, thanks to {user}`pocek` in {pr}`43`
177 - 🐛 FIX: Links in card titles by {user}`chrisjsewell` in {pr}`59`
178 - 🐛 FIX: Exception on missing card link by {user}`chrisjsewell` in {pr}`60`
179 - 🔧 MAINTAIN: Move from setuptools to flit for package build by {user}`chrisjsewell` in {pr}`58`
180 - 🔧 MAINTAIN: Drop furo-specific stylesheet, thanks to {user}`pradyunsg` in {pr}`22`
181
182 **Full Changelog**: <https://github.com/executablebooks/sphinx-design/compare/v0.0.13...v0.1.0>
183
184 ## v0.0.13 - 2021-10-27
185
186 ✨ NEW: add icon `far` role ({pr}`35`), thanks to {user}`OriolAbril`
187
188 👌 IMPROVE: Styling for tabs ({pr}`21`), thanks to {user}`pradyunsg`
189
190 👌 IMPROVE: Properly remove the border on dropdown card body ({pr}`23`), thanks to {user}`pradyunsg`
191
192 🐛 FIX: `sd-outline-*` classes color ({pr}`25`)
193
194 ## v0.0.11 - 2021-09-08
195
196 ✨ NEW: Add `ref-type` option to `button-ref` directive
197
198 ## v0.0.10 - 2021-08-08
199
200 ✨ NEW: Add `grid-item` directive `child-direction` and `child-align` options
201
202 ✨ NEW: Add `card` directive `img-background` option
203
204 ## v0.0.9 - 2021-06-08
205
206 ♻️ REFACTOR: `test_sd_hide_root_title` to `sd_hide_title` front-matter
207
208 👌 IMPROVE: dropdown chevrons
209
210 ## v0.0.8 - 2021-06-08
211
212 ✨ NEW: Add `test_sd_hide_root_title` config option to hide the root title.
213
214 👌 IMPROVE: `sd-card-hover:hover` add scale 101%
215
216 📚 DOCS: Update landing page
217
218 ## v0.0.7 - 2021-05-08
219
220 ✨ NEW: Add `reverse` option for `grid` directive
221
222 ✨ NEW: Add animations
223
224 ## v0.0.6 - 2021-04-08
225
226 ✨ NEW: Add `card-carousel` directive
227
228 ## v0.0.5 - 2021-28-07
229
230 👌 IMPROVE: Make octicon's size variable
231
232 ## v0.0.4 - 2021-28-07
233
234 👌 IMPROVE: Allow `auto` for grid columns
235
236 ## v0.0.3 - 2021-26-07
237
238 👌 IMPROVE: Add more CSS classes and add documentation 📚
239
240 ## v0.0.2 - 2021-23-07
241
242 Improve documentation 📚
243
244 ## v0.0.1 - 2021-22-07
245
246 Initial release 🎉