Skip to content
Ralph Schaer edited this page Jul 10, 2023 · 18 revisions

3.0.0 (July ???, 2023)

  • Upgrade to Spring 6 and Java 17

2.0.0 (March 21, 2018)

  • Upgrade to Spring 5 and Java 8

1.0.10 (August 6, 2016)

1.0.9 (March 19, 2016)

  • Let name pass through in hasOne

1.0.8 (August 27, 2015)

  Ext.define('User', {
    extend: 'Ext.data.Model',
    fields: [...],
    proxy: {
        type: 'direct',
        directFn: 'read',
        writer: {
            type: 'json',
            allDataOptions: {
                persist: true,
                associated: true
            },
            partialDataOptions: {
                changes: false, 
                critical: true,
                associated: true
            }
        }
    }
});

1.0.7 (August 20, 2015)

  • Issue 28: Added support for @ModelField annotation on methods

  • Issue 24: Add range validator when output format is Ext JS 5 and validation is set to built-in. Range validation is built-in Ext JS 5.

1.0.6 (August 5, 2015)

  • Add option for configuring the line ending that is used for writing the model files (CRLF, LF or SYSTEM)

1.0.5 (July 19, 2014)

  • Issue 9: Add requires for Ext.data.proxy.Direct if model contains a proxy config

  • Issue 12: Added clientIdProperty property to @Model

  • Issue 13: Added depends property to @ModelField

  • Issue 14: Added identifier property to @Model

  • Issue 15: New annotations for idProperty (@ModelId), versionProperty (@ModelVersion) and clientIdProperty (@ModelClientId)

  • Issue 16: Added reference property to @ModelField

  • Issue 17: Added extend property to @Model

  • Issue 18: Added allowNull property to @ModelField. Same behaviour as useNull.

  • Issue 19: Support a way to set the model field type to 'auto' even it's a known type

  • Issue 20: Added unique property to @ModelField

  • Issue 21: Added allowBlank property to @ModelField

  • Issue 22: Write integer instead of int and number instead of float for the Ext JS 5 output

  • Issue 23: Write autodetectTypes property to @Model

  • Added reader to @Model

1.0.4 (June 28, 2014)

  • Issue 6: Support for new validator syntax introduced with Ext JS 5
  • Issue 7: Add support for critical (new field config option introduced with extjs5)
  • Issue 8: Add support for new field config option calculate
  • Issue 9: Add attribute writeAllFields
  • Issue 10: Add support for versionProperty config option
  • Issue 11: Add requires for validators (Ext JS 5)

1.0.3 (May 31, 2014)

  • Add new annotation @ModelValidation

1.0.2 (March 23, 2014)

  • Support for @ModelAssociation and @ModelField annotations on type (class)

1.0.1 (February 24, 2014)

  • Issue 1: Create model classes from interfaces
  • Add support for setting writer in proxy object (writer attribute in @Model annotation)

1.0.0 (December 13, 2013)

  • Initial release
  • Code extracted from ralscha/extdirectspring 1.3.9
  • Package renamed from ch.ralscha.extdirectspring.generator to ch.rasc.extclassgenerator
  • No other code changes