# Release Notes

## Update 134

* *Environment: dev, Environment Version: 2.1.2.0*


* `Tenant` self-access to personal-information and non-personal-information fields is no longer gated by `CustomerCommunicationConfiguration` settings. A `Tenant` can now always view and edit the following fields on their own user record: `first_name`, `last_name`, `phone_number`, `email`, `birth_date`, `profile_picture`, `anonymization_name`, `corporate_name`, `sni_number`, `invoice_email`, `ssn_is_coordination_number`, `popular_name`, `allows_external_personal_information_sharing`.
* `ssn` is now view-only for both `Tenant` and `SubTenant`. Previously, `ssn` was editable when personal-information handle access was granted.
* `email_verified` and `org_no` are now exposed as view-only on the customer-user attribute map for both `Tenant` (always) and `SubTenant` (when personal-information access is granted).
* `SubTenant` self-access remains gated by `allow_personal_information_access` on the `SubTenant` instance.
* The following fields on `configurations.customercommunicationconfiguration` are deprecated. They remain writable for now, but will be removed; they no longer affect `Tenant` self-access and will disappear from docs:
  * `can_handle_personal_information`
  * `can_view_personal_information`
  * `can_handle_non_personal_information`
  * `can_view_non_personal_information`


* Deprecated the following fields on `accounts.subtenant` - implemented for subtenants on the subtenant connection tables instead (`accounts.subtenantcontractconnection`, `accounts.subtenanttenantconnection`):
  * `invoice_distribution_instruction`
  * `reminder_distribution_instruction`
  * `debt_distribution_instruction`
  * `prefer_invoice_view_only`


* The terms entities in `objects` are deprecated:
  - `objects.apartmentterms`
  - `objects.industrialpremisesterms`
  - `objects.parkingspotterms`
  - `objects.outdoorsectionterms`
* The corresponding `terms` foreign key relations are deprecated on rentable spaces and contracts.
* For apartments, these are replaced by the new `markets.apartmentterms` entity and the `terms` relation on `markets.marketapartment`.
* Terms for other space types will be re-added when those space types are added to markets.
* The deprecated endpoints and fields will remain available in the API for a short notice period. Current users of these endpoints and fields have been informed.


* GET on endpoint `/objects/room/list/` is deprecated. Use GET on `/objects/room/list/<attr>/` instead. See options for available values of `attr` below. The endpoint will only return instances that has a value set for the provided `attr`.
  - `apartment`
  - `brf_apartment`
  - `industrial_premises`
  - `common_area`
  - `outdoor_section`
* GET on endpoint `/objects/component/list/` is deprecated. Use GET on `/objects/component/list/<attr>/` instead. See options for available values of `attr` below. The endpoint will only return instances that has a value set for the provided `attr`.
  - `room.apartment`
  - `room.brf_apartment`
  - `room.industrial_premises`
  - `room.common_area`
  - `room.outdoor_section`
  - `apartment`
  - `brf_apartment`
  - `industrial_premises`
  - `common_area`
  - `parking_spot`
  - `outdoor_section`
  - `building`
  - `parking_lot`
  - `outdoor_area`
  - `realestate`
* GET on endpoint `/errands/configurations/componentconditionnotation/list/` is deprecated. Use GET on `/errands/configurations/componentconditionnotation/list/<attr>/` instead. See options for available values of `attr` below. The endpoint will only return instances that has a value set for the provided `attr`.
  - `component.room.apartment`
  - `component.room.brf_apartment`
  - `component.room.industrial_premises`
  - `component.room.common_area`
  - `component.room.outdoor_section`
  - `component.apartment`
  - `component.brf_apartment`
  - `component.industrial_premises`
  - `component.common_area`
  - `component.parking_spot`
  - `component.outdoor_section`
  - `component.building`
  - `component.parking_lot`
  - `component.outdoor_area`
  - `component.realestate`