Skip to content

Commit 4cc02ad

Browse files
authored
Advance master branch to Apache AGE version 1.6.0 (#2196)
Updated the following files to advance the Apache AGE version to 1.6.0 modified: Makefile modified: README.md modified: RELEASE modified: age.control modified: docker/Dockerfile renamed: age--1.5.0--y.y.y.sql -> age--1.5.0--1.6.0.sql modified: age--1.5.0--y.y.y.sql new file: age--1.6.0--y.y.y.sql
1 parent 7aa2d88 commit 4cc02ad

File tree

7 files changed

+135
-73
lines changed

7 files changed

+135
-73
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
MODULE_big = age
1919

20-
age_sql = age--1.5.0.sql
20+
age_sql = age--1.6.0.sql
2121

2222
OBJS = src/backend/age.o \
2323
src/backend/catalog/ag_catalog.o \

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
</a>
3131
&nbsp;
3232
<a href="https://github.com/apache/age/releases">
33-
<img src="https://img.shields.io/badge/Release-v1.5.0-FFA500?labelColor=gray&style=flat&link=https://github.com/apache/age/releases"/>
33+
<img src="https://img.shields.io/badge/Release-v1.6.0-FFA500?labelColor=gray&style=flat&link=https://github.com/apache/age/releases"/>
3434
</a>
3535
&nbsp;
3636
<a href="https://www.postgresql.org/docs/17/index.html">

RELEASE

Lines changed: 86 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -15,65 +15,91 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
Release Notes for Apache AGE release 1.5.0 for PostgreSQL version 16
18+
Release Notes for Apache AGE release 1.6.0 for master branch (currently PG17)
1919

20-
Apache AGE 1.5.0 - Release Notes
20+
Apache AGE 1.6.0 - Release Notes
2121

22-
NOTE: This is an initial release of Apache AGE for PostgreSQL version
23-
16. There are no upgrade scripts to this release.
24-
25-
Add additional index support and performance enhancements (#1232)
26-
Add an additional way to find a previous variable ref (#1450)
27-
Add auto apply labeler workflow for PRs (#1161)
28-
Add checks for array functions to recognize and decode VPC (#1064)
29-
Add concat || operator to agtype (#1198)
30-
Add exist(?, ?|, ?&) operators for agtype (#1218)
31-
Add missing dependency in cypher_expr.c (#1256)
32-
Add path extraction(#>, #>>)operators to agtype (#1224)
33-
Add support for chained expressions in CASE (#1431)
34-
Clean up agtype_to_int8, agtype_to_int4, & agtype_to_int2 (#1354)
35-
Clean up #included files in parser directory (#1465)
36-
Converted SQL main file into multiple files. (#1401)
37-
docs: Add to Docker setup (#1204)
38-
Extend access(->, ->>), addition and subtraction operators (#1258)
39-
Extend agtype containment operators (@>, <@) (#1285)
40-
Extend EXPLAIN and add config param to switch transformation of property filter (#1262)
41-
Fix ambiguous conditions (#1373)
42-
Fix Docker file to reflect PostgreSQL version 15 (#1449)
43-
Fix DockerHub warning messages for latest (#1380)
44-
Fix issue #1045 - error using path var in WHERE (#1295)
45-
Fix Issue #1159 - Server terminates for SET plus-equal (#1160)
46-
Fix issue #1219 - MERGE not seeing previous clause var (#1441)
47-
Fix issue #1302 - crash on NULL input to UNWIND (#1304)
48-
Fix issue #1303: Server crashes on executing SELECT * FROM agtype(null); (#1317)
49-
Fix Issue #1305 - drop_label NULL cases (#1306)
50-
Fix Issue #1329 - agtype_to_int4 crash (#1339)
51-
Fix issue #1347 - unknow type of agtype container 0 (#1349)
52-
Fix issue #1389 - Server crash on using null operand for access operators (#1390)
53-
Fix issue #1393 - previous clause variables not seen with EXISTS (#1426)
54-
Fix issue #1398 - SET followed by DELETE does not delete (#1412)
55-
Fix issue #1399 EXISTS doesn't handle non-existent labels (#1400)
56-
Fix Issue #945 - incorrect count(*) return values (#1288)
57-
Fix typo in agtype_raw.h header guard (#1368)
58-
Implement chained expression order of operations (#1402)
59-
Implemented age_tail function (#1283)
60-
Implemented the toBooleanList() function (#1014)
61-
Implement EXISTS subquery for CASE (#1345)
62-
Master to PostgreSQL version 16 (#1451)
63-
Minor fix in `agtype_volatile_wrapper` function (#1172)
64-
Modify COUNT() to output agtype (#1311)
65-
Optimize performance of detach delete (#1271)
66-
Optimize vertex and edge builder functions (#1252)
67-
py_driver : optimised Antlr4ResultHandler to improve time (#1107)
68-
Refactor Regression Tests for CASE statement (#1268)
69-
Refactor the IN operator to use '= ANY()' syntax (#1236)
70-
Removed unnecessary assignment (#1185)
71-
Remove redundant job from CIs (#1473)
72-
Remove unnecessary #include in src/backend/utils
73-
Updated age.control.
74-
Updated files, format, and version information.
75-
Updated Makefile.
76-
Updated RELEASE.
77-
Update Discord channel in README.md (#1253)
78-
Update README.md file for PostgreSQL version 16 support (#1463)
79-
Update the Python Driver (#1246)
22+
Fix issue 2205: left doesn't catch overflow (#2207)
23+
Fix issue 2201: unexpected empty string behavior (#2203)
24+
Add support for operators in cypher query (#2172)
25+
Reimplement list comprehension (#2169)
26+
Update labeler.yml (#2186)
27+
Fix issue with the CI build and labeler (#2183)
28+
Fix CSV import for edge with one property (#2175)
29+
Remove stale bot and update .asf.yaml settings (#2171)
30+
Prevent object access hook from accesing not installed namespace (#2161)
31+
Fix CI build errors caused by missing dependencies (#2163)
32+
Add support for external extensions (#2088)
33+
Fix issue 2093: pfree() called with a NULL pointer (#2095)
34+
Fix issue 1955 - List comprehension in WHERE clause (#2094)
35+
Add support for fuzzystrmatch and other external extensions (#2083)
36+
Fix memory leaks in functions part 1 (#2066)
37+
Issue 1996 - Add agtype to json typecast (#2075)
38+
Fix issue 2046: Memory leak during btree(agtype) (#2060)
39+
Refactor Dockerfile to use multi-stage builds (#2004)
40+
Revamp age csv loader (#2044)
41+
Fix issue 2020: Memory leak (#2028)
42+
Fix Issue 1907: SET on MERGE not storing edge properties (#2019)
43+
Add EmitWarningsOnPlaceholders("age") (#1997)
44+
Fix Issue 1988: How to update a property which is a keyword (#2005)
45+
Fix obsolete docker-compose command in CIs (#2007)
46+
Fix issue 1986: Failure creating label name close to MAX_LABEL_NAME_LEN (#1989)
47+
Fix issue 1953 - PG Boolean used as AGTYPE object (#1959)
48+
Add graph_exists function (#1958)
49+
Fix issue 1956 - null key name passed. (#1957)
50+
docs: add link to .NET open-source driver (#1938)
51+
Add the `load_from_plugins` parameter in the Python driver to load AGE from the $libdir/plugins directory (#1935)
52+
Fix issue 1910: Server crashes when using exists(vle path) (#1924)
53+
Converted single line comments to multiline (#1908)
54+
Add function is_valid_label_name (#1911) (#1912)
55+
Fixes small typos in the python driver's README.md file (#1909)
56+
Fix agtype_build_map to allow more than 50 pairs (#1901)
57+
Agtype hash cmp (#1893)
58+
Order some regression tests for stability on big-endian (#1892)
59+
Update github stale action (#1891)
60+
Make CALL YIELD grammar more precise (#1852)
61+
Fix issue 1878 - Regression test failure with delete global graphs (#1881)
62+
Corrected typos and grammatical errors in apache-age-basic.ipynb (#879)
63+
Add workflow for stale issues and PRs (#1872)
64+
Implement Returnless Unions in Subqueries (#1803)
65+
[CI] Update docker image tags (#1865)
66+
Add branch protection rules in .asf.yaml (#1854)
67+
[CI] Update labeler github action (#1851)
68+
Fix error using list comprehension with WITH * (#1838)
69+
python driver psycopg3 (#1793)
70+
Minor VLE and agtype_eq/ne performance updates (#1808)
71+
Fix issue 1767: CREATE TABLE AS SELECT * FROM cypher, errors (#1799)
72+
Implement Constraints on Subqueries (#1751)
73+
Fix connection string in Python Driver (#1757)
74+
Added integer conversion in toBoolean functions (#1199)
75+
Update README.md (#1756)
76+
Add the command graph_stats and improve VLE messaging for load (#1750)
77+
Add helpful messages to the VLE subsystem (#1742)
78+
Update README.md (#1728)
79+
Added Networkx Support in python driver (#1716)
80+
Remove duplicate check (#1740)
81+
Fix Issue 1709 - MERGE creates incomplete vertices after the first one (#1721)
82+
Fix shift/reduce conflict in grammar (#1719)
83+
Fix Issue 1691 - MERGE incorrectly creates multiple vertices (#1718)
84+
Implement map projection (#1710)
85+
Add hooks for multi-arch builds on dockerhub (#1683)
86+
Sample code for AGE-JDBC driver (#390)
87+
Allow agtype_build_map to use AGTYPE keys (#1666)
88+
Implement EXISTS Subquery (#1562)
89+
Fix Issue 1634: Setting all properties with map object causes error (#1637)
90+
Fix Issue 1630: MERGE using array not working in some cases (#1636)
91+
Implement list comprehension (#1610)
92+
Update Go installation and add in parser files (#1582)
93+
Add optional parameter '=' in property constraints (#1516)
94+
Fix unsorted output of some queries in the cypher_match test (#1507)
95+
Update age_load to make property value conversion optional (#1525)
96+
Update the Go driver documentation, Linux installer, and CI (#1527)
97+
Fix json serialization error in Python Driver (#1228)
98+
Add template for upgrading between versions of Apache AGE (#1506)
99+
Update age_load to load scalar property values with appropriate type (#1519)
100+
Fix apache#1513 - Invalid variable reuse in CREATE and MERGE clause (#1515)
101+
Clean up #included files in src/include directories (#1518)
102+
Bump gopkg.in/yaml.v3 in /drivers/golang (#1202)
103+
Clean up #included files in catalog & commands directories (#1514)
104+
Clean up #included files in nodes, executor, & optimizer directories (#1509)
105+
Correct cleanup of age--x.x.x.sql files (#1505)
Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,19 @@
1717
* under the License.
1818
*/
1919

20-
-- This is a template for upgrading from the previous version of Apache AGE
21-
-- It will only work within versions of PostgreSQL, not across.
22-
-- Please adjust the below ALTER EXTENSION to reflect the correct version
23-
-- it is upgrading to.
20+
--* This is a TEMPLATE for upgrading from the previous version of Apache AGE
21+
--* Please adjust the below ALTER EXTENSION to reflect the -- correct version it
22+
--* is upgrading to.
2423

25-
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
26-
\echo Use "ALTER EXTENSION age UPDATE TO '1.4.0'" to load this file. \quit
24+
-- This will only work within a major version of PostgreSQL, not across
25+
-- major versions.
26+
27+
--* Please add all additions, deletions, and modifications to the end of this
28+
--* file. We need to keep the order of these changes.
29+
--* REMOVE ALL LINES ABOVE, and this one, that start with --*
2730

28-
-- Please add all additions, deletions, and modifications to the end of this
29-
-- file. We need to keep the order of these changes.
31+
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
32+
\echo Use "ALTER EXTENSION age UPDATE TO '1.6.0'" to load this file. \quit
3033

3134
CREATE FUNCTION ag_catalog.agtype_contains_top_level(agtype, agtype)
3235
RETURNS boolean
@@ -64,7 +67,7 @@ CREATE OPERATOR <<@ (
6467

6568
/*
6669
* We have to drop and recreate the operators, because
67-
* commutator is not modifiable using ALTER OPERATOR.
70+
* commutator is not modifiable using ALTER OPERATOR.
6871
*/
6972
ALTER EXTENSION age
7073
DROP OPERATOR ? (agtype, agtype);

age--1.6.0--y.y.y.sql

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
20+
--* This is a TEMPLATE for upgrading from the previous version of Apache AGE
21+
--* Please adjust the below ALTER EXTENSION to reflect the -- correct version it
22+
--* is upgrading to.
23+
24+
-- This will only work within a major version of PostgreSQL, not across
25+
-- major versions.
26+
27+
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
28+
\echo Use "ALTER EXTENSION age UPDATE TO '1.X.0'" to load this file. \quit
29+
30+
--* Please add all additions, deletions, and modifications to the end of this
31+
--* file. We need to keep the order of these changes.
32+
--* REMOVE ALL LINES ABOVE, and this one, that start with --*
33+

age.control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
default_version = '1.5.0'
18+
default_version = '1.6.0'
1919
comment = 'AGE database extension'
2020
module_pathname = '$libdir/age'
2121

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ ENV LC_COLLATE=en_US.UTF-8
4949
ENV LC_CTYPE=en_US.UTF-8
5050

5151
COPY --from=build /usr/lib/postgresql/17/lib/age.so /usr/lib/postgresql/17/lib/
52-
COPY --from=build /usr/share/postgresql/17/extension/age--1.5.0.sql /usr/share/postgresql/17/extension/
52+
COPY --from=build /usr/share/postgresql/17/extension/age--1.6.0.sql /usr/share/postgresql/17/extension/
5353
COPY --from=build /usr/share/postgresql/17/extension/age.control /usr/share/postgresql/17/extension/
5454
COPY docker/docker-entrypoint-initdb.d/00-create-extension-age.sql /docker-entrypoint-initdb.d/00-create-extension-age.sql
5555

0 commit comments

Comments
 (0)