Skip to content

Commit

Permalink
Version Packages
Browse files Browse the repository at this point in the history
  • Loading branch information
odinr[bot] committed Nov 13, 2024
1 parent 9d1cb90 commit 9ef4f84
Show file tree
Hide file tree
Showing 43 changed files with 254 additions and 137 deletions.
15 changes: 0 additions & 15 deletions .changeset/great-peaches-rule.md

This file was deleted.

12 changes: 0 additions & 12 deletions .changeset/grumpy-parents-swim.md

This file was deleted.

20 changes: 0 additions & 20 deletions .changeset/metal-coats-burn.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/neat-students-attend.md

This file was deleted.

13 changes: 0 additions & 13 deletions .changeset/odd-lions-study.md

This file was deleted.

15 changes: 0 additions & 15 deletions .changeset/silent-hats-dress.md

This file was deleted.

35 changes: 0 additions & 35 deletions .changeset/spicy-dolls-sip.md

This file was deleted.

16 changes: 16 additions & 0 deletions cookbooks/app-react-bookmark/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Change Log

## 4.2.0

### Minor Changes

- [#2410](https://github.com/equinor/fusion-framework/pull/2410) [`9d1cb90`](https://github.com/equinor/fusion-framework/commit/9d1cb9003fa10e7ccaa95c20ef86f0a618034641) Thanks [@odinr](https://github.com/odinr)! - Updated Bookmark Handling in App Component

- Refactored `App.tsx` to use `useLayoutEffect` instead of `useEffect` for synchronizing the `payload` state with the current bookmark.
- Replaced `useState` and `useCallback` with `useRef` for managing the `updateData` reference.
- Simplified state management by removing `BookmarkState` and `init` and directly using `payload` state.
- Updated input change handlers to directly update the `payload` state instead of using `updateState`.

Configuration Changes

- Updated `config.ts` to enable the bookmark module using `enableBookmark`.
- Removed unnecessary logger level settings and configuration callbacks for a cleaner setup.

## 4.1.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion cookbooks/app-react-bookmark/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@equinor/fusion-framework-cookbook-app-react-bookmark",
"version": "4.1.3",
"version": "4.2.0",
"description": "",
"private": true,
"type": "module",
Expand Down
8 changes: 8 additions & 0 deletions cookbooks/app-react-context-custom-error/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @equinor/fusion-framework-cookbook-app-react-context-custom-error

## 4.1.29

### Patch Changes

- Updated dependencies [[`9d1cb90`](https://github.com/equinor/fusion-framework/commit/9d1cb9003fa10e7ccaa95c20ef86f0a618034641), [`9d1cb90`](https://github.com/equinor/fusion-framework/commit/9d1cb9003fa10e7ccaa95c20ef86f0a618034641)]:
- @equinor/fusion-framework-react-app@5.3.0
- @equinor/fusion-framework-cli@10.2.0

## 4.1.28

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion cookbooks/app-react-context-custom-error/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@equinor/fusion-framework-cookbook-app-react-context-custom-error",
"version": "4.1.28",
"version": "4.1.29",
"description": "React application using framework context with a custom error",
"private": true,
"type": "module",
Expand Down
8 changes: 8 additions & 0 deletions cookbooks/app-react-context/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Change Log

## 4.1.29

### Patch Changes

- Updated dependencies [[`9d1cb90`](https://github.com/equinor/fusion-framework/commit/9d1cb9003fa10e7ccaa95c20ef86f0a618034641), [`9d1cb90`](https://github.com/equinor/fusion-framework/commit/9d1cb9003fa10e7ccaa95c20ef86f0a618034641)]:
- @equinor/fusion-framework-react-app@5.3.0
- @equinor/fusion-framework-cli@10.2.0

## 4.1.28

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion cookbooks/app-react-context/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@equinor/fusion-framework-cookbook-app-react-context",
"version": "4.1.28",
"version": "4.1.29",
"description": "React application using framework context",
"private": true,
"type": "module",
Expand Down
8 changes: 8 additions & 0 deletions cookbooks/app-react-feature-flag/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @equinor/fusion-framework-cookbook-app-react-feature-flag

## 1.3.9

### Patch Changes

- Updated dependencies [[`9d1cb90`](https://github.com/equinor/fusion-framework/commit/9d1cb9003fa10e7ccaa95c20ef86f0a618034641), [`9d1cb90`](https://github.com/equinor/fusion-framework/commit/9d1cb9003fa10e7ccaa95c20ef86f0a618034641)]:
- @equinor/fusion-framework-react-app@5.3.0
- @equinor/fusion-framework-cli@10.2.0

## 1.3.8

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion cookbooks/app-react-feature-flag/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@equinor/fusion-framework-cookbook-app-react-feature-flag",
"version": "1.3.8",
"version": "1.3.9",
"description": "",
"private": true,
"type": "module",
Expand Down
10 changes: 10 additions & 0 deletions cookbooks/poc-portal/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# poc-portal

## 1.0.8

### Patch Changes

- Updated dependencies [[`9d1cb90`](https://github.com/equinor/fusion-framework/commit/9d1cb9003fa10e7ccaa95c20ef86f0a618034641), [`9d1cb90`](https://github.com/equinor/fusion-framework/commit/9d1cb9003fa10e7ccaa95c20ef86f0a618034641)]:
- @equinor/fusion-framework-react-app@5.3.0
- @equinor/fusion-framework-cli@10.2.0
- @equinor/fusion-framework@7.2.10
- @equinor/fusion-framework-react@7.3.2

## 1.0.7

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion cookbooks/poc-portal/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "poc-portal",
"version": "1.0.7",
"version": "1.0.8",
"description": "",
"main": "src/index.tsx",
"private": true,
Expand Down
7 changes: 7 additions & 0 deletions packages/app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log

## 9.1.13

### Patch Changes

- Updated dependencies []:
- @equinor/fusion-framework@7.2.10

## 9.1.12

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@equinor/fusion-framework-app",
"version": "9.1.12",
"version": "9.1.13",
"description": "",
"main": "dist/esm/index.js",
"types": "./dist/types/index.d.ts",
Expand Down
21 changes: 21 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# Change Log

## 10.2.0

### Minor Changes

- [#2410](https://github.com/equinor/fusion-framework/pull/2410) [`9d1cb90`](https://github.com/equinor/fusion-framework/commit/9d1cb9003fa10e7ccaa95c20ef86f0a618034641) Thanks [@odinr](https://github.com/odinr)! - Updated Bookmark Integration in Dev Portal

- **Refactored `BookMarkSideSheet.tsx`:**

- Replaced `useHasBookmark` with `useCurrentAppModule<BookmarkModule>('bookmark')` for better module integration.
- Updated button `disabled` state to use `bookmarkProvider?.hasBookmarkCreators`.

- **Updated `Header.tsx`:**

- Added `useCurrentAppModule<BookmarkModule>('bookmark')` to manage bookmark module state.
- Disabled bookmark button if `bookmarkProvider` is not available.
- Passed `bookmarkProvider` to `BookmarkProvider` component.

- **Configuration Changes in `config.ts`:**
- Switched import from `@equinor/fusion-framework-module-bookmark` to `@equinor/fusion-framework-react-module-bookmark`.
- Added `builder.setFilter('application', true)` to bookmark configuration.

## 10.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@equinor/fusion-framework-cli",
"version": "10.1.0",
"version": "10.2.0",
"keywords": [
"Fusion",
"Fusion Framework",
Expand Down
8 changes: 8 additions & 0 deletions packages/framework/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Change Log

## 7.2.10

### Patch Changes

- Updated dependencies [[`9d1cb90`](https://github.com/equinor/fusion-framework/commit/9d1cb9003fa10e7ccaa95c20ef86f0a618034641)]:
- @equinor/fusion-framework-module-services@5.0.0
- @equinor/fusion-framework-module-context@5.0.13

## 7.2.9

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/framework/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@equinor/fusion-framework",
"version": "7.2.9",
"version": "7.2.10",
"description": "",
"main": "dist/esm/index.js",
"types": "dist/types/index.d.ts",
Expand Down
37 changes: 37 additions & 0 deletions packages/modules/bookmark/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,42 @@
# Change Log

## 2.0.0

### Major Changes

- [#2410](https://github.com/equinor/fusion-framework/pull/2410) [`9d1cb90`](https://github.com/equinor/fusion-framework/commit/9d1cb9003fa10e7ccaa95c20ef86f0a618034641) Thanks [@odinr](https://github.com/odinr)! - rewrite bookmark module

Needed rewrite of the bookmark module to better represent the api, and provide a more robust interface for working with bookmarks. Instead of fixing the current implementation, it was decided to rework the entire module to save time and confusion in the future.

The v1 implementation had strong coupling with the portal code and was not a good representation of the api. The new implementation is more robust and independent of source systems. The new implementation uses zod schemas to validate requests and responses.

The new implementation is not backwards compatible with the v1 implementation, so all ancestor modules should be updated to reflect the changes in this module.

The new implementation has better state management and error handling, and should be easier to work with than the v1 implementation.

**Highlights:**

- has validation of configuration of the module.
- uses the `BaseConfigBuilder` pattern for configuration.
- has validation of requests and responses using zod schemas.
- has better error handling and state management.
- has better separation of concerns.
- has better documentation.
- has better state management.
- has better flow control.
- has better logging.

**Migration:**

- update config for enabling the module
- check all direct access to provider interface if they are still valid

**Breaking changes:**

- The provider interface has changed
- The client interface has changed
- The configuration interface has changed

## 1.2.13

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/bookmark/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@equinor/fusion-framework-module-bookmark",
"version": "1.2.13",
"version": "2.0.0",
"description": "",
"main": "./dist/esm/index.js",
"exports": {
Expand Down
17 changes: 17 additions & 0 deletions packages/modules/services/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# Change Log

## 5.0.0

### Major Changes

- [#2410](https://github.com/equinor/fusion-framework/pull/2410) [`9d1cb90`](https://github.com/equinor/fusion-framework/commit/9d1cb9003fa10e7ccaa95c20ef86f0a618034641) Thanks [@odinr](https://github.com/odinr)! - Total rework of api interface for bookmarks.

The current version misrepresents the api, and does not provide a good interface for working with bookmarks. So was decided to rework the api interface to better represent the api, and provide a more robust interface for working with bookmarks. Instead of fixing the current implementation, it was decided to rework the entire module to save time and confusion in the future.

> This module is meant for internal use only, and should not be used directly by applications, so the breaking changes should not affect any applications. Ancestor modules should be updated to reflect the changes in this module.
**BREAKING CHANGES:**

- api client has been updated to reflect the new api endpoints and request/response types
- models have been replaced with infered `zod` schemas
- request and responses are now parsed and validated using `zod` schemas
- file structure has been updated to reflect the new api client structure

## 4.1.5

### Patch Changes
Expand Down
Loading

0 comments on commit 9ef4f84

Please sign in to comment.