# Upgrade guide for Scheduler Pro v5.6.0

## New location for `Core.util.helper.Point` class

The `Core.util.helper.Point` class has been moved to solve circular module dependencies. It is now a named (`Point`) export
of the `Core.util.helper.Rectangle` module.

Changes are required if you are directly importing the class from sources:

**Old code:**

```javascript
import Point from 'path-to-lib/Core/helper/util/Point.js';
```

**New code:**

```javascript
import { Point } from 'path-to-lib/Core/helper/util/Rectangle.js';
```

Note: No changes required for importing from module or umd bundles.

## `BryntumProjectModel` component has been renamed to `BryntumSchedulerProProjectModel`

The non-visual framework component representing a `ProjectModel` has been renamed to
`BryntumSchedulerProProjectModel` to match component name from new `thin` bundles. 

Update imported class name and html tag accordingly.

**Note:** The old `BryntumProjectModel` component is still available too, it will be removed in version `6.0.0`.

### Angular

**app.component.ts**

```typescript
import { BryntumSchedulerProProjectModelComponent } from '@bryntum/schedulerpro-angular';
```

**app.component.html:**

```html
<bryntum-scheduler-pro-project-model
...
/>
```

### React

**App.ts:**

```typescript
import { BryntumSchedulerProProjectModel } from '@bryntum/schedulerpro-react';

...

return (
     <>
         <BryntumSchedulerProProjectModel
             ...
         />
     </>
 );
}
```

### Vue

**App.vue:**

```javascript
<template>
    <div>
        <bryntum-scheduler-pro-project-model
            ...
        />
    </div>
</template>
    
...

import { BryntumSchedulerProProjectModel } from '@bryntum/schedulerpro-vue-3';
```


<p class="last-modified">Last modified on 2023-10-26 8:19:27</p>