[doc] Update docs and release notes for Coco (#4431)

This commit is contained in:
Andreas Dangel
2023-05-19 09:28:20 +02:00
parent 11c06fdb03
commit 7d6d8d71d9
4 changed files with 35 additions and 2 deletions

View File

@ -436,6 +436,9 @@ entries:
- title: Julia
url: /pmd_languages_julia.html
output: web, pdf
- title: Coco
url: /pmd_languages_coco.html
output: web, pdf
- title: Developer Documentation
output: web, pdf
folderitems:

View File

@ -0,0 +1,13 @@
---
title: Coco
permalink: pmd_languages_coco.html
---
Coco is a modern programming language designed specifically for building event-driven software.
It is part of the Coco Platform from <https://cocotec.io/>.
## Support in PMD
Starting from version 7.0.0, Coco support was added to CPD.
### Limitations
- Support for Coco only extends to CPD to detect code duplication in Coco source files.

View File

@ -163,6 +163,14 @@ in the new module `pmd-julia`.
Contributors: [Wener](https://github.com/wener-tiobe) (@wener-tiobe)
#### New: CPD support for Coco
Thanks to a contribution, CPD now supports Coco, a modern programming language
designed specifically for building event-driven software. It is shipped in the new
module `pmd-coco`.
Contributors: [Wener](https://github.com/wener-tiobe) (@wener-tiobe)
#### Changed: JavaScript support
* latest version supports ES6 and also some new constructs (see [Rhino](https://github.com/mozilla/rhino)])
@ -571,6 +579,7 @@ Language specific fixes:
* [#4412](https://github.com/pmd/pmd/pull/4412): \[doc] Added new error msg to ConstantsInInterface - [David Ljunggren](https://github.com/dague1) (@dague1)
* [#4426](https://github.com/pmd/pmd/pull/4426): \[cpd] New XML to HTML XLST report format for PMD CPD - [mohan-chinnappan-n](https://github.com/mohan-chinnappan-n) (@mohan-chinnappan-n)
* [#4428](https://github.com/pmd/pmd/pull/4428): \[apex] ApexBadCrypto bug fix for #4427 - inline detection of hard coded values - [Steven Stearns](https://github.com/sfdcsteve) (@sfdcsteve)
* [#4431](https://github.com/pmd/pmd/pull/4431): \[coco] CPD: Coco support for code duplication detection - [Wener](https://github.com/wener-tiobe) (@wener-tiobe)
* [#4444](https://github.com/pmd/pmd/pull/4444): \[java] CommentDefaultAccessModifier - ignore org.junit.jupiter.api.extension.RegisterExtension by default - [Nirvik Patel](https://github.com/nirvikpatel) (@nirvikpatel)
* [#4450](https://github.com/pmd/pmd/pull/4450): \[java] Fix #4449 AvoidAccessibilityAlteration: Correctly handle Lambda expressions in PrivilegedAction scenarios - [Seren](https://github.com/mohui1999) (@mohui1999)
* [#4452](https://github.com/pmd/pmd/pull/4452): \[doc] Update PMD_APEX_ROOT_DIRECTORY documentation reference - [nwcm](https://github.com/nwcm) (@nwcm)

View File

@ -495,20 +495,28 @@ We are shipping the following rules:
Contributors: [Jeroen Borgers](https://github.com/jborgers) (@jborgers),
[Peter Paul Bakker](https://github.com/stokpop) (@stokpop)
#### New: CPD support for TypeScript
### New: CPD support for TypeScript
Thanks to a contribution, CPD now supports the TypeScript language. It is shipped
with the rest of the JavaScript support in the module `pmd-javascript`.
Contributors: [Paul Guyot](https://github.com/pguyot) (@pguyot)
#### New: CPD support for Julia
### New: CPD support for Julia
Thanks to a contribution, CPD now supports the Julia language. It is shipped
in the new module `pmd-julia`.
Contributors: [Wener](https://github.com/wener-tiobe) (@wener-tiobe)
### New: CPD support for Coco
Thanks to a contribution, CPD now supports Coco, a modern programming language
designed specifically for building event-driven software. It is shipped in the new
module `pmd-coco`.
Contributors: [Wener](https://github.com/wener-tiobe) (@wener-tiobe)
### Changed: JavaScript support
The JS specific parser options have been removed. The parser now always retains comments and uses version ES6.