10000 Prep for 3.2.0 release · pyodide/sphinx-js@c7d770f · GitHub
[go: up one dir, main page]

Skip to content

Commit c7d770f

Browse files
committed
Prep for 3.2.0 release
This also adds release dates for all existing versions.
1 parent 1d4480f commit c7d770f

File tree

2 files changed

+35
-27
lines changed

2 files changed

+35
-27
lines changed

README.rst

Lines changed: 34 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -348,13 +348,21 @@ Run the tests using tox, which will also install JSDoc and TypeDoc at pinned ver
348348
Version History
349349
===============
350350

351-
3.1.2
351+
3.2.0: (December 13th, 2022)
352+
* Add "static" in front of static methods.
353+
* Pin Jinja2 and markupsafe versions. (#190)
354+
* Track dependencies; do not read all documents. This improves speed of incremental updates. (#194)
355+
* Support Python 3.10 and 3.11. (#186)
356+
* Support Sphinx >= 4.1.0. (#209)
357+
* Fix types warning for ``js_source_path`` configuration item. (#182)
358+
359+
3.1.2: (April 15th, 2021)
352360
* 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.
353361

354-
3.1.1
362+
3.1.1: (March 23rd, 2021)
355363
* Rewrite large parts of the suffix tree that powers path lookup. This fixes several crashers.
356364

357-
3.1
365+
3.1: (September 10th, 2020)
358366
* 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.
359367
* Rewrite much of the TypeScript analysis engine so it feeds into the new IR.
360368

@@ -370,16 +378,16 @@ Version History
370378
* No longer show args in the arg list that are utterly uninformative, lacking both description and type info.
371379
* Class attributes are now listed before methods unless manally ordered with ``:members:``.
372380

373-
3.0.1
381+
3.0.1: (August 10th, 2020)
374382
* 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.
375383

376-
3.0
384+
3.0: (July 14th, 2020)
377385
* Make compatible with Sphinx 3, which requires Python 3.
378386
* Drop support for Python 2.
379387
* Make sphinx-js not care what the current working directory is, except for the TypeScript analyzer, which needs further work.
380388
* Properly RST-escape return types.
381389

382-
2.8
390+
2.8: (September 16th, 2019)
383391
* Display generic TypeScript types properly. Make fields come before methods. (Paul Grau)
384392
* Combine constructor and class documentation at the top TypeScript classes. (Sebastian Weigand)
385393
* Switch to pytest as the testrunner. (Sebastian Weigand)
@@ -388,54 +396,54 @@ Version History
388396
* Fix parsing breakage that began in typedoc 0.14.0. (Paul Grau)
389397
* Fix a data-intake crash with TypeScript. (Cristiano Santos)
390398

391-
2.7.1
399+
2.7.1: (November 16th, 2018)
392400
* Fix a crash that would happen sometimes with UTF-8 on Windows. #67.
393401
* Always use conf.py's dir for JSDoc's working dir. #78. (Thomas Khyn)
394402

395-
2.7
403+
2.7: (August 2nd, 2018))
396404
* Add experimental TypeScript support. (Wim Yedema)
397405

398-
2.6
406+
2.6: (July 26th, 2018)
399407
* Add support for ``@deprecated`` and ``@see``. (David Li)
400408
* Notice and document JS variadic params nicely. (David Li)
401409
* Add linter to codebase.
402410

403-
2.5
411+
2.5: (April 20th, 2018)
404412
* Use documented ``@params`` to help fill out the formal param list for a
405413
function. This keeps us from missing params that use destructuring. (flozz)
406414
* Improve error reporting when JSDoc is missing.
407415
* Add extracted default values to generated formal param lists. (flozz and erikrose)
408416

409-
2.4
417+
2.4: (March 21, 2018)
410418
* Support the ``@example`` tag. (lidavidm)
411419
* Work under Windows. Before, we could hardly find any documentation. (flozz)
412420
* Properly unwrap multiple-line JSDoc tags, even if they have Windows line endings. (Wim Yedema)
413421
* Drop support for Python 3.3, since Sphinx has also done so.
414422
* Fix build-time crash when using recommonmark (for Markdown support) under Sphinx >=1.7.1. (jamrizzi)
415423

416-
2.3.1
424+
2.3.1: (January 11th, 2018)
417425
* Find the ``jsdoc`` command on Windows, where it has a different name. Then
418426
patch up process communication so it doesn't hang.
419427

420-
2.3
428+
2.3: (November 1st, 2017)
421429
* Add the ability to say "*" within the ``autoclass :members:`` option, meaning "and all the members that I didn't explicitly list".
422430

423-
2.2
431+
2.2: (October 10th, 2017)
424432
* Add ``autofunction`` support for ``@callback`` tags. (krassowski)
425433
* Add experimental ``autofunction`` support for ``@typedef`` tags. (krassowski)
426434
* Add a nice error message for when JSDoc can't find any JS files.
427435
* Pin six more tightly so ``python_2_unicode_compatible`` is sure to be around.
428436

429-
2.1
437+
2.1: (August 30th, 2017)
430438
* 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.
431439
* Aggregate PathTaken errors, and report them all at once. This means you don't have to run JSDoc repeatedly while cleaning up large projects.
432440
* Fix a bytes-vs-strings issue that crashed on versions of Python 3 before 3.6. (jhkennedy)
433441
* 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.
434442

435-
2.0.1
443+
2.0.1: (July 13th, 2017)
436444
* Fix spurious syntax errors while loading large JSDoc output by writing it to a temp file first. (jhkennedy)
437445

438-
2.0
446+
2.0: (May 4th, 2017)
439447
* 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.
440448
* Index everything into a suffix tree so you can use any unique path suffix to refer to an object.
441449
* Other fallout of having a real parser:
@@ -446,34 +454,34 @@ Version History
446454
* Fix KeyError when trying to gather the constructor params of a plain old
447455
object labeled as a ``@class``.
448456

449-
1.5.2
457+
1.5.2: (March 22th, 2017)
450458
* Fix crasher while warning that a specified longname isn't found.
451459

452-
1.5.1
460+
1.5.1: (March 20th, 2017)
453461
* Sort ``:members:`` alphabetically when an order is not explicitly specified.
454462

455-
1.5
463+
1.5: (March 17th, 2017)
456464
* Add ``:members:`` option to ``autoclass``.
457465
* Add ``:private-members:`` and ``:exclude-members:`` options to go with it.
458466
* Significantly refactor to allow directive classes to talk to each other.
459467

460-
1.4
468+
1.4: (March 10th, 2017)
461469
* Add ``jsdoc_config_path`` option.
462470

463-
1.3.1
471+
1.3.1: (March 6th, 2017)
464472
* Tolerate @args and other info field lines that are wrapped in the source code.
465473
* Cite the file and line of the source comment in Sphinx-emitted warnings and errors.
466474

467-
1.3
475+
1.3: (February 21st, 2017)
468476
* Add ``autoattribute`` directive.
469477

470-
1.2
478+
1.2: (February 14th, 2017)
471479
* Always do full rebuilds; don't leave pages stale when JS code has changed but the RSTs have not.
472480
* Make Python-3-compatible.
473481
* Add basic ``autoclass`` directive.
474482

475-
1.1
483+
1.1: (February 13th, 2017)
476484
* Add ``:short-name:`` option.
477485

478-
1.0
486+
1.0: (February 7th, 2017)
479487
* Initial release, with just ``js:autofunction``

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
setup(
66
name='sphinx-js',
7-
version='3.1.2',
7+
version='3.2.0',
88
description='Support for using Sphinx on JSDoc-documented JS code',
99
long_description=open('README.rst', 'r', encoding='utf8').read(),
1010
long_description_content_type="text/x-rst",

0 commit comments

Comments
 (0)
0