Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Warning
titleBreaking changes

Syncope 3.0.2 is the first release compliant with reproducible builds.

This implies some changes in the build process that are likely to affect the Maven projects based on Syncope 3.0.1.
Details are reported below.

Table of Contents
maxLevel2
styledecimal
Source changes

...

  • change parent/version from 3.0.0 1 to 3.0.12
  • change properties/syncope.version from 3.0.0 1 to 3.0.1

Configuration Properties

Core mail setting are now based on Spring Boot e-mail

Hence, the following properties:

Code Block
languagejava
provisioning.smtp.host=none.syncope.apache.org
provisioning.smtp.port=25
provisioning.smtp.username=
provisioning.smtp.password=
provisioning.smtp.protocol=smtp
provisioning.smtp.defaultEncoding=UTF-8
provisioning.smtp.debug=false
provisioning.smtp.javamailProperties[mail.smtp.starttls.enable]=false

must be translated into

Code Block
languagejava
spring.mail.host=none.syncope.apache.org
spring.mail.port=25
spring.mail.username=
spring.mail.password=
spring.mail.properties.mail.smtp.auth=false
spring.mail.properties.mail.smtp.starttls.enable=false

Internal Storage

New indexes shall be created to improve overall performance.

PostgreSQL

Code Block
languagesql
CREATE INDEX SyncopeUser_realm_id ON SyncopeUser(realm_id);
CREATE UNIQUE INDEX SyncopeUser_username ON SyncopeUser(username);
CREATE INDEX SyncopeUser_lower_username ON SyncopeUser(LOWER(username));
CREATE INDEX SyncopeGroup_realm_id ON SyncopeGroup(realm_id);
CREATE UNIQUE INDEX SyncopeGroup_name ON SyncopeGroup(name);
CREATE INDEX SyncopeGroup_lower_name ON SyncopeGroup(LOWER(name));
CREATE INDEX AnyObject_realm_id ON AnyObject(realm_id);
CREATE UNIQUE INDEX AnyObject_name ON AnyObject(name);
CREATE INDEX AnyObject_lower_name ON AnyObject(LOWER(name));

Oracle

Code Block
languagesql
CREATE INDEX SyncopeUser_realm_id ON SyncopeUser(realm_id);
CREATE INDEX SyncopeUser_lower_username ON SyncopeUser(LOWER(username));
CREATE INDEX SyncopeGroup_realm_id ON SyncopeGroup(realm_id);
CREATE INDEX SyncopeGroup_lower_name ON SyncopeGroup(LOWER(name));
CREATE INDEX AnyObject_realm_id ON AnyObject(realm_id);
CREATE INDEX AnyObject_lower_name ON AnyObject(LOWER(name);

MySQL | MariaDB

...

languagesql

...

  • 2