Skip to content

@Yogu Yogu released this Dec 3, 2018 · 95 commits to master since this release

  • Addition: ArangoDBAdapter now has an API to get outstanding migrations and perform them manually (useful if autocreate/autoremoveIndices is set to false).
  • Optimization: Indices are now created and dropped sequentially, avoiding a performance problem with ArangoDB
Assets 2

@Yogu Yogu released this Nov 28, 2018 · 98 commits to master since this release

  • Fix: Removed timing output that would require a node context
Assets 2

@Yogu Yogu released this Oct 24, 2018 · 100 commits to master since this release

  • Optimization: @reference lookups now always use automatically generated indices
  • Optimization: Extended indices so that they can be used even with pagination enabled (by adding "id" to its fields)
  • Optimization: Improved performance of count queries significantly by simplifying the generated AQL
  • Optimization: Enable index usage of entity extension fields (also by simplifying AQL)
Assets 2

@Yogu Yogu released this Sep 25, 2018 · 111 commits to master since this release

  • Breaking Change: Updated GraphQL to 14.0
Assets 2

@Niehno Niehno released this Sep 11, 2018 · 114 commits to master since this release

  • Fix: References to entities with "ID @key" could not be resolved.
Assets 2

@Yogu Yogu released this Nov 1, 2018 · 114 commits to master since this release

  • Fix: References to entities with "ID @key" could not be resolved.
Assets 2

@Yogu Yogu released this Aug 24, 2018 · 117 commits to master since this release

  • Breaking Change: Field type descriptions should now be done using strings instead of comments (e.g. "Estimated Time of Arrival" eta: DateTime; use """ for multiline descriptions).
  • Breaking Change: Entity extension can no longer be null - they are initialized as empty object (even for existing objects).
  • Breaking Change: Relations can no longer be updated in updateAll... and deleteAll mutation fields (this is reflected in the schema).
  • Breaking Change: Calc mutation operators can no longer be combined in the same mutation (generates a runtime error).
  • Breaking Change: Input types for entity extensions have been split into Update...Input and Create...Input because they differ on child entity fields.
  • Breaking Change: Field and type names must not start with an underscore (_key: String @key is still supported for legacy reasons but should be changed to id: ID @key).
  • Breaking Change: The type DateTime now only accepts date/time values in UTC (see also the new LocalDate and LocalTime types).
  • Breaking Change: The @key annotation now implicitly creates a unique index.
  • Breaking Change: Database adapters now need a Model instance (use Project.getModel()) for updateSchema instead of the GraphQLSchema
  • Addition: Project.getModel() / Project.getMetaSchema() gets a typed view of the parsed Cruddl project with its types and fields
  • Addition: Types, fields and enum values can now be localized see the I18n docs.
  • Addition: Within update and create mutations, related entities can be created (create... fields).
  • Addition: Added skip argument to lists for offset-based pagination.
  • Addition: Added GraphQL descriptions to auto-generated fields, arguments and types, especially concerning pagination and relations.
  • Addition: Setting @key on the root entity id is now officially supported via id: ID @key.
  • Addition: Added the scalars LocalDate and LocalTime for date or time values without timezone.
  • Addition: Permission profiles can now be defined in multiple files and they are usable within their namespace and child namespaces.
  • Change: Using underscores in field or type names now generates a warning (still works fine unless the field starts with an underscore).
  • Change: Mutation fields now are executed serially in the order they occur in the selection set, as mandated by the GraphQL specification (the result of the first field does not see the changes made by the second field).
  • Change: Unique indices are now created as sparse index in ArangoDB (allows multiple null values)
  • Change: autoremoveIndices in the ArangoDBAdapter is now enabled by default.
  • Change: Source files are allowed to be empty
  • Fix: Relation multiplicities are respected when adding or updating relations (i.e., existing edges are removed for to-one relations).
  • Fix: Edges are removed when root entities are deleted.
  • Fix: Fixed count field for child entities (was always zero before).
  • Fix: Now works in a pure webpack environment without node modules (like in angular) when only the entry points cruddl/core and cruddl/inmemory are used
Assets 2

@henkesn henkesn released this Jun 13, 2018 · 458 commits to master since this release

  • Fixed _contains filter not matching anything if operand is empty (#28).
Assets 2

@Yogu Yogu released this Apr 26, 2018 · 458 commits to master since this release

  • Changed log level of verbose object dumps (query, result, ...) from debug to trace (#13)

Breaking changes

  • The Logger interface now expects more attributes and methods (still compatible with log4js).
Assets 2

@Yogu Yogu released this Apr 6, 2018 · 464 commits to master since this release

  • Fixed validation for uglified production builds with type mangling (#9)
  • Added udpateAll / deleteAll mutations (#7)
Assets 2
You can’t perform that action at this time.