Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

fix(deps): update all (major) #454

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fix(deps): update all (major) #454

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 25, 2020

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence Type Update
@graphback/datasync (source) 0.14.0 -> 1.1.2 age adoption passing confidence dependencies major
@graphback/keycloak-authz (source) 0.14.0 -> 1.1.2 age adoption passing confidence dependencies major
@graphback/runtime-mongo (source) 0.14.0 -> 1.1.2 age adoption passing confidence dependencies major
@ionic/react 5.1.1 -> 6.7.0 age adoption passing confidence dependencies major
@ionic/react-router 5.1.1 -> 6.7.0 age adoption passing confidence dependencies major
@testing-library/react 11.0.4 -> 14.0.0 age adoption passing confidence dependencies major
@testing-library/user-event 12.1.5 -> 14.4.3 age adoption passing confidence dependencies major
@types/node (source) 13.13.12 -> 18.15.10 age adoption passing confidence devDependencies major
@types/node (source) 12.12.47 -> 18.15.10 age adoption passing confidence dependencies major
@types/simpl-schema (source) 0.2.7 -> 1.12.3 age adoption passing confidence devDependencies major
del-cli 3.0.1 -> 5.0.0 age adoption passing confidence devDependencies major
dotenv 8.2.0 -> 16.0.3 age adoption passing confidence dependencies major
graphback (source) 0.14.0 -> 1.1.2 age adoption passing confidence dependencies major
graphback-cli (source) 0.14.0 -> 1.1.2 age adoption passing confidence devDependencies major
graphql 15.3.0 -> 16.6.0 age adoption passing confidence dependencies major
graphql 15.3.0 -> 16.6.0 age adoption passing confidence devDependencies major
graphql-subscriptions 1.1.0 -> 2.0.0 age adoption passing confidence dependencies major
ionicons (source) 5.0.1 -> 7.1.0 age adoption passing confidence dependencies major
jboss/keycloak 10.0.2 -> 16.1.1 age adoption passing confidence major
keycloak-js (source) 11.0.2 -> 21.0.1 age adoption passing confidence dependencies major
mongodb 3.5.9 -> 5.1.0 age adoption passing confidence dependencies major
node 8 -> 19 age adoption passing confidence final major
react-scripts 3.4.1 -> 5.0.1 age adoption passing confidence dependencies major
ts-node (source) 9.0.0 -> 10.9.1 age adoption passing confidence devDependencies major
ts-node-dev 1.0.0-pre.44 -> 2.0.0 age adoption passing confidence devDependencies major
typescript (source) 4.0.2 -> 5.0.2 age adoption passing confidence devDependencies major
typescript (source) 4.0.2 -> 5.0.2 age adoption passing confidence dependencies major

Release Notes

aerogear/graphback

v1.1.2

Compare Source

1.1.2 (2021-02-06)

Bug Fixes

v1.1.1

Compare Source

Bug Fixes

v1.1.0

Compare Source

Features
  • Added a Kafka template
Bug Fixes
  • graphback-codegen-schema, graphback-core, graphback-datasync, graphback-runtime-knex, graphql-serve
  • graphback-codegen-client
    • #​2139 fix: unable to generate subscription query unless mutation operation in model is set to true (@​RinkiyaKeDad
  • codegen-schema
Committers: 2

v1.0.1

Compare Source

Features
  • Added ability to override package name in plugin config (#​2077, fixed by 4cfd68c)
Bug Fixes
  • Logical or filter selector was not mapped correctly in graphback-runtime-mongo (#​2034, fixed by 1ebe7e9)
  • Logical or filter selector was not mapped correctly in graphback-runtime-knex (#​2034, fixed by 6d43f28)
  • Logical or predicate was not applied correctly in createInMemoryPredicateFilter (#​2034, fixed by 01f9912)
  • GraphQL Migrations did not read auto-incrementing info from database column (#​2017, fixed by 83a80cd)
  • Prevent creation of empty Subscription, Query, Mutation resolver objects (#​2073, fixed by 97e8267)
  • Fix TypeError: Cannot read property 'page' of undefined error in CRUDService (#​2095 fixed by 5143fb6)
  • It was not possible to map a WHERE X IS/IS NOT NULL query in the Knex query mapper (#​2095 fixed by d10e918)
  • Prevent creation of empty Subscription, Query, Mutation resolver objects (#​2073, fixed by 97e826)
  • Configure relationship auth rule with field instead of database key (#​2101, fixed by 525bc9a)
  • Fix Could not find a declaration file for module 'bson' error (#​2104, fixed by 4f9ce7c)
  • Add missing interface (#​2019, fixed by f46e920)
  • Generate schema subscription fields when mutations are disabled (#​2114, fixed by 212eb7a)
  • Don't create Query, Mutation, Subscription empty resolver objects (#​2122, fixed by faf172d

v0.16.2

Compare Source

Bug Fixes
  • Primary key with ID ScalarType and field name different to id isn't auto-incrementable. Fixed in #​1997
  • Logical OR operator is not working correctly in MongoDB query builder. (#​1963), fixed by (059a0ae)

v0.16.1

Compare Source

Bug Fixes
  • Correct main file and types paths of graphql-serve package (d4d918e).

v0.16.0

Compare Source

New Features
  • Use any knex 0.20.x or 0.21.x version in your application (d826b6f#​1903)

  • Ability to specify composite unique columns in GraphQL Migrations (#​1658), fixed by (9c6f34a231e2645c34533d58ea4427ff8f8f634e)

  • Requiring _id: GraphbackObjectID primary key for MongoDB (#​1769).
    This fixes issues below related to primary key in MongoDB:

    NOTE: If you are migrating from 0.15 or previous versions of Graphback, you may be required to update relationship fields so that their values (previous stored as String) are of type ObjectID.

  • Add a @transient field annotation to ignore fields during input type creation and migrations 4076fa26

DataSync
  • Using a _lastUpdatedAt field with a proper GraphbackTimestamp scalar and other minor fixes (#​1771) including:

    • disabling conflicts in default configuration
    • adding a limit argument to sync Queries
Bug Fixes
Breaking Changes
  • Use GraphbackDateTime scalar for generated createdAt updatedAt fields (#​1349, fixed by #​1862)
Disable filter input generation for unknown custom scalars

Graphback disabled generation of unknown custom scalars, except for Timestamp, Time, Date, DateTime, as we cannot reliably support scalars we do not know.

See Graphback Scalars for the list of officially supported scalars.

  • Replace @db(skip: true) field annotation with @transient 85d50f3c
Changed GraphbackCRUDService findBy method signature. This also applies to all services that implement this interface.
- findBy(filter: QueryFilter<Type>, context: GraphbackContext, page?: GraphbackPage, orderBy?: any): Promise<ResultList<Type>>;
+ findBy(args?: FindByArgs, context?: GraphbackContext, info?: GraphQLResolveInfo, path?: string): Promise<ResultList<Type>>;

args

findBy now accepts a new interface, FindByArgs, which wraps the filter, page and orderBy optional arguments.

await noteService.findBy({
  filter: {
    id: {
      gt: 100
    }
  },
  page: {
    offset: 0,
    limit: 10
  },
  orderBy: {
    field: 'id'
  }
})

context (optional)

The context parameter is now optional.

info

You can now optionally pass the GraphQLResolveInfo info object to the CRUD service, to perform extra optimizations like retrieving only the selected fields from the query.

await noteService.findBy(filter, context, info);

path (optional)

The root path of the query to get the selected fields from. For example, to get id, title, description fields from the following query, you would set the path to items.

query findNotes {
  findNotes {
    items {
      id
      title
      description
    }
  }
} 

The path variable is optional, as it will automatically resolve to the root field of the entire query.

context parameter removed from subscribeToCreate, subscribeToDelete, subscribeToUpdate methods in GraphbackCRUDService.

This method was unused.

Removed context parameter from all GraphbackDataProvider methods. This also applies to all providers that implement this interface.

All CRUD methods in GraphbackDataProvider had a context parameter used to get the selected fields.
These have been replaced with (optional) selectedFields - you can pass a string array of the fields you want to select from the database.

await noteProvider.findBy(filter, ['id', 'name']);
Changed GraphbackDataProvider findBy method signature. This also applies to all providers that implement this interface.

args

findBy now accepts a new interface, FindByArgs, which wraps the filter, page and orderBy optional arguments.

await noteService.findBy({
  filter: {
    id: {
      gt: 100
    }
  },
  page: {
    offset: 0,
    limit: 10
  },
  orderBy: {
    field: 'id'
  }
})
Remove resolver options from GraphbackContext

Resolver options (context.graphback.options) was removed from the context because the count aggregation and selectedFields extraction logic was moved to the CRUDService method.

Removed graphback key from GraphbackContext

The graphback.services property has been removed from GraphbackContext, and graphback is now the service map property.

export interface GraphbackContext {
-  graphback: {
-    graphback: GraphbackServiceConfigMap
-  }
+  graphback: GraphbackServiceConfigMap
}

Now you can reach the Graphback service map by calling context.graphback.Note.findBy(...).

CRUDService, DataSyncCRUDService now accepts a ModelDefinition as the first constructor parameter.

To instantiate a CRUDService you must pass the full ModelDefinition instead of the model name.

const myService = new CRUDService(modelDefinition, ...);
KeycloakCrudService now accepts a ModelDefinition as the first constructor parameter.

To instantiate a CRUDService you must pass the full ModelDefinition instead of the model name.

const myService = new KeycloakCrudService(modelDefinition, ...);
DataSyncProvider sync method signature has been changed
- sync(lastSync: Date, context: GraphbackContext, filter?: any, limit?: number): Promise<Type[]>;
+ sync(lastSync: Date, selectedFields?: string[], filter?: QueryFilter, limit?: number): Promise<Type[]>;

The context argument has been replaced with (optional) selectedFields.

context parameter is removed from the create method in MongoDBDataProvider and DatasyncMongoDBDataProvider providers.

This parameter did not do anything.

v0.15.1

Compare Source

Bug Fixes
  • ensure field directives are mapped to the schema on relationship fields (#​1797) (e8bf5c8)

v0.15.0

Compare Source

New Features
  • add in-memory subscription filtering (#​1748
  • add support for common scalar types (#​1749)
Bug Fixes
  • create-graphback was not correctly creating a fullstack application (#​1778) (685aa4c)
  • throw an error if relationship annotation are missing (#​1766). This fixes #​1604 where when no relationship annotation is defined, invalid input fields are added to input type.
  • When no relationship annotation is defined, invalid input fields are added to input type

v0.14.1

Compare Source

Bug Fixes
ionic-team/ionic

v6.7.0

Compare Source

Features

6.6.3 (2023-03-22)

Bug Fixes

6.6.2 (2023-03-15)

Bug Fixes

6.6.1 (2023-03-08)

Bug Fixes

v6.6.3

Compare Source

Bug Fixes

v6.6.2

Compare Source

Bug Fixes

v6.6.1

Compare Source

Bug Fixes

v6.6.0

Compare Source

Bug Fixes
Features

6.5.7 (2023-03-01)

Bug Fixes

6.5.6 (2023-02-22)

Bug Fixes

6.5.5 (2023-02-20)

Bug Fixes

6.5.4 (2023-02-15)

Bug Fixes

6.5.3 (2023-02-08)

Bug Fixes

6.5.2 (2023-02-01)

Bug Fixes

6.5.1 (2023-01-25)

Bug Fixes

v6.5.7

Compare Source

Bug Fixes

@renovate renovate bot changed the title fix(deps): update dependency @graphback/runtime-mongo to v1 fix(deps): update all to v1 (major) Sep 25, 2020
@renovate renovate bot changed the title fix(deps): update all to v1 (major) fix(deps): update all (major) Oct 23, 2020
@renovate renovate bot force-pushed the renovate/major-all branch 2 times, most recently from ab5cb26 to 72875c3 Compare May 15, 2021 21:28
@renovate renovate bot force-pushed the renovate/major-all branch 2 times, most recently from c3c9d1c to 0c6ffa8 Compare June 12, 2021 22:10
@renovate renovate bot force-pushed the renovate/major-all branch 2 times, most recently from b860351 to df9a5ef Compare June 23, 2022 23:45
@renovate renovate bot force-pushed the renovate/major-all branch 3 times, most recently from 91fa5a0 to 7f03c6c Compare March 25, 2023 07:54
@renovate renovate bot force-pushed the renovate/major-all branch 4 times, most recently from beb1b4e to 1b91fd3 Compare March 30, 2023 22:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants