Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SRU2023 #159

Merged
merged 78 commits into from
Nov 21, 2023
Merged
Changes from 47 commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
843d064
SRU2023
ptorres-prowide Apr 26, 2023
67a05e1
fixed version for upcoming SRU
zubri Apr 26, 2023
bce672b
codegenMtClasses
ptorres-prowide Apr 27, 2023
000894e
codegenMtFields
ptorres-prowide Apr 27, 2023
ece1ec6
codegenMtSchemes
ptorres-prowide Apr 27, 2023
c9b295c
codegenMtFields for MT306
ptorres-prowide Apr 28, 2023
241287e
FIx MT306
ptorres-prowide Apr 28, 2023
5f34b96
Adding remaining missing fields
ptorres-prowide Apr 28, 2023
77cc2f0
Codegen after deprecated generation
ptorres-prowide May 2, 2023
31f1913
Adding deprecation changes
ptorres-prowide May 2, 2023
904cbda
Updated all phases and remove SRU2023 as Target
ptorres-prowide May 2, 2023
1b17862
Adding deprecation changes
ptorres-prowide May 2, 2023
60fcadb
Adding generated deprecation changes
ptorres-prowide May 3, 2023
dd62d86
CodeGen update
ptorres-prowide May 4, 2023
83e88c5
SRU2023
ptorres-prowide Apr 26, 2023
ff66fba
fixed version for upcoming SRU
zubri Apr 26, 2023
a227d06
codegenMtClasses
ptorres-prowide Apr 27, 2023
453ccbe
codegenMtFields
ptorres-prowide Apr 27, 2023
f268e6b
codegenMtSchemes
ptorres-prowide Apr 27, 2023
cfecee5
codegenMtFields for MT306
ptorres-prowide Apr 28, 2023
47b882d
FIx MT306
ptorres-prowide Apr 28, 2023
8ee5d31
Adding remaining missing fields
ptorres-prowide Apr 28, 2023
dd45ea4
Codegen after deprecated generation
ptorres-prowide May 2, 2023
cbaac26
Adding deprecation changes
ptorres-prowide May 2, 2023
0baa4a7
Updated all phases and remove SRU2023 as Target
ptorres-prowide May 2, 2023
ac1fdcd
Adding deprecation changes
ptorres-prowide May 2, 2023
d0d79b2
Adding generated deprecation changes
ptorres-prowide May 3, 2023
a87caa3
CodeGen update
ptorres-prowide May 4, 2023
e6340c2
Merge branch 'SRU2023' of github.com:prowide/prowide-core into SRU2023
ptorres-prowide May 19, 2023
6890ebd
release
zubri May 30, 2023
07e1653
Fixing Utils phase
ptorres-prowide May 30, 2023
59c4b61
fixed codegen
zubri May 31, 2023
a0e7c9f
Merge branch 'SRU2023' of github.com:prowide/prowide-core into SRU2023
zubri May 31, 2023
f0d39ef
Adding schema changes
ptorres-prowide Jun 2, 2023
4a67f52
add missing constants
zubri Jun 2, 2023
943eb67
Merge branch 'SRU2023' of github.com:prowide/prowide-core into SRU2023
zubri Jun 2, 2023
b2e59b0
remove 2022 dead code
zubri Jun 5, 2023
51e248f
CU-860qg6pmb_PW-1323--Re-Important-Prowide-Product-Changes-this-Year …
ptorres-prowide Jun 13, 2023
1421335
Merge branch 'develop' into SRU2023
zubri Jun 13, 2023
cb54ed4
release
zubri Jun 13, 2023
954cf03
PW-1323: fix unimplemented getValue in Field 44J (#165)
ptorres-prowide Jun 14, 2023
d178341
release
zubri Jun 14, 2023
21bc84e
Merge branch 'develop' into SRU2023
zubri Jun 27, 2023
57ea6f8
Added spotless plugin with Palantir format
zubri Jul 25, 2023
1f20350
merge fixes and spotless apply
zubri Jul 25, 2023
566e32c
changelog fix
zubri Jul 25, 2023
296ea86
PW-1461: Add back field 31R without deprecation (#167)
ptorres-prowide Jul 28, 2023
a1cb198
release
zubri Jul 28, 2023
5471769
release
zubri Jul 28, 2023
1cea437
fix changelog
zubri Aug 4, 2023
5d667e9
copyright
zubri Aug 4, 2023
2456a06
Merge branch 'develop' into SRU2023
zubri Aug 23, 2023
1c01dd2
PW-1478: Swift2023--MT760-44J-Parse-issue (#168)
ptorres-prowide Aug 23, 2023
8433e98
release
zubri Aug 23, 2023
fb3b688
version from scm
zubri Aug 23, 2023
c49fc84
Fixing missing codegen Field 44J
ptorres-prowide Aug 30, 2023
f7f4bc5
release
zubri Aug 30, 2023
2505c5f
Merge branch 'develop' into SRU2023
zubri Sep 20, 2023
74e7793
release
zubri Sep 21, 2023
e7e5918
PW-1478: fix field44J parse and getValue (#173)
zubri Sep 21, 2023
3a40bb6
Merge branch 'develop' into SRU2023
zubri Oct 13, 2023
8204132
Remove deprecation annotation for fields relocated to the Prowide Int…
zubri Oct 26, 2023
1645989
PW-1659: Field24G MT760 Narrative change (#175)
fernando-prowide Oct 30, 2023
88d9ab0
Merge branch 'SRU2023' of github.com:prowide/prowide-core into SRU2023
zubri Oct 30, 2023
0c60e9c
release
zubri Oct 30, 2023
4634ff6
PW-1675: update to Field31R to support also two date components as re…
ptorres-prowide Nov 7, 2023
ad6f7ea
CU-86ayp5jrw_PW-1695--Stack-Overflow-Error-while---JSON-to-MT-with-JD…
ptorres-prowide Nov 10, 2023
0c8b65f
CU-86ayna18a_PW-1688--Missing-tag-39F-description-for-Expanded-MT760-…
ptorres-prowide Nov 10, 2023
9b91b54
changelog and code formatting
zubri Nov 10, 2023
6fe8666
CU-86aypa2ap_PW-1697--MT306-Validation-Issue-for-2023-SWIFT-Standards…
ptorres-prowide Nov 11, 2023
ebaade1
changelog for release
zubri Nov 11, 2023
e15a497
Updating git ignore
ptorres-prowide Nov 13, 2023
55a21e4
Merge branch 'develop' into SRU2023
zubri Nov 16, 2023
d0a0b86
CU-86aypa2ap_PW-1697--MT306-Validation-Issue-for-2023-SWIFT-Standards…
ptorres-prowide Nov 16, 2023
6d1cd79
PW-1697: MT306 SRU2023 changes Field30I (#183)
fernando-prowide Nov 16, 2023
546acb8
CU-86ayb02z5_Crete-model-for-DistinguishedName (#182)
ptorres-prowide Nov 16, 2023
1de4f15
release
zubri Nov 17, 2023
2df8916
fix changelog duplicated entry
zubri Nov 17, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
13 changes: 11 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
# Prowide Core - CHANGELOG

#### 9.3.17 - July 2023
#### 9.4.3 - SNAPSHOT
* (PW-1461) Remove deprecation of field 31R model since is it used back in SRU2023
* (PW-1405) Trim original String payload when creating an AbstractSwiftMessage

#### 9.3.16 - June 2023
#### 9.4.2 - June 2023
* (GH-163) Remove unnecessary padding in sender and receiver in AbstractMT#creeate(number, sender, receiver) method
* (PW-1323) Fixing getValue method for pattern issue in Field44J

#### 9.4.1 - June 2023
* (PW-1323) Fixing missing pattern issue in Field44J

#### 9.4.0 - May 2022
* SWIFT Standard release update 2023 (live 19 November 2023)
* Yearly revision of deprecation phase (see https://dev.prowidesoftware.com/SRU2022/getting-started/deprecation/)

#### 9.3.15 - May 2023
* (PW-1341) Avoid log pollution with exception stacktrace in Field#formatAccount method
5 changes: 3 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ archivesBaseName = 'pw-swift-core'
group 'com.prowidesoftware'

project.ext {
SRU = 'SRU2022'
SRU = 'SRU2023'
}

scmVersion {
@@ -33,7 +33,8 @@ scmVersion {
versionSeparator.set('-')
}
}
project.version = "${SRU}-${scmVersion.version}"
//project.version = "${SRU}-${scmVersion.version}"
project.version = "${SRU}-9.4.2"

tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
Original file line number Diff line number Diff line change
@@ -133,6 +133,7 @@ public interface SchemeConstantsC {
String CCPT = "CCPT";
String CGEN = "CGEN";
String CASD = "CASD";
String CNTI = "CNTI";
String CALM = "CALM";
String CACO = "CACO";
String CBON = "CBON";
Original file line number Diff line number Diff line change
@@ -21,7 +21,6 @@ public interface SchemeConstantsD {
String DIGI = "DIGI";
String DKOT = "DKOT";
String DKIN = "DKIN";
String DBTR = "DBTR";
String DAVO = "DAVO";
String DAVF = "DAVF";
String D = "D";
Original file line number Diff line number Diff line change
@@ -24,7 +24,6 @@ public interface SchemeConstantsS {
String SDVA = "SDVA";
String SKOT = "SKOT";
String SKIN = "SKIN";
String SITR = "SITR";
String SAFE = "SAFE";
String SEME = "SEME";
String SETPRTY = "SETPRTY";
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2006-2022 Prowide
* Copyright 2006-2023 Prowide
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -57,15 +57,15 @@
* </ul>
*
* <p>
* This class complies with standard release <strong>SRU2022</strong>
* This class complies with standard release <strong>SRU2023</strong>
*/
@SuppressWarnings("unused")
@Generated
public class Field101 extends Field implements Serializable {
/**
* Constant identifying the SRU to which this class belongs to.
*/
public static final int SRU = 2022;
public static final int SRU = 2023;

private static final long serialVersionUID = 1L;
/**
@@ -81,21 +81,21 @@ public class Field101 extends Field implements Serializable {
* @deprecated Use {@link #parserPattern()} method instead.
*/
@Deprecated
@ProwideDeprecated(phase3 = TargetYear.SRU2023)
@ProwideDeprecated(phase4 = TargetYear.SRU2024)
public static final String PARSER_PATTERN = "S";

/**
* @deprecated Use {@link #typesPattern()} method instead.
*/
@Deprecated
@ProwideDeprecated(phase3 = TargetYear.SRU2023)
@ProwideDeprecated(phase4 = TargetYear.SRU2024)
public static final String COMPONENTS_PATTERN = "S";

/**
* @deprecated Use {@link #typesPattern()} method instead.
*/
@Deprecated
@ProwideDeprecated(phase3 = TargetYear.SRU2023)
@ProwideDeprecated(phase4 = TargetYear.SRU2024)
public static final String TYPES_PATTERN = "S";

/**
@@ -219,7 +219,7 @@ public String getValueDisplay(int component, Locale locale) {
*/
@Override
@Deprecated
@ProwideDeprecated(phase3 = TargetYear.SRU2023)
@ProwideDeprecated(phase4 = TargetYear.SRU2024)
public String componentsPattern() {
return "S";
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2006-2022 Prowide
* Copyright 2006-2023 Prowide
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -58,15 +58,15 @@
* </ul>
*
* <p>
* This class complies with standard release <strong>SRU2022</strong>
* This class complies with standard release <strong>SRU2023</strong>
*/
@SuppressWarnings("unused")
@Generated
public class Field102 extends Field implements Serializable {
/**
* Constant identifying the SRU to which this class belongs to.
*/
public static final int SRU = 2022;
public static final int SRU = 2023;

private static final long serialVersionUID = 1L;
/**
@@ -82,21 +82,21 @@ public class Field102 extends Field implements Serializable {
* @deprecated Use {@link #parserPattern()} method instead.
*/
@Deprecated
@ProwideDeprecated(phase3 = TargetYear.SRU2023)
@ProwideDeprecated(phase4 = TargetYear.SRU2024)
public static final String PARSER_PATTERN = "S";

/**
* @deprecated Use {@link #typesPattern()} method instead.
*/
@Deprecated
@ProwideDeprecated(phase3 = TargetYear.SRU2023)
@ProwideDeprecated(phase4 = TargetYear.SRU2024)
public static final String COMPONENTS_PATTERN = "Z";

/**
* @deprecated Use {@link #typesPattern()} method instead.
*/
@Deprecated
@ProwideDeprecated(phase3 = TargetYear.SRU2023)
@ProwideDeprecated(phase4 = TargetYear.SRU2024)
public static final String TYPES_PATTERN = "Z";

/**
@@ -220,7 +220,7 @@ public String getValueDisplay(int component, Locale locale) {
*/
@Override
@Deprecated
@ProwideDeprecated(phase3 = TargetYear.SRU2023)
@ProwideDeprecated(phase4 = TargetYear.SRU2024)
public String componentsPattern() {
return "Z";
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2006-2022 Prowide
* Copyright 2006-2023 Prowide
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -57,15 +57,15 @@
* </ul>
*
* <p>
* This class complies with standard release <strong>SRU2022</strong>
* This class complies with standard release <strong>SRU2023</strong>
*/
@SuppressWarnings("unused")
@Generated
public class Field103 extends Field implements Serializable {
/**
* Constant identifying the SRU to which this class belongs to.
*/
public static final int SRU = 2022;
public static final int SRU = 2023;

private static final long serialVersionUID = 1L;
/**
@@ -81,21 +81,21 @@ public class Field103 extends Field implements Serializable {
* @deprecated Use {@link #parserPattern()} method instead.
*/
@Deprecated
@ProwideDeprecated(phase3 = TargetYear.SRU2023)
@ProwideDeprecated(phase4 = TargetYear.SRU2024)
public static final String PARSER_PATTERN = "S";

/**
* @deprecated Use {@link #typesPattern()} method instead.
*/
@Deprecated
@ProwideDeprecated(phase3 = TargetYear.SRU2023)
@ProwideDeprecated(phase4 = TargetYear.SRU2024)
public static final String COMPONENTS_PATTERN = "S";

/**
* @deprecated Use {@link #typesPattern()} method instead.
*/
@Deprecated
@ProwideDeprecated(phase3 = TargetYear.SRU2023)
@ProwideDeprecated(phase4 = TargetYear.SRU2024)
public static final String TYPES_PATTERN = "S";

/**
@@ -219,7 +219,7 @@ public String getValueDisplay(int component, Locale locale) {
*/
@Override
@Deprecated
@ProwideDeprecated(phase3 = TargetYear.SRU2023)
@ProwideDeprecated(phase4 = TargetYear.SRU2024)
public String componentsPattern() {
return "S";
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2006-2022 Prowide
* Copyright 2006-2023 Prowide
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -57,15 +57,15 @@
* </ul>
*
* <p>
* This class complies with standard release <strong>SRU2022</strong>
* This class complies with standard release <strong>SRU2023</strong>
*/
@SuppressWarnings("unused")
@Generated
public class Field104 extends Field implements Serializable {
/**
* Constant identifying the SRU to which this class belongs to.
*/
public static final int SRU = 2022;
public static final int SRU = 2023;

private static final long serialVersionUID = 1L;
/**
@@ -81,21 +81,21 @@ public class Field104 extends Field implements Serializable {
* @deprecated Use {@link #parserPattern()} method instead.
*/
@Deprecated
@ProwideDeprecated(phase3 = TargetYear.SRU2023)
@ProwideDeprecated(phase4 = TargetYear.SRU2024)
public static final String PARSER_PATTERN = "S";

/**
* @deprecated Use {@link #typesPattern()} method instead.
*/
@Deprecated
@ProwideDeprecated(phase3 = TargetYear.SRU2023)
@ProwideDeprecated(phase4 = TargetYear.SRU2024)
public static final String COMPONENTS_PATTERN = "S";

/**
* @deprecated Use {@link #typesPattern()} method instead.
*/
@Deprecated
@ProwideDeprecated(phase3 = TargetYear.SRU2023)
@ProwideDeprecated(phase4 = TargetYear.SRU2024)
public static final String TYPES_PATTERN = "S";

/**
@@ -219,7 +219,7 @@ public String getValueDisplay(int component, Locale locale) {
*/
@Override
@Deprecated
@ProwideDeprecated(phase3 = TargetYear.SRU2023)
@ProwideDeprecated(phase4 = TargetYear.SRU2024)
public String componentsPattern() {
return "S";
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2006-2022 Prowide
* Copyright 2006-2023 Prowide
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -59,15 +59,15 @@
* </ul>
*
* <p>
* This class complies with standard release <strong>SRU2022</strong>
* This class complies with standard release <strong>SRU2023</strong>
*/
@SuppressWarnings("unused")
@Generated
public class Field105 extends Field implements Serializable {
/**
* Constant identifying the SRU to which this class belongs to.
*/
public static final int SRU = 2022;
public static final int SRU = 2023;

private static final long serialVersionUID = 1L;
/**
@@ -83,21 +83,21 @@ public class Field105 extends Field implements Serializable {
* @deprecated Use {@link #parserPattern()} method instead.
*/
@Deprecated
@ProwideDeprecated(phase3 = TargetYear.SRU2023)
@ProwideDeprecated(phase4 = TargetYear.SRU2024)
public static final String PARSER_PATTERN = "N";

/**
* @deprecated Use {@link #typesPattern()} method instead.
*/
@Deprecated
@ProwideDeprecated(phase3 = TargetYear.SRU2023)
@ProwideDeprecated(phase4 = TargetYear.SRU2024)
public static final String COMPONENTS_PATTERN = "N";

/**
* @deprecated Use {@link #typesPattern()} method instead.
*/
@Deprecated
@ProwideDeprecated(phase3 = TargetYear.SRU2023)
@ProwideDeprecated(phase4 = TargetYear.SRU2024)
public static final String TYPES_PATTERN = "N";

/**
@@ -221,7 +221,7 @@ public String getValueDisplay(int component, Locale locale) {
*/
@Override
@Deprecated
@ProwideDeprecated(phase3 = TargetYear.SRU2023)
@ProwideDeprecated(phase4 = TargetYear.SRU2024)
public String componentsPattern() {
return "N";
}
@@ -348,16 +348,10 @@ public java.lang.Long getComponent1AsLong() {
}

/**
* Get the component 1 as Number (BigDecimal)
*
* The value is returned as BigDecimal to keep compatibility with previous API. You should
* use <code>getComponent1AsLong()</code> to get the proper value.
*
* @return the component 1 converted to Number (BigDecimal) or null if cannot be converted
* @see #getComponent1AsLong()
* @deprecated use #getComponent1AsLong() instead
*/
@Deprecated
@ProwideDeprecated(phase3 = TargetYear.SRU2023)
@ProwideDeprecated(phase4 = TargetYear.SRU2024)
public java.lang.Number getComponent1AsNumber() {
Long l = getComponent1AsLong();
return l != null ? new BigDecimal(l) : null;
@@ -381,16 +375,10 @@ public java.lang.Long getDeliveryMonitoringAsLong() {
}

/**
* Get the Delivery Monitoring (component 1) as as Number (BigDecimal)
*
* The value is returned as BigDecimal to keep compatibility with previous API. You should
* use <code>getComponent1AsLong()</code> to get the proper value.
*
* @return the component 1 converted to Number (BigDecimal) or null if cannot be converted
* @see #getDeliveryMonitoringAsLong()
* @deprecated use #getDeliveryMonitoringAsLong() instead
*/
@Deprecated
@ProwideDeprecated(phase3 = TargetYear.SRU2023)
@ProwideDeprecated(phase4 = TargetYear.SRU2024)
public java.lang.Number getDeliveryMonitoringAsNumber() {
return getComponent1AsNumber();
}
Loading