Skip to content

Releases: Synergex/CodeGen

CodeGen 6.0.4

19 Apr 23:11
Compare
Choose a tag to compare

CodeGen Release Notes

  • We made several improvements to the CreateFile utility, including:
    • Adding command line options -rm and -rt to allow you to explicitly specify repository main and text files.
    • Updating the usage info to show a new version number and describe updated features, and formatted text better for an 80-column window.
    • Adding the ability to create a file directly from a Repository structure when no matching file is defined in the Repository. This requires an explicit filespec specified with the -out option, and will generate a warning.
    • Updating the list of key segment types to include 'C' (create timestamp).
    • Correcting an issue that occurred when testing for existing ISAM files.
    • Correcting an issue where a Repository structure that intersperses access keys and foreign keys caused file creation to fail with an index out of range error.
    • Correcting issue where segment types weren't set correctly for multi-segment keys with different key types for different segments. Note that we are getting segment type from the key definition and not the underlying field definition, so types may be incorrect if not explicitly specified in key definitions.
    • Correcting an issue where the lack of an explicit VALUE_NULL for an alpha non-replicating null key caused file creation to fail with "Illegal key specified".
  • This version of CodeGen was built with Synergy/DE 12.3.1.1014 and requires a minimum of version 10.3.1b to operate.

CodeGen 6.0.3

01 Apr 19:06
Compare
Choose a tag to compare

CodeGen Release Notes

  • We added a new field loop expansion token <FIELD_DBL_NET_CONVERTER>. This token was introduced primarily to enable functionality in an up-coming enhancement to the open-source SQL Replication reference implementation, but is likely to be useful in other scenarios.
  • This version of CodeGen was built with Synergy/DE 12.3.1.1014 and requires a minimum of version 10.3.1b to operate.

CodeGen 6.0.2

15 Mar 17:09
Compare
Choose a tag to compare

CodeGen Release Notes

  • We corrected an error in the implementation of the seven new structure expression tokens that were added in the previous release.
  • This version of CodeGen was built with Synergy/DE 12.3.1.1014 and requires a minimum of version 10.3.1b to operate.

CodeGen 6.0.1

13 Mar 16:42
Compare
Choose a tag to compare

CodeGen Release Notes

  • We re-worked the CodeGen API to make it possible to concurrently open multiple repositories.
  • We added the structure expression tokens <STRUCTURE_ALPHA_FIELDS>, <STRUCTURE_DATE_FIELDS>, <STRUCTURE_DECIMAL_FIELDS>, <STRUCTURE_IMPLIED_FIELDS>, <STRUCTURE_INTEGER_FIELDS>, <STRUCTURE_TIME_FIELDS> and <STRUCTURE_USER_FIELDS>, allowing template developers to determine whether the current structure contains fields of a particular type.
  • This version of CodeGen was built with Synergy/DE 12.3.1.1014 and requires a minimum of version 10.3.1b to operate.

CodeGen 5.9.9

13 Oct 00:52
Compare
Choose a tag to compare

CodeGen Release Notes

  • Added information to the documentation of the <KEY_NAME> expansion token relating to the case sensitivity of key names in the Synergy runtime.
  • Updated the behavior of the <PARAMETER_DEFINITION> and <PARAMETER_DEFINITION_NOARRAY> tokens to honor the use of the no custom pluralization option for structure parameters.
  • Added two new parameter loop expansion tokens <PARAMETER_MAXVALUE> and <PARAMETER_MINVALUE>.
  • Added a new tag loop expansion token <TAGLOOP_TAG_VALUE_QUOTED>.
  • This version of CodeGen was built with Synergy/DE 12.2.1.1003 and requires a minimum of version 10.3.1b to operate.

CodeGen 5.9.8

19 Jul 20:59
Compare
Choose a tag to compare

CodeGen Release Notes

  • We improved the output of the <HARMONYCORE_PARAMETER_SAMPLE_DATA> token for date and boolean fields.
  • We improved support for using the @NOCODEGEN structure decoration when processing all structures (-s *).
  • This version of CodeGen was built with Synergy/DE 12.2.1.1003 and requires a minimum of version 10.3.1b to operate.

CodeGen 5.9.7

09 Jun 04:11
Compare
Choose a tag to compare

CodeGen Release Notes

  • We added two new custom field loop expressions <IF RELPLICATION_MORE> and <IF REPLICATION_NOMORE> to provide special support for logic in the CodeGen templates used by the SQL Replication environment.
  • We added new method loop expressions <DATE_PARAMETERS>, <DATE_PARAMETERS_IN> and <DATE_PARAMETERS_OUT> that can be used to determine whether the current method has date parameters.
  • This version of CodeGen was built with Synergy/DE 12.2.1.1003 and requires a minimum of version 10.3.1b to operate.

CodeGen 5.9.6

08 Jun 03:55
Compare
Choose a tag to compare

CodeGen Release Notes

  • We added a new structure expansion token <STRUCTURE_FIRST_UNIQUE_KEY>.
  • We improved the way that nested groups are processed in some cases.
  • This version of CodeGen was built with Synergy/DE 12.2.1.1003 and requires a minimum of version 10.3.1b to operate.

CodeGen 5.9.5

26 Apr 20:40
Compare
Choose a tag to compare

CodeGen Release Notes

  • We improved the error messages when method catalog-related tokens are used in invalid places.
  • We added a new Harmony Core expression token <IF HARMONYCORE_CUSTOM_FIELD_PARAM> and expansion token <HARMONYCORE_CUSTOM_FIELD_PARAM>.
  • This version of CodeGen was built with Synergy/DE 12.2.1.1003 and requires a minimum of version 10.3.1b to operate.

CodeGen 5.9.4

12 Jan 01:58
Compare
Choose a tag to compare

CodeGen Release Notes

  • We enhanced the expansion token <HARMONYCORE_BRIDGE_PARAMETER_DEFINITION> to better deal with int coerced to boolean.
  • We made it possible to use environment variables when specifying the path to a Synergy Method Catalog.
  • We enhanced the <FIELD_MAXVALUE> and <FIELD_MINVALUE> tokens to prevent out of range errors.
  • We added a new method loop expansion token <HARMONYCORE_SHORT_METHOD_NAME> which generates a mangled name for methods with long names.
  • We added a new field loop expression that can be used to determine if the name of a field is a reserved word. Currently the reserved words are "globalrfa", "synergyrecord", "metadata" and "originalsynergyrecord".
  • This version of CodeGen was built with Synergy/DE 12.2.1.1003 and requires a minimum of version 10.3.1b to operate.