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: README.rst
+91-31
Original file line number
Diff line number
Diff line change
@@ -467,6 +467,17 @@ See ``CONTRIBUTORS`` for details.
467
467
Version History
468
468
===============
469
469
470
+
4.0.0: (December 23rd, 2024)
471
+
* Drop support for Python 3.8.
472
+
* Add support for Python 3.12 and 3.13.
473
+
* Add support for Sphinx 8.x.x.
474
+
* Get CI working again.
475
+
* Drop pin for MarkupSafe. (#244)
476
+
* Add dependabot checking for GitHub actions. (Christian Clauss)
477
+
* Fix wheel contents to not include tests. (#241)
478
+
479
+
Thank you to Will Kahn-Greene and Christian Clauss!
480
+
470
481
3.2.2: (September 20th, 2023)
471
482
* Remove Sphinx upper-bound requirement. (#227)
472
483
* Drop support for Python 3.7. (#228)
@@ -482,47 +493,72 @@ Version History
482
493
3.2.0: (December 13th, 2022)
483
494
* Add "static" in front of static methods.
484
495
* Pin Jinja2 and markupsafe versions. (#190)
485
-
* Track dependencies; do not read all documents. This improves speed of incremental updates. (#194)
496
+
* Track dependencies; do not read all documents. This improves speed of
497
+
incremental updates. (#194)
486
498
* Support Python 3.10 and 3.11. (#186)
487
499
* Support Sphinx >= 4.1.0. (#209)
488
500
* Fix types warning for ``js_source_path`` configuration item. (#182)
489
501
490
-
Thank you Stefan 'hr' Berder, David Huggins-Daines, Nick Alexander, mariusschenzle, Erik Rose, lonnen, and Will Kahn-Greene!
502
+
Thank you Stefan 'hr' Berder, David Huggins-Daines, Nick Alexander,
503
+
mariusschenzle, Erik Rose, lonnen, and Will Kahn-Greene!
491
504
492
505
3.1.2: (April 15th, 2021)
493
-
* Remove our declared dependency on ``docutils`` to work around the way pip's greedy dependency resolver reacts to the latest version of Sphinx. pip fails when pip-installing sphinx-js because pip sees our "any version of docutils" declaration first (which resolves greedily to the latest version, 0.17) but later encounters Sphinx's apparently new ``<0.17`` constraint and gives up. We can revert this when pip's ``--use-feature=2020-resolver`` becomes the default.
506
+
* Remove our declared dependency on ``docutils`` to work around the way pip's
507
+
greedy dependency resolver reacts to the latest version of Sphinx. pip
508
+
fails when pip-installing sphinx-js because pip sees our "any version of
509
+
docutils" declaration first (which resolves greedily to the latest version,
510
+
0.17) but later encounters Sphinx's apparently new ``<0.17`` constraint and
511
+
gives up. We can revert this when pip's ``--use-feature=2020-resolver``
512
+
becomes the default.
494
513
495
514
3.1.1: (March 23rd, 2021)
496
-
* Rewrite large parts of the suffix tree that powers path lookup. This fixes several crashers.
515
+
* Rewrite large parts of the suffix tree that powers path lookup. This fixes
516
+
several crashers.
497
517
498
518
3.1: (September 10th, 2020)
499
-
* Re-architect language analysis. There is now a well-documented intermediate representation between JSDoc- and TypeDoc-emitted JSON and the renderers. This should make it much faster to merge PRs.
519
+
* Re-architect language analysis. There is now a well-documented intermediate
520
+
representation between JSDoc- and TypeDoc-emitted JSON and the renderers.
521
+
This should make it much faster to merge PRs.
500
522
* Rewrite much of the TypeScript analysis engine so it feeds into the new IR.
501
523
502
-
* TypeScript analysis used to crash if your codebase contained any overloaded functions. This no longer happens; we now arbitrarily use only the first function signature of each overloaded function.
524
+
* TypeScript analysis used to crash if your codebase contained any
525
+
overloaded functions. This no longer happens; we now arbitrarily use only
526
+
the first function signature of each overloaded function.
503
527
* Add support for static properties on TS classes.
504
528
* Support variadic args in TS.
505
529
* Support intersection types (``foo & bar``) in TS.
506
-
* Remove the "exported from" module links from classes and interfaces. Functions never had them. Let's see if we miss them.
507
-
* Pathnames for TypeScript objects no longer spuriously use ``~`` after the filename path segment; now they use ``.`` as in JS.
508
-
* More generally, TS pathnames are now just like JS ones. There is no more ``external:`` prefix in front of filenames or ``module:`` in front of namespace names.
530
+
* Remove the "exported from" module links from classes and interfaces.
531
+
Functions never had them. Let's see if we miss them.
532
+
* Pathnames for TypeScript objects no longer spuriously use ``~`` after the
533
+
filename path segment; now they use ``.`` as in JS.
534
+
* More generally, TS pathnames are now just like JS ones. There is no more
535
+
``external:`` prefix in front of filenames or ``module:`` in front of
536
+
namespace names.
509
537
* TS analyzer no longer cares with the current working directory is.
510
-
* Tests now assert only what they care about rather than being brittle to the point of prohibiting any change.
511
-
* No longer show args in the arg list that are utterly uninformative, lacking both description and type info.
512
-
* Class attributes are now listed before methods unless manally ordered with ``:members:``.
538
+
* Tests now assert only what they care about rather than being brittle to
539
+
the point of prohibiting any change.
540
+
* No longer show args in the arg list that are utterly uninformative, lacking
541
+
both description and type info.
542
+
* Class attributes are now listed before methods unless manally ordered with
543
+
``:members:``.
513
544
514
545
3.0.1: (August 10th, 2020)
515
-
* Don't crash when encountering a ``../`` prefix on an object path. This can happen behind the scenes when ``root_for_relative_js_paths`` is set inward of the JS code.
546
+
* Don't crash when encountering a ``../`` prefix on an object path. This can
547
+
happen behind the scenes when ``root_for_relative_js_paths`` is set inward
548
+
of the JS code.
516
549
517
550
3.0: (July 14th, 2020)
518
551
* Make compatible with Sphinx 3, which requires Python 3.
519
552
* Drop support for Python 2.
520
-
* Make sphinx-js not care what the current working directory is, except for the TypeScript analyzer, which needs further work.
553
+
* Make sphinx-js not care what the current working directory is, except for
554
+
the TypeScript analyzer, which needs further work.
521
555
* Properly RST-escape return types.
522
556
523
557
2.8: (September 16th, 2019)
524
-
* Display generic TypeScript types properly. Make fields come before methods. (Paul Grau)
525
-
* Combine constructor and class documentation at the top TypeScript classes. (Sebastian Weigand)
558
+
* Display generic TypeScript types properly. Make fields come before methods.
559
+
(Paul Grau)
560
+
* Combine constructor and class documentation at the top TypeScript classes.
561
+
(Sebastian Weigand)
526
562
* Switch to pytest as the testrunner. (Sebastian Weigand)
527
563
* Add optional caching of JSDoc output, for large codebases. (Patrick Browne)
528
564
* Fix the display of union types in TypeScript. (Sebastian Weigand)
@@ -545,21 +581,25 @@ Version History
545
581
* Use documented ``@params`` to help fill out the formal param list for a
546
582
function. This keeps us from missing params that use destructuring. (flozz)
547
583
* Improve error reporting when JSDoc is missing.
548
-
* Add extracted default values to generated formal param lists. (flozz and erikrose)
584
+
* Add extracted default values to generated formal param lists. (flozz and
585
+
erikrose)
549
586
550
587
2.4: (March 21, 2018)
551
588
* Support the ``@example`` tag. (lidavidm)
552
589
* Work under Windows. Before, we could hardly find any documentation. (flozz)
553
-
* Properly unwrap multiple-line JSDoc tags, even if they have Windows line endings. (Wim Yedema)
590
+
* Properly unwrap multiple-line JSDoc tags, even if they have Windows line
591
+
endings. (Wim Yedema)
554
592
* Drop support for Python 3.3, since Sphinx has also done so.
555
-
* Fix build-time crash when using recommonmark (for Markdown support) under Sphinx >=1.7.1. (jamrizzi)
593
+
* Fix build-time crash when using recommonmark (for Markdown support) under
594
+
Sphinx >=1.7.1. (jamrizzi)
556
595
557
596
2.3.1: (January 11th, 2018)
558
597
* Find the ``jsdoc`` command on Windows, where it has a different name. Then
559
598
patch up process communication so it doesn't hang.
560
599
561
600
2.3: (November 1st, 2017)
562
-
* Add the ability to say "*" within the ``autoclass :members:`` option, meaning "and all the members that I didn't explicitly list".
601
+
* Add the ability to say "*" within the ``autoclass :members:`` option,
602
+
meaning "and all the members that I didn't explicitly list".
563
603
564
604
2.2: (October 10th, 2017)
565
605
* Add ``autofunction`` support for ``@callback`` tags. (krassowski)
@@ -568,22 +608,39 @@ Version History
568
608
* Pin six more tightly so ``python_2_unicode_compatible`` is sure to be around.
569
609
570
610
2.1: (August 30th, 2017)
571
-
* Allow multiple folders in ``js_source_path``. This is useful for gradually migrating large projects, one folder at a time, to JSDoc. Introduce ``root_for_relative_js_paths`` to keep relative paths unambiguous in the face of multiple source paths.
572
-
* Aggregate PathTaken errors, and report them all at once. This means you don't have to run JSDoc repeatedly while cleaning up large projects.
573
-
* Fix a bytes-vs-strings issue that crashed on versions of Python 3 before 3.6. (jhkennedy)
574
-
* Tolerate JS files that have filename extensions other than ".js". Before, when combined with custom JSDoc configuration that ingested such files, incorrect object pathnames were generated, which led to spurious "No JSDoc documentation was found for object ..." errors.
611
+
* Allow multiple folders in ``js_source_path``. This is useful for gradually
612
+
migrating large projects, one folder at a time, to JSDoc. Introduce
613
+
``root_for_relative_js_paths`` to keep relative paths unambiguous in the
614
+
face of multiple source paths.
615
+
* Aggregate PathTaken errors, and report them all at once. This means you
616
+
don't have to run JSDoc repeatedly while cleaning up large projects.
617
+
* Fix a bytes-vs-strings issue that crashed on versions of Python 3 before
618
+
3.6. (jhkennedy)
619
+
* Tolerate JS files that have filename extensions other than ".js". Before,
620
+
when combined with custom JSDoc configuration that ingested such files,
621
+
incorrect object pathnames were generated, which led to spurious "No JSDoc
622
+
documentation was found for object ..." errors.
575
623
576
624
2.0.1: (July 13th, 2017)
577
-
* Fix spurious syntax errors while loading large JSDoc output by writing it to a temp file first. (jhkennedy)
625
+
* Fix spurious syntax errors while loading large JSDoc output by writing it
626
+
to a temp file first. (jhkennedy)
578
627
579
628
2.0: (May 4th, 2017)
580
-
* Deal with ambiguous object paths. Symbols with identical JSDoc longnames (such as two top-level things called "foo" in different files) will no longer have one shadow the other. Introduce an unambiguous path convention for referring to objects. Add a real parser to parse them rather than the dirty tricks we were using before. Backward compatibility breaks a little, because ambiguous references are now a fatal error, rather than quietly referring to the last definition JSDoc happened to encounter.
581
-
* Index everything into a suffix tree so you can use any unique path suffix to refer to an object.
629
+
* Deal with ambiguous object paths. Symbols with identical JSDoc longnames
630
+
(such as two top-level things called "foo" in different files) will no
631
+
longer have one shadow the other. Introduce an unambiguous path convention
632
+
for referring to objects. Add a real parser to parse them rather than the
633
+
dirty tricks we were using before. Backward compatibility breaks a little,
634
+
because ambiguous references are now a fatal error, rather than quietly
635
+
referring to the last definition JSDoc happened to encounter.
636
+
* Index everything into a suffix tree so you can use any unique path suffix
637
+
to refer to an object.
582
638
* Other fallout of having a real parser:
583
639
584
640
* Stop supporting "-" as a namepath separator.
585
641
* No longer spuriously translate escaped separators in namepaths into dots.
586
-
* Otherwise treat paths and escapes properly. For example, we can now handle symbols that contain "(".
642
+
* Otherwise treat paths and escapes properly. For example, we can now
643
+
handle symbols that contain "(".
587
644
* Fix KeyError when trying to gather the constructor params of a plain old
588
645
object labeled as a ``@class``.
589
646
@@ -602,14 +659,17 @@ Version History
602
659
* Add ``jsdoc_config_path`` option.
603
660
604
661
1.3.1: (March 6th, 2017)
605
-
* Tolerate @args and other info field lines that are wrapped in the source code.
606
-
* Cite the file and line of the source comment in Sphinx-emitted warnings and errors.
662
+
* Tolerate @args and other info field lines that are wrapped in the source
663
+
code.
664
+
* Cite the file and line of the source comment in Sphinx-emitted warnings and
665
+
errors.
607
666
608
667
1.3: (February 21st, 2017)
609
668
* Add ``autoattribute`` directive.
610
669
611
670
1.2: (February 14th, 2017)
612
-
* Always do full rebuilds; don't leave pages stale when JS code has changed but the RSTs have not.
671
+
* Always do full rebuilds; don't leave pages stale when JS code has changed
0 commit comments