diff --git a/CHANGELOG.md b/CHANGELOG.md index 216d234e95e..98d6613f4d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -52,36 +52,21 @@ the right-hand side for now. - cli: use indentation of 2 spaces in array elements of metadata YAML files -Example: - - - - - - - - - - - + + + +
Old behaviour
 metadata/query_collections.yaml
New behaviour
 metadata/query_collections.yaml 
-
-- name: allowed-queries
-  definition:
-    queries:
-    - name: getAlbums
-      query: |
-        query getAlbums {
-          albums {
-            id
-            title
-          }
-        }
-       
-
-
-- name: allowed-queries
-  definition:
-    queries:
+  Example:
+  
+  
+    
+      
+      
+    
+  
+  
+    
+      
-  
-
-
Old behaviour
 metadata/query_collections.yaml
New behaviour
 metadata/query_collections.yaml 
+
+  - name: allowed-queries
+    definition:
+      queries:
       - name: getAlbums
         query: |
           query getAlbums {
@@ -90,64 +75,78 @@ Example:
               title
             }
           }
-      
-
+
+
+
+  - name: allowed-queries
+    definition:
+      queries:
+        - name: getAlbums
+          query: |
+            query getAlbums {
+              albums {
+                id
+                title
+              }
+            }
+        
+
+ + This change is a result of fixing some inconsistencies and edge cases in writing array elements. + `hasura metadata export` will write YAML files in this format going forward. Also, note that this is a backwards compatible change. -This change is a result of fixing some inconsistencies and edge cases in writing array elements. -`hasura metadata export` will write YAML files in this format going forward. Also, note that this is a backwards compatible change. +- cli: change ordering of elements in metadata files to match server metadata -- cli: fix ordering of elements in metadata files to match server metadata - -Example: - - - - - - - - - - - + + + + +
Server Metadata (JSON)Old behaviour (YAML)New Behaviour (YAML)
-
-{
-  "function": {
-    "schema": "public",
-    "name": "search_albums"
+  Example:
+  
+     
+        
+           
+           
+           
+        
+     
+     
+        
+           
-         
-         
-      
-   
-
Server Metadata (JSON)Old behaviour (YAML)New Behaviour (YAML)
+
+  {
+    "function": {
+      "schema": "public",
+      "name": "search_albums"
+    }
   }
-}
-       
-
-
-function:
-  name: search_albums
-  schema: public
-      
-
-
-function:
-  schema: public
-  name: search_albums
-      
-
+
+
+
+  function:
+    name: search_albums
+    schema: public
+        
+
+
+  function:
+    schema: public
+    name: search_albums
+        
+
### Bug fixes and improvements - server: Fix regression in MSSQL subscriptions when results exceed 2048 characters (#8267) - server: refactor OpenAPI spec generation (for REST endpoints) and improve OpenAPI warnings -- server: add jsonb to string cast support - postgres +- server: add jsonb to string cast support - postgres (#7818) - server: improve performance of fetching postgres catalog metadata for tables and functions -- server: Queries present in query collections, such as allow-list, and rest-endpoints are now validated (against the schema) -- server: Redesigns internal implementation of webhook transforms. +- server: Queries present in query collections, such as allow-list and rest-endpoints, are now validated (fixes #7497) - server: improve SQL generation for BigQuery backend queries involving `Orderby`. - server: fix regression where remote relationships would get exposed over Relay, which is unsupported - server: add support for customising the GraphQL schema descriptions of table columns in metadata @@ -155,17 +154,16 @@ function: - server: fix caching bug with session variables in remote joins - server: fix regression where JWKs are refreshed once per second when both must-revalidate and max-age are specified in the Cache-Control header (#8299) - server: respect custom field names in delete, insert and update mutations on SQL Server (#8314) -- console: fixed an issue where editing both a column's name and its GraphQL field name at the same time caused an error -- console: enable searching tables within a schema -- console: fixed the ability to create updated_at and created_at in the modify page (#8239) -- console: disable search indexing with HTML meta tag +- console: enable searching tables within a schema in the sidebar - console: add support for setting comments on the custom root fields of tables/views -- console: fix redirect to metadata status page on conflicting inherited role - console: add feature flags section in settings -- console: fix malformed request with REST live preview section -- console: improved support for setting comments on computed fields -- cli: fix inherited roles metadata not being updated when dropping all roles (#7872) +- console: improved support for setting comments on computed fields +- console: fix the ability to create updated_at and created_at in the modify page (#8239) +- console: fix an issue where editing both a column's name and its GraphQL field name at the same time caused an error +- console: fix redirect to metadata status page on inconsistent inherited role (#8343) +- console: fix malformed request with REST live preview section (#8316) - cli: add support for customization field in sources metadata (#8292) +- cli: fix inherited roles metadata not being updated when dropping all roles (#7872) - ci: ubuntu and centos flavoured graphql-engine images are now available ## v2.4.0-beta.3