You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,8 @@
4
4
5
5
### Changes
6
6
7
+
*[#877](https://github.com/clojure-emacs/cider-nrepl/pull/877): `inspect-refresh` middleware is now capable of setting all config options that `orchard.inspect` supports.
8
+
*[#877](https://github.com/clojure-emacs/cider-nrepl/pull/877): Deprecate all `inspect-set-*` middleware ops.
7
9
* Bump `orchard` to [0.26.0](https://github.com/clojure-emacs/orchard/blob/master/CHANGELOG.md#0260-2024-06-30).
Copy file name to clipboardExpand all lines: doc/modules/ROOT/pages/nrepl-api/ops.adoc
+12-8Lines changed: 12 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -675,14 +675,18 @@ Returns::
675
675
676
676
=== `inspect-refresh`
677
677
678
-
Re-renders the currently inspected value.
678
+
Updates inspector with the provided config and re-renders the current value.
679
679
680
680
Required parameters::
681
681
* `:session` The current session
682
682
683
683
684
684
Optional parameters::
685
-
{blank}
685
+
* `:max-atom-length` New max length of single rendered value
686
+
* `:max-coll-size` New max size of rendered collection
687
+
* `:max-nested-depth` New max nested depth of rendered collection
688
+
* `:page-size` New page size
689
+
686
690
687
691
Returns::
688
692
* `:doc-block-tags-fragments` May be absent. Represent the 'param', 'returns' and 'throws' sections a Java doc comment. It's a vector of fragments, where fragment is a map with ``:type`` ('text' or 'html') and ``:content`` plain text or html markup, respectively
@@ -696,7 +700,7 @@ Returns::
696
700
697
701
=== `inspect-set-max-atom-length`
698
702
699
-
Set the max length of nested atoms to specified value.
703
+
[DEPRECATED - use ``inspect-refresh`` instead] Set the max length of nested atoms to specified value.
700
704
701
705
Required parameters::
702
706
* `:max-atom-length` New max length.
@@ -718,7 +722,7 @@ Returns::
718
722
719
723
=== `inspect-set-max-coll-size`
720
724
721
-
Set the number of nested collection members to display before truncating.
725
+
[DEPRECATED - use ``inspect-refresh`` instead] Set the number of nested collection members to display before truncating.
722
726
723
727
Required parameters::
724
728
* `:max-coll-size` New collection size.
@@ -740,7 +744,7 @@ Returns::
740
744
741
745
=== `inspect-set-max-nested-depth`
742
746
743
-
Set the maximum nested levels to display before truncating.
747
+
[DEPRECATED - use ``inspect-refresh`` instead] Set the maximum nested levels to display before truncating.
744
748
745
749
Required parameters::
746
750
* `:max-nested-depth` New nested depth.
@@ -762,7 +766,7 @@ Returns::
762
766
763
767
=== `inspect-set-page-size`
764
768
765
-
Sets the page size in paginated view to specified value.
769
+
[DEPRECATED - use ``inspect-refresh`` instead] Sets the page size in paginated view to specified value.
766
770
767
771
Required parameters::
768
772
* `:page-size` New page size.
@@ -1147,7 +1151,7 @@ Returns::
1147
1151
1148
1152
=== `retest`
1149
1153
1150
-
[DEPRECATED - ``use test-var-query`` instead] Run all tests in the project. If ``load?`` is truthy, all project namespaces are loaded; otherwise, only tests in presently loaded namespaces are run. Results are cached for exception retrieval and to enable re-running of failed/erring tests.
1154
+
[DEPRECATED - use ``test-var-query`` instead] Run all tests in the project. If ``load?`` is truthy, all project namespaces are loaded; otherwise, only tests in presently loaded namespaces are run. Results are cached for exception retrieval and to enable re-running of failed/erring tests.
1151
1155
1152
1156
Required parameters::
1153
1157
{blank}
@@ -1281,7 +1285,7 @@ Returns::
1281
1285
1282
1286
=== `test`
1283
1287
1284
-
[DEPRECATED - ``use test-var-query`` instead] Run tests in the specified namespace and return results. This accepts a set of ``tests`` to be run; if nil, runs all tests. Results are cached for exception retrieval and to enable re-running of failed/erring tests.
1288
+
[DEPRECATED - use ``test-var-query`` instead] Run tests in the specified namespace and return results. This accepts a set of ``tests`` to be run; if nil, runs all tests. Results are cached for exception retrieval and to enable re-running of failed/erring tests.
{:doc"[DEPRECATED - `use test-var-query` instead] Run tests in the specified namespace and return results. This accepts a set of `tests` to be run; if nil, runs all tests. Results are cached for exception retrieval and to enable re-running of failed/erring tests."
764
+
{:doc"[DEPRECATED - use `test-var-query` instead] Run tests in the specified namespace and return results. This accepts a set of `tests` to be run; if nil, runs all tests. Results are cached for exception retrieval and to enable re-running of failed/erring tests."
@@ -768,7 +772,7 @@ stack frame of the most recent exception. This op is deprecated, please use the
768
772
{:doc"Rerun all tests that did not pass when last run. Results are cached for exception retrieval and to enable re-running of failed/erring tests."
769
773
:optional wrap-print-optional-arguments}
770
774
"retest"
771
-
{:doc"[DEPRECATED - `use test-var-query` instead] Run all tests in the project. If `load?` is truthy, all project namespaces are loaded; otherwise, only tests in presently loaded namespaces are run. Results are cached for exception retrieval and to enable re-running of failed/erring tests."
775
+
{:doc"[DEPRECATED - use `test-var-query` instead] Run all tests in the project. If `load?` is truthy, all project namespaces are loaded; otherwise, only tests in presently loaded namespaces are run. Results are cached for exception retrieval and to enable re-running of failed/erring tests."
0 commit comments