Skip to content

Releases: rey5137/model-query

v0.11.1

Choose a tag to compare

@github-actions github-actions released this 25 Oct 10:28

What's Changed

  • fix(core): Hibernate 7.4.14 treat renderings (0.11.1) by @rey5137 in #85

Full Changelog: v0.11.0...v0.11.1

v0.11.0

Choose a tag to compare

@github-actions github-actions released this 25 Oct 07:48

What's Changed

  • LitePOS 0.10.0 feedback: @CheckReturnValue, LIKE/pgjdbc docs, RFC 0019 and 0020 drafts by @rey5137 in #75
  • RFC 0019 (accepted): compiled queries not adopted, flat-row mapping ships; M31 in 0.11.0 by @rey5137 in #76
  • M31: flat-row mapping and the hot-paths page (0.11.0) by @rey5137 in #77
  • RFC 0020 (accepted): report SQL — joined sources, ordered/filtered aggregates, exact averages, null-safe equality, row counts by @rey5137 in #78
  • M32: report SQL — joined sources, ordered and filtered aggregates, exact averages, null-safe equality, row counts (0.11.0) by @rey5137 in #79
  • fix(jpa): a grouped query that joins a source counts its groups client-side (AC-SRC-52, D-192) by @rey5137 in #80
  • RFC 0021 (accepted): entity joins off joined sources, request-bound join filters; M33 in 0.11.0 by @rey5137 in #81
  • M33: entity joins off joined sources, request-bound join filters (RFC 0021, D-193..D-196) by @rey5137 in #82
  • RFC 0022 (accepted): outer-column entity joins, request-bound expression values, joined-entity row counts by @rey5137 in #83
  • M34: outer-column entity joins, request-bound expression values, joined-entity row counts (RFC 0022 B–D, D-197..D-202); 0.11.0 release notes by @rey5137 in #84

Full Changelog: v0.10.0...v0.11.0

v0.10.0

Choose a tag to compare

@github-actions github-actions released this 22 Oct 09:43

What's Changed

  • Docs: fill 0.9.0 gaps (portability module, diagnostics, stability) by @rey5137 in #50
  • TCK: quiet Hibernate logging; docs: comparison page adds plain SQL by @rey5137 in #51
  • build(deps-dev): bump org.codehaus.mojo:exec-maven-plugin from 3.5.1 to 3.6.4 in the maven-plugins group by @dependabot[bot] in #39
  • build(deps-dev): bump org.postgresql:postgresql from 42.7.13 to 42.7.14 in the test group by @dependabot[bot] in #40
  • build(deps-dev): bump japicmp.version from 0.26.2 to 0.26.3 by @dependabot[bot] in #41
  • build(deps): bump org.apache.maven:apache-maven from 3.9.11 to 3.10.0 by @dependabot[bot] in #42
  • build(deps-dev): bump org.projectlombok:lombok from 1.18.46 to 1.18.48 by @dependabot[bot] in #43
  • ci: skip the Java jobs on docs-only and RFC-only PRs by @rey5137 in #53
  • RFC 0013 (accepted): source models — CTEs, window fields, set operations, recursive reads; M25 in 0.10.0 by @rey5137 in #52
  • perf: byKeys and child loads size key chunks from the first real chunk, not a throwaway compile by @rey5137 in #54
  • docs: the foreign-key-by-id recipe builds its read once into a constant by @rey5137 in #55
  • M25: source models (RFC 0013) by @rey5137 in #56
  • RFC 0014 (accepted): trees as unique sources — Builder#tree, per-statement duplicate-key check (MQ2703); M26 in 0.10.0 by @rey5137 in #57
  • RFC 0017 (draft): custom filter operators; custom operators join 0.10.0 as M29 (D-148) by @rey5137 in #58
  • M26: trees as unique sources (RFC 0014) by @rey5137 in #59
  • RFC 0015 (accepted): correlated columns and sources over sources; M27 in 0.10.0 by @rey5137 in #60
  • M27: correlated columns and sources over sources (RFC 0015) by @rey5137 in #66
  • RFC 0016 (accepted): inheritance roots; M28 in 0.10.0 by @rey5137 in #67
  • M28: inheritance roots (RFC 0016) by @rey5137 in #68
  • M29: custom filter operators (RFC 0017) by @rey5137 in #69
  • RFC 0018 (draft): inline count, converted ignore-case filters, values under inline value handling, filter-only to-many joins; M30 in 0.10.0 (D-176) by @rey5137 in #70
  • RFC 0018 (accepted): inline count, converted ignore-case filters, inline value handling, filter-only to-many joins; M30 by @rey5137 in #71
  • M30: inline count, converted ignore-case filters, inline value handling, filter-only to-many joins as semi-joins (RFC 0018) by @rey5137 in #72
  • build: one ${revision} version property; comparison window-function line by @rey5137 in #73

Full Changelog: v0.9.0...v0.10.0

v0.9.0

Choose a tag to compare

@github-actions github-actions released this 14 Oct 15:44

What's Changed

  • docs: Plain JPA and Spring tabs on runnable snippets (CC-DOC-01); CI skips Java jobs on docs-only PRs by @rey5137 in #38
  • M17: docs and TCK for what already works by @rey5137 in #44
  • M18: row locks on reads (RFC 0009, D-127) by @rey5137 in #45
  • M19: literal filters and bound function arguments (RFC 0002, D-128) by @rey5137 in #46
  • M23: target vendors and portability check (RFC 0011, D-133) by @rey5137 in #47
  • M24: external model bindings (RFC 0012, D-134) by @rey5137 in #48
  • Release 0.9.0 (M17–M24) by @rey5137 in #49

Full Changelog: v0.8.0...v0.9.0

v0.8.0

Choose a tag to compare

@github-actions github-actions released this 09 Oct 14:42
7c041ea

What's Changed

  • M15: insert columns and many keys — 0.8.0 (D-125, D-126) by @rey5137 in #37

Full Changelog: v0.7.0...v0.8.0

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 09 Oct 09:43
5e54c68

What's Changed

  • M14: fewer models and fewer calls — 0.7.0 (D-122, D-123, D-124) by @rey5137 in #36

Full Changelog: v0.6.0...v0.7.0

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 08 Oct 10:23

Full Changelog: v0.5.0...v0.6.0

v0.5.0

Choose a tag to compare

@rey5137 rey5137 released this 08 Oct 00:53

Full Changelog: v0.4.0...v0.5.0

v0.4.0

Choose a tag to compare

@rey5137 rey5137 released this 07 Oct 07:31

Nothing is frozen yet: every public type stays @Incubating, and the freeze review moves to the next milestone, after an
adopter runs 0.4.0 in production (D-111, D-118). No existing API changes incompatibly; the additions below are all
@Incubating.

Added

  • Entity writes (RFC 0005, D-118), described in the "Bulk writes" and "Inserts" pages of the user guide:
    • throughEntities() on a ModelUpdate or ModelDelete: each chunk loads its entities by key and writes them
      through the metamodel, so entity callbacks, the provider's listeners, audit libraries, Bean Validation, cascades
      and @SQLDelete run. Always chunked; the count is the entities matched. MQ1610 for keepVersion(),
      expectVersion(...) or setExpression combined with it, whatever the call order. An update writes attributes
      through the provider's EntityWriteSupport (ProviderSupport#entityWrites(), Hibernate's included), so a proxy
      already in the persistence context and a bytecode-enhanced entity are written; without one, a proxy is MQ2503
      (D-119).
    • persist(persist, returning) on ModelQueryExecutor and ModelQueryRepository: returns a query model built from
      the flushed entity with no second select; MQ1809 for a query clause or column it cannot fill.
    • WriteAssignment, WriteKind and ModelQueryConfig.writeAssignments: a server-set column named once per
      entity and applied by bulk update (chunked and entity mode), insert-values, insert-select, doUpdate and
      persist, skipped where the write sets the attribute itself. MQ1611 and MQ1612 for a path or value that
      does not fit, or on a strict subclass of the write's root. In an entity-mode update an assignment dirties a
      row only where its value differs (R-WRT-49).
    • The Spring Boot starter hands every WriteAssignment bean to the config of each datasource; an application's own
      ModelQueryConfig bean that drops one fails startup with MQ4006.
    • The Spring Boot sample's POST /books returns the persisted SavedBook, and its updated-at column is a
      WriteAssignment bean.
  • MQ1610 to MQ1612, MQ1809 and MQ2503; see the diagnostics reference.

Changed

  • ModelQueryExecutor, ModelQueryRepository, ModelUpdate, ModelDelete and ModelQueryConfig gain the methods
    above. They are @Incubating or @EngineFacing, so japicmp ignores them.

Full Changelog: v0.3.0...v0.4.0

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 07 Oct 01:14

What's Changed

  • build(deps): bump spring-framework.version from 6.2.15 to 6.2.19 by @dependabot[bot] in #27
  • build(deps-dev): bump com.fasterxml.jackson.core:jackson-databind from 2.18.8 to 2.22.3 by @dependabot[bot] in #25
  • build(deps-dev): bump com.mysql:mysql-connector-j from 9.7.0 to 26.7.0 in the test group by @dependabot[bot] in #24
  • build(deps): bump the maven-plugins group with 6 updates by @dependabot[bot] in #23
  • build(deps): bump actions/setup-python from 6 to 7 by @dependabot[bot] in #22
  • docs(rfc): 0004 inserts by @rey5137 in #29

New Contributors

Full Changelog: v0.2.0...v0.3.0