## Changes between Rasqal 0.9.32 and 0.9.33

### New functions, types and enums

Functions

- raptor_sequence* `rasqal_graph_pattern_get_triples`(rasqal_query* query, rasqal_graph_pattern* graph_pattern)

- char* `rasqal_literal_get_language`(rasqal_literal* l)

- rasqal_literal_type `rasqal_literal_get_type`(rasqal_literal* l)

- int `rasqal_literal_is_rdf_literal`(rasqal_literal* l)

- rasqal_query_results* `rasqal_new_query_results_from_string`(rasqal_world* world, rasqal_query_results_type type, raptor_uri* base_uri, const char* string, size_t string_len)

- int `rasqal_variables_table_add2`(rasqal_variables_table* vt, rasqal_variable_type type, const unsigned char *name, size_t name_len, rasqal_literal *value) - Deprecates `rasqal_variables_table_add`()

Types

- rasqal_triples_error_handler2 - Added for `rasqal_variables_table_add2`()

### Renamed function and enums

0.9.32 function | 0.9.33 function | Notes
--- | --- | ---
rasqal_query_results_formats_check | `rasqal_query_results_formats_check2` | Correctly implements return value: non-0 if exists.

### Changed functions and types

0.9.32 function | 0.9.33 function | Notes
--- | --- | ---
rasqal_query_results* rasqal_new_query_results(rasqal_world* world, rasqal_query* query, rasqal_query_results_type type, rasqal_variables_table* vars_table) | rasqal_query_results* `rasqal_new_query_results2`(rasqal_world* world, rasqal_query* query, rasqal_query_results_type type) | Deprecates `rasqal_new_query_results`()

rasqal_data_graph* rasqal_new_data_graph_from_uri(rasqal_world* world, raptor_uri* uri, raptor_uri* name_uri, int flags, const char* format_type, const char* format_name, raptor_uri* format_uri)

rasqal_data_graph* `rasqal_new_data_graph_from_uri`(rasqal_world* world, raptor_uri* uri, raptor_uri* name_uri, unsigned int flags, const char* format_type, const char* format_name, raptor_uri* format_uri)

Made flags argument unsigned

rasqal_expression* rasqal_new_group_concat_expression(rasqal_world* world, int flags, raptor_sequence* args, rasqal_literal* separator) | rasqal_expression* `rasqal_new_group_concat_expression`(rasqal_world* world, unsigned int flags, raptor_sequence* args, rasqal_literal* separator) | Made flags argument unsigned

0.9.32 type | 0.9.33 type | Notes
--- | --- | ---
rasqal_triples_source_factory | rasqal_triples_source_factory | API v3: Added init_triples_source2 handler field using rasqal_triples_error_handler2