Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: release main #996

Closed
wants to merge 1 commit into from
Closed

chore: release main #996

wants to merge 1 commit into from

Conversation

cap-bots
Copy link
Collaborator

🤖 I have created a release beep boop

db-service: 1.18.0

1.18.0 (2025-01-28)

Added

  • UPDATE/DELETE: Enable path expressions for improved data manipulation (#325) (94f0776)
  • Add fallback for @cap-js/hana for unknown entities (#403) (e7dd6de)
  • Add missing func cqn structures (#629) (9d7539a)
  • Add quoted mode support (#681) (43c7a6c)
  • Add simple queries feature flag (#660) (3335202)
  • also support lowercase matchespattern function (#528) (6ea574e)
  • assoc-like calc elements after exists predicate (#831) (05f7d75)
  • config options for fuzzy search (#898) (f6593e6)
  • Enable native HANA fuzzy search for search function queries (#707) (0b9108c)
  • enable path expressions in infix filter after exists predicate (#875) (7e50359)
  • forUpdate and forShareLock (#148) (99a1170)
  • hana: drop prepared statements after end of transaction (#537) (b1f864e)
  • Improved connection pool for HANAService (#349) (1c284e6)
  • Odata built-in query functions (#558) (6e63367)
  • orderby: allow to disable collations with @cds.collate: false (#492) (820f971)
  • search: enable deep search with path expressions (#590) (e9e9461)
  • SELECT returns binaries as Buffers (#416) (d4240d5)
  • SELECT returns LargeBinaries as streams unless feature flag "stream_compat" is set (#251) (8165a4a)
  • strict mode to validate input for INSERT, UPDATE and UPSERT (#384) (4644483)
  • support for cds.Map (#889) (cde7514)
  • support HANA stored procedures (#542) (52a00a0)
  • Support Readable Streams inside INSERT.entries (#343) (f6faf89)
  • temporal data: add time slice key to conflict clause (#249) (67b8edf)
  • use place holders for update and delete (#323) (81472b9)

Fixed

  • ** infer:** unique alias for scoped subqueries (#465) (5dbaa8e)
  • cqn2sql: smart quoting also for update statements (#475) (1688f77)
  • cqn4sql: be robust against $self.<element> references (#471) (2921b0e)
  • cqn4sql: only transform list if necessary (#438) (8a7ec65)
  • expand: enable expanding from subquery (#709) (5ed03e5), closes #708
  • expand: Only accept on structures, assocs or table aliases (#551) (3248512)
  • INSERT with first undefined value (#484) (c21e3c4)
  • order by: for localized sorting, prepend table alias (#546) (a273a92)
  • order by: reject non-fk traversals of own columns in order by (#599) (3288d63)
  • search: ignore invalid path expressions inside [@cds](https://github.com/cds).search (#849) (250edd5)
  • UPDATE: no assocs in list which matches subquery results (4bcb88a)
  • UPDATE: only perform subselect matching if necessary (#989) (4bcb88a)
  • add placeholder for string values (#733) (8136a45)
  • Align all quote functions with @sap/cds-compiler (#619) (42e9828)
  • align time function behavior (#322) (c3ab40a)
  • Allow only for array of arrays as data for plain SQL (#449) (22e1c43)
  • Allow SELECT.join queries again with full infer call (#469) (5329ec0)
  • always generate unique subquery aliases (#435) (c875b7d)
  • assign artificial alias if selecting from anonymous subquery (#608) (e1a7711)
  • avoid spread operator (#630) (a39fb65)
  • calculated elements: path expressions in func.args within xpr (#321) (cee25e3)
  • cds.infer: Always use srv.model (#451) (41cf4a2)
  • consider list in from.where (#429) (3288e94)
  • contains not evaluting to bool (#980) (760484b)
  • cqn2sql: $user.locale refs (#431) (ec55276)
  • cqn2sql: Smart quoting of columns inside UPSERT rows (#519) (78fe10b)
  • cqn2sql: supporting calculated elements (#387) (2153fb9)
  • cqn4sql: expand structured keys in on-conditions (#421) (b1e0677)
  • cross joins without on-condition (#899) (c61a04a)
  • deep groupby expand queries (#768) (5423cf3)
  • deep delete for views (#496) (82154ef)
  • deep delete for views without navigation (#434) (3ebc9c2)
  • deep-queries: properly return insert result (#803) (8d800e2)
  • deep: prevent false unique constraint errors and combine delete queries (#781) (01de95f)
  • Disconnect db service on shutdown (#327) (8471bda)
  • Do not generate UUIDs for association keys (#398) (9970e14)
  • do not override .toJSON of buffers (#949) (ed52f72)
  • do not prepend table alias to session variables (#656) (24e8b19)
  • do not rely on db constraints for deep delete (#390) (9623af6)
  • dont insert structured elements (#461) (f3f688d)
  • dont mistake non-key access with foreign key (#642) (2cd2349)
  • dont use virtual key for UPDATE … where (&lt;key&gt;) in <subquery> (#800) (d25af70)
  • enumeration issue with session context in @cap-js/hana (#399) (8106a20)
  • etag with stream_compat (#562) (b0a3a41)
  • exclude cds.LargeBinary from wildcard expansion (#577) (6661d63)
  • flat update with arbitrary where clauses (#598) (f108798)
  • for aggregated expand always set explicit alias (#739) (53a8075), closes #708
  • foreignKeys aspect on association may not be set (#903) (732a2f3)
  • funcs.test.js used wrong arguments for .where() (#943) (33a0685)
  • Getting rid of quirks mode (#514) (c9aa6e8)
  • handle undefined DEBUG (#942) (dd2da3a), closes #941
  • ignore virtual keys in UPSERT(#463) (49adbf3)
  • improved = and != with val null for HANA and Postgres (#626) (cbcfe3b)
  • Improved behavioral consistency between the database services (#673) (5e62096)
  • Improved behavioral consistency between the database services (#837) (b6f7187)
  • Improved placeholders and limit clause (#567) (d5d5dbb)
  • INSERT entries containing undefined values (#453) (d3aad75)
  • insert on uuid with default value (#911) (545e489)
  • issue with reused select cqns (#505) (916d175)
  • joins without columns are rejected (#535) (eb9beda)
  • localized: refs in subqueries in from are translated (#366) (cfe4897)
  • logging: from changes in @sap/cds (#791) (1e8bf06)
  • make @cap-js/sqlite work with [email protected] (#422) (44c0a59)
  • multiple result responses (#602) (bf0bed4)
  • nested exists wrapped in xpr (7e50359)
  • nested ternary in calculated element (#981) (5f4a1fe)
  • non-fk access in filter conditions are properly rejected (#336) (4c948fe)
  • Only check first row if no changes required (#552) (39b0b85)
  • only consider persisted columns for simple operations (#592) (6e31bda)
  • only expand partial foreign key if explicitly requested (#916) (96911ad)
  • optimize foreign key access for expand with aggregations (#734) (77b7978)
  • optimize foreign key access in a join relevant path (#481) (5e30de4), closes #479
  • pass context of navigation for list within infix filter (#433) (0ca077f)
  • prepend aliases to refs within function args in on conditions (#795) (9b34314), closes #779
  • prevent $search queries from throwing (#772) (cdf4d37)
  • properly support default, cds.on.insert and cds.on.update for UPSERT queries (#425) (338e9f5)
  • pseudo paths in expands (#896) (014c50c)
  • quotations in vals (#754) (94d8e97)
  • quoted mode (#937) (9e62b22)
  • Reduce insert queries for deep update (#568) (55e5114)
  • Reduced count query complexity when possible (#553) (3331f02)
  • reject all path expressions w/o foreign keys (#806) (cd271a8)
  • reject virtual elements in all expressions (#972) (d0c949d)
  • Restore former deep upsert behavior / error (#406) (284b1e3)
  • Revert breaking changes (#834) (eb22321)
  • rewrite assoc chains if intermediate assoc is not fk (#715) (3873f9a)
  • SAP HANA functions should also be callable in upper case on SAP HANA (#910) (50ebd10)
  • search: check calculated columns at any depth (#310) (8fd6153)
  • search: dont search non string aggregations (#527) (c87900c)
  • search: search on aggregated results in HAVING clause (#524) (61d348e)
  • SELECT cds.hana.BINARY (#870) (33c3ebe)
  • select without columns from unknown entity (#466) (eb857de)
  • Skip virtual fields on UPSERTs (#405) (1a05dcb)
  • sort property is case insensitive (#924) (2c72c87)
  • sqlite date string compatibility parsing only for valid dates (#410) (2a8bb2d), closes #409
  • starts endswith for null values (#975) (f0330bc)
  • Support expand with group by clause (#721) (90c9e6a)
  • Throw 'new Error' instead of string on $search with multiple words (#472) (51be94d)
  • Treat assoc-like calculated elements as unmanaged assocs (#830) (cbe0df7)
  • UPSERT for @cap-js/hana for entities with multiple keys (#418) (9bbac6e)
  • URGENT: fix bug with missing ref.id || ref (#440) (3e2ef24)
  • use "$$value$$" as internal column name for UPSERT (#976) (8c86b86)
  • wildcard expand with aggregation (#923) (bbe7be0)
  • wrap values in array if it is object, so it can be spreaded (#882) (11f3e8b)
  • wrong odata count in filter with groupby (#352) (70690a1)

Changed

Performance Improvements

sqlite: 1.9.0

1.9.0 (2025-01-28)

Added

  • forUpdate and forShareLock (#148) (99a1170)
  • hana: drop prepared statements after end of transaction (#537) (b1f864e)
  • select decimals as strings if cds.env.features.string_decimals (#616) (39addbf)
  • SELECT returns LargeBinaries as streams unless feature flag "stream_compat" is set (#251) (8165a4a)
  • support for cds.Map (#889) (cde7514)
  • Support Readable Streams inside INSERT.entries (#343) (f6faf89)
  • temporal data: add time slice key to conflict clause (#249) (67b8edf)

Fixed

  • sqlite: Retain Error object for unique constraint violation (#446) (d27ee79)
  • sqlite: use keyword list from compiler (#526) (a227c61)
  • align time function behavior (#322) (c3ab40a)
  • boolean for sql_simple_queries (#886) (d8139fa)
  • Change sql property to query for errors (#611) (585577a)
  • config in streaming test with compat flag (#412) (335a178)
  • date functions with null value (#347) (bdc8967)
  • deps: update dependency better-sqlite3 to v10 (#636) (0cc60e7)
  • deps: update dependency better-sqlite3 to v11 (#669) (7167ec5)
  • Do not generate UUIDs for association keys (#398) (9970e14)
  • enforce db file to be existent before server start (#742) (64a9018)
  • expand reach of cds.features.ieee754compatible to int64 (#722) (7eef5e9)
  • funcs.test.js used wrong arguments for .where() (#943) (33a0685)
  • hana: Remove encoding from hana-client streams (#623) (fed8f6f)
  • Improved behavioral consistency between the database services (#673) (5e62096)
  • Improved behavioral consistency between the database services (#837) (b6f7187)
  • Improved placeholders and limit clause (#567) (d5d5dbb)
  • increase min version cap-js/db-service (#876) (e20eef8)
  • make @cap-js/sqlite work with [email protected] (#422) (44c0a59)
  • properly support default, cds.on.insert and cds.on.update for UPSERT queries (#425) (338e9f5)
  • Revert breaking changes (#834) (eb22321)
  • sqlite date string compatibility parsing only for valid dates (#410) (2a8bb2d), closes #409
  • sqlite: default [development] URL to :memory: (#926) (51e8aa7)
  • UPSERT for @cap-js/hana for entities with multiple keys (#418) (9bbac6e)

Changed

postgres: 1.12.0

1.12.0 (2025-01-28)

Added

  • adapt build plugin implementation to new API (#319) (aec9966)
  • Add simple queries feature flag (#660) (3335202)
  • also support lowercase matchespattern function (#528) (6ea574e)
  • forUpdate and forShareLock (#148) (99a1170)
  • Odata built-in query functions (#558) (6e63367)
  • select decimals as strings if cds.env.features.string_decimals (#616) (39addbf)
  • SELECT returns LargeBinaries as streams unless feature flag "stream_compat" is set (#251) (8165a4a)
  • support for cds.Map (#889) (cde7514)
  • Support Readable Streams inside INSERT.entries (#343) (f6faf89)

Fixed

  • cds build now generates the correct output folder structure for Node.js and Java apps. (#353) (875aca4)
  • sqlite: Retain Error object for unique constraint violation (#446) (d27ee79)
  • add cds schema for postgres build plugin (#843) (6306d5c)
  • Align all quote functions with @sap/cds-compiler (#619) (42e9828)
  • align time function behavior (#322) (c3ab40a)
  • Change sql property to query for errors (#611) (585577a)
  • enable nulls first (#893) (6684436)
  • expand reach of cds.features.ieee754compatible to int64 (#722) (7eef5e9)
  • Improved behavioral consistency between the database services (#673) (5e62096)
  • Improved behavioral consistency between the database services (#837) (b6f7187)
  • Improved placeholders and limit clause (#567) (d5d5dbb)
  • increase min version cap-js/db-service (#876) (e20eef8)
  • null as default value (#845) (0041ec0)
  • properly support default, cds.on.insert and cds.on.update for UPSERT queries (#425) (338e9f5)
  • Revert breaking changes (#834) (eb22321)
  • sort property is case insensitive (#924) (2c72c87)
  • starts endswith for null values (#975) (f0330bc)
  • switch Postgres from json to jsonb (#402) (c98a964)
  • UPSERT for @cap-js/hana for entities with multiple keys (#418) (9bbac6e)
  • Use json datatype for Postgres insert (#582) (f1c9c89)

Changed

  • build script generates cds8 dependency in deployer app (#758) (5c21a67)
  • use new cds build API @sap/cds-dk >= 7.5.0 (#508) (ef22ebe)
hana: 1.7.0

1.7.0 (2025-01-28)

Added

  • Add fallback for @cap-js/hana for unknown entities (#403) (e7dd6de)
  • Add quoted mode support (#681) (43c7a6c)
  • Allow hex engine to be used (#641) (bca0c01)
  • also support lowercase matchespattern function (#528) (6ea574e)
  • cds.Vector support for the HANAService (#442) (1057a13)
  • Compress HANA expand queries by reducing duplicated statements (#383) (3d29351)
  • config options for fuzzy search (#898) (f6593e6)
  • Enable native HANA fuzzy search for search function queries (#707) (0b9108c)
  • forUpdate and forShareLock (#148) (99a1170)
  • hana: drop prepared statements after end of transaction (#537) (b1f864e)
  • Improve procedure metadata lookup logic (#862) (da629d9)
  • Improved connection pool for HANAService (#349) (1c284e6)
  • Odata built-in query functions (#558) (6e63367)
  • select decimals as strings if cds.env.features.string_decimals (#616) (39addbf)
  • SELECT returns binaries as Buffers (#416) (d4240d5)
  • SELECT returns LargeBinaries as streams unless feature flag "stream_compat" is set (#251) (8165a4a)
  • simple queries (#654) (ba77f9e)
  • support current_utctimestamp (#865) (aaf39ad)
  • support driver self-wrapping (for Dynatrace) (#974) (5346bc4)
  • support for cds.Map (#889) (cde7514)
  • support HANA stored procedures (#542) (52a00a0)
  • Support Readable Streams inside INSERT.entries (#343) (f6faf89)
  • temporal data: add time slice key to conflict clause (#249) (67b8edf)
  • use a simple select for flat queries (#324) (a788a77)
  • use place holders for update and delete (#323) (81472b9)
  • wrap client if @dynatrace/oneagent-sdk is present (#777) (147b88e)

Fixed

  • hana: use keyword list from compiler (#525) (c6993d9)
  • sqlite: Retain Error object for unique constraint violation (#446) (d27ee79)
  • TypeError for cds bind in MTX scenario (#482) (38722fe)
  • Add {list:[{val}]} json function support (#784) (ce5f856)
  • add missing mappings for hdb driver (#375) (199a720)
  • Add multi concat function to @cap-js/hana (#624) (df436fe)
  • Adjust Decimal formatter to always render a whole number (#853) (027d717)
  • Align all quote functions with @sap/cds-compiler (#619) (42e9828)
  • allocate a new Buffer for each chunk of a Blob stream when using hana-client (#846) (ec75b50)
  • Allow applications to configure acquireTimeoutMillis (#796) (abac818)
  • Allow numeric Booleans 0 and 1 (#714) (82c4dbe)
  • Allow SELECT.join queries again with full infer call (#469) (5329ec0)
  • apply schema to hdb connection (#348) (439f845)
  • assocs with default value (#752) (a8660cf)
  • Binary columns now return as Buffer for HANAService (#689) (179bd92)
  • Change sql property to query for errors (#611) (585577a)
  • combination of groupby and orderby (#825) (10e0534)
  • cqn2sql: supporting calculated elements (#387) (2153fb9)
  • deep groupby expand queries (#768) (5423cf3)
  • deep groupby (#919) (ce24264)
  • Disconnect HANA tenant when deleted (#589) (a107db9)
  • enable cesu8 by default for hdb driver and encode entries streams (#868) (d85d7e6)
  • Enforce LargeStrings to be Strings for sql_simple_queries=1 (#774) (c38a9e6)
  • Ensure globally unique aliases with large expand queries (#396) (c1df747)
  • enumeration issue with session context in @cap-js/hana (#399) (8106a20)
  • expressions with not on HANA (#925) (e67a31b)
  • Fix expand aliasing (#959) (f39097c)
  • Force sql_simple_queries to quote in outer select (#954) (2071dc8)
  • groupby path expression with overlapping identifier (#992) (b579da8)
  • hana: Align not found behavior in @cap-js/hana (#603) (54d2efb)
  • hana: Allow custom fuzzy search cqn (#620) (80383f0)
  • hana: Allow HANA to use != and == inside xpr combinations (#607) (c578e9f)
  • hana: ensure the database connection does not enable auto commit (#448) (b2ca1da)
  • hana: Ensure xpr with logical operator to only contain comparisons (#452) (a2ecb22)
  • hana: improve search inside where clause detection (#538) (51b8af3)
  • hana: reduce service manager calls for failing tenants (#533) (e95fd17)
  • hana: Reference column alias in order by (#615) (7cd3a26)
  • hana: Remove encoding from hana-client streams (#623) (fed8f6f)
  • hana: Support associations with static values (#604) (05babcf)
  • ignore empty order by (#392) (a69fed0)
  • ignore virtual keys in UPSERT(#463) (49adbf3)
  • improve != and == implementation for @cap-js/hana (#426) (9b7b5a0)
  • Improve comparator check for combined and nested expressions (#632) (8e1cb4b)
  • Improve error message for disconnected connections (#678) (eb4ef37)
  • improved = and != with val null for HANA and Postgres (#626) (cbcfe3b)
  • Improved behavioral consistency between the database services (#673) (5e62096)
  • Improved behavioral consistency between the database services (#837) (b6f7187)
  • Improved placeholders and limit clause (#567) (d5d5dbb)
  • Include binary type with varbinary type in hana-client (#871) (f4d7caf)
  • increase min version cap-js/db-service (#876) (e20eef8)
  • insertion of arrayed elements (#677) (92cf307)
  • insertion of large decimals (#686) (ae8abff)
  • issue with reused select cqns (#505) (916d175)
  • joins without columns are rejected (#535) (eb9beda)
  • large amounts of expands in HANA Service (#355) (7d8521a)
  • list optimization for Buffer values (#817) (3e60de2)
  • localization on hana (#354) (6aedb7d)
  • make name for columns for ordinality unique (#746) (d3f9b23)
  • mass insert for unknown entities (#540) (f2ea4af)
  • mtx: sidecar scenario due to usage of wrong credentials (#732) (0b5c91f)
  • multi raw SQL queries (#973) (b953480)
  • nested functions in comparisons (#861) (f3fd254)
  • null as default value (#845) (0041ec0)
  • properly support default, cds.on.insert and cds.on.update for UPSERT queries (#425) (338e9f5)
  • quoted mode (#937) (9e62b22)
  • Remove orderBy ref check for sql_simple_queries (#964) (1b77725)
  • Revert breaking changes (#834) (eb22321)
  • SAP HANA functions should also be callable in upper case on SAP HANA (#910) (50ebd10)
  • SELECT cds.hana.BINARY (#870) (33c3ebe)
  • select without columns from unknown entity (#466) (eb857de)
  • show clear error message when unable to load project package.json (#419) (2ebf783)
  • sort property is case insensitive (#924) (2c72c87)
  • Support expand with group by clause (#721) (90c9e6a)
  • Support multi byte characters (#639) (4cfa77f)
  • Support static conditions inside unmanaged associations (#682) (e17ddfd)
  • Throw error if rows in limit is missing for expand, same as in limit() (#858) (641c3b9)
  • track expression type through expressions (#950) (a083f74)
  • UPSERT for @cap-js/hana for entities with multiple keys (#418) (9bbac6e)
  • Use json datatype for Postgres insert (#582) (f1c9c89)
  • wrong falsy checks for vals in list optimization (#797) (e818da8)

Changed

Performance Improvements


This PR was generated with Release Please. See documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants