Skip to content

Commit

Permalink
Merge pull request #805 from OP-TED/prepare/1.8.2
Browse files Browse the repository at this point in the history
Prepare release of SDK 1.8.2
  • Loading branch information
bertrand-lorentz authored Jan 30, 2024
2 parents 6612ac9 + f32c9f9 commit 6368e9e
Show file tree
Hide file tree
Showing 200 changed files with 5,695 additions and 5,420 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# SDK 1.8.2 Release Notes

This release brings the following corrections in the validation rules, making them more permissive:

* The field "The winner is listed on a regulated market" (BT-746-Organization) is now optional.
* Remove rule BR-BT-00743-0100 that required "Electronic invoicing" (BT-743-Lot) to be set to "required".
* Remove ineffective rules for change notices to improve performance when validating notices with a large number of lots.

This release also includes updated translations and updated notice visualisation templates.

A comprehensive list of changes between SDK 1.8.1 and SDK 1.8.2 can be seen at <https://github.com/OP-TED/eForms-SDK/compare/1.8.1...1.8.2>

You can explore the changes between those versions at <https://docs.ted.europa.eu/eforms-sdk-explorer?base=1.8.1&version=1.8.2>

# SDK 1.8.1 Release Notes

This release brings the following corrections in the validation rules, making them more permissive:
Expand Down
21 changes: 1 addition & 20 deletions fields/fields.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"ublVersion" : "2.3",
"sdkVersion" : "eforms-sdk-1.8.1",
"sdkVersion" : "eforms-sdk-1.8.2",
"metadataDatabase" : {
"version" : "1.8.0",
"createdOn" : "2023-07-21T15:00:00"
Expand Down Expand Up @@ -20983,15 +20983,6 @@
"type" : "flat"
},
"severity" : "ERROR"
},
"assert" : {
"value" : "{ND-Root} ${TRUE}",
"severity" : "ERROR",
"constraints" : [ {
"value" : "{ND-LotTenderingTerms} ${(OPP-070-notice in ('7','8','9','10','11','12','13','14','15','16','17','18','19','20','21','22','38','39','40') and (BT-743-Lot == 'required')) or not(OPP-070-notice in ('7','8','9','10','11','12','13','14','15','16','17','18','19','20','21','22','38','39','40')) or not(BT-743-Lot is present)}",
"severity" : "ERROR",
"message" : "rule|text|BR-BT-00743-0100"
} ]
}
}, {
"id" : "BT-744-Lot",
Expand Down Expand Up @@ -21074,16 +21065,6 @@
"value" : true,
"severity" : "ERROR"
} ]
},
"mandatory" : {
"value" : false,
"severity" : "ERROR",
"constraints" : [ {
"noticeTypes" : [ "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "T02" ],
"condition" : "{ND-Organization} ${(OPT-200-Organization-Company in OPT-300-Tenderer[OPT-210-Tenderer in OPT-310-Tender[OPT-321-Tender in BT-3202-Contract]]) or (OPT-200-Organization-Company in OPT-301-Tenderer-SubCont[OPT-210-Tenderer in OPT-310-Tender[OPT-321-Tender in BT-3202-Contract]])}",
"value" : true,
"severity" : "ERROR"
} ]
}
}, {
"id" : "BT-747-Lot",
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<groupId>eu.europa.ted.eforms</groupId>
<artifactId>eforms-sdk</artifactId>
<version>1.8.1</version>
<version>1.8.2</version>
<packaging>jar</packaging>

<name>eForms SDK</name>
Expand Down Expand Up @@ -48,7 +48,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.build.outputTimestamp>2023-10-26T12:38:48Z</project.build.outputTimestamp>
<project.build.outputTimestamp>2024-01-23T10:45:07Z</project.build.outputTimestamp>

<sonatype.server.url>s01.oss.sonatype.org</sonatype.server.url>

Expand Down
14 changes: 0 additions & 14 deletions schematrons/dynamic/validation-stage-4.sch

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion schematrons/dynamic/validation-stage-5.sch
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@
<assert id="BR-BT-00630-0150" role="ERROR" diagnostics="BT-630_d_-Lot" test="(cbc:EndDate/xs:date(text()) > ../../../../../../../cbc:IssueDate/xs:date(text())) or not((cbc:EndDate) and (../../../../../../../cbc:IssueDate))">rule|text|BR-BT-00630-0150</assert>
</rule>
<rule context="/*/cac:ProcurementProjectLot[cbc:ID/@schemeName='Lot']/cac:TenderingTerms">
<assert id="BR-BT-00743-0100" role="ERROR" diagnostics="BT-743-Lot" test="(../../ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/efext:EformsExtension/efac:NoticeSubType/cbc:SubTypeCode/normalize-space(text()) = ('7','8','9','10','11','12','13','14','15','16','17','18','19','20','21','22','38','39','40') and (cac:ContractExecutionRequirement/cbc:ExecutionRequirementCode[@listName='einvoicing']/normalize-space(text()) = 'required')) or not(../../ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/efext:EformsExtension/efac:NoticeSubType/cbc:SubTypeCode/normalize-space(text()) = ('7','8','9','10','11','12','13','14','15','16','17','18','19','20','21','22','38','39','40')) or not(cac:ContractExecutionRequirement/cbc:ExecutionRequirementCode[@listName='einvoicing'])">rule|text|BR-BT-00743-0100</assert>
<assert id="BR-OPT-00301-1400" role="ERROR" diagnostics="OPT-301-Lot-AddInfo" test="(((cac:AdditionalInformationParty/cac:PartyIdentification/cbc:ID/normalize-space(text()) = /*/ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/efext:EformsExtension/efac:Organizations/efac:Organization/efac:Company/cac:PartyIdentification/cbc:ID/normalize-space(text())) or (cac:AdditionalInformationParty/cac:PartyIdentification/cbc:ID/normalize-space(text()) = /*/ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/efext:EformsExtension/efac:Organizations/efac:Organization/efac:TouchPoint/cac:PartyIdentification/cbc:ID/normalize-space(text())))) or not(cac:AdditionalInformationParty/cac:PartyIdentification/cbc:ID)">rule|text|BR-OPT-00301-1400</assert>
<assert id="BR-OPT-00301-1402" role="ERROR" diagnostics="OPT-301-Lot-DocProvider" test="(((cac:DocumentProviderParty/cac:PartyIdentification/cbc:ID/normalize-space(text()) = /*/ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/efext:EformsExtension/efac:Organizations/efac:Organization/efac:Company/cac:PartyIdentification/cbc:ID/normalize-space(text())) or (cac:DocumentProviderParty/cac:PartyIdentification/cbc:ID/normalize-space(text()) = /*/ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/efext:EformsExtension/efac:Organizations/efac:Organization/efac:TouchPoint/cac:PartyIdentification/cbc:ID/normalize-space(text())))) or not(cac:DocumentProviderParty/cac:PartyIdentification/cbc:ID)">rule|text|BR-OPT-00301-1402</assert>
<assert id="BR-OPT-00301-1420" role="ERROR" diagnostics="OPT-301-Lot-TenderEval" test="(((cac:TenderEvaluationParty/cac:PartyIdentification/cbc:ID/normalize-space(text()) = /*/ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/efext:EformsExtension/efac:Organizations/efac:Organization/efac:Company/cac:PartyIdentification/cbc:ID/normalize-space(text())) or (cac:TenderEvaluationParty/cac:PartyIdentification/cbc:ID/normalize-space(text()) = /*/ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/efext:EformsExtension/efac:Organizations/efac:Organization/efac:TouchPoint/cac:PartyIdentification/cbc:ID/normalize-space(text())))) or not(cac:TenderEvaluationParty/cac:PartyIdentification/cbc:ID)">rule|text|BR-OPT-00301-1420</assert>
Expand Down
Loading

0 comments on commit 6368e9e

Please sign in to comment.