Skip to content

Latest commit

 

History

History
52 lines (29 loc) · 5.96 KB

oldnews.md

File metadata and controls

52 lines (29 loc) · 5.96 KB

Old News

2019-06-18 - Version 0.4.0.0 is supporting inline fragments and comments.

2019-05-18 - Version 0.3.2.1 is fixing a bug with variables (multiple variables), a bug with fragments (variables within fragments), and lastly a bug with database queries (nested objects are correctly translated). Another addition is adding directives. Skip and include directives are supported. Directives are applied to fields and fragments as recorded in documents. Examples are at the bottom.

2019-04-23 - With version 0.3.1.3, one can now add relationships of multiple fields to his/her schema. He/she separates these fields with a space where the equality fields are specified. It is presumed that all tables are with a primary key "id" to help with processing the data. If that's an obstacle, I'd like to have a notice in our Gitter conversation above...thanks!

2019-04-22 - Version 0.3.1.2 is fixing filters on nested objects.

2018-11-17 - Version 0.3.1.1 is fixing data processing. Where data was before not aggregated when making relation from object to a nested object that is of generalized database entity, it is now correctly aggregated. You should be able to now freely make relations between any actually related entities of your database. All previous package versions are now deprecated.

Exceptions are now made available to help you in catching errors.

2018-11-06 - Version 0.3.0.0 is here to save the day. Version 0.2.whatever is bugged. We could not make nested objects in queries. Newer version is fixing this bug. API is broken (in a good way for this time) by the processing data functions where you now pass your scalar field schemas. Another API change is the scalar field schema arguments are given with the types. This is explained in the last news post. Another API change is the returned values are cast if they are Int, Rational (as Decimal), or Double. This is shown in the json return string.

Older news posts are moved to another file to not clutter this page.

Another section is going to list the stable releases where major changes are observed...

There's one more thing to mention. The hackage page is not listing all errors on processing data function. All errors are:

  • InvalidObjectException (when server data is misinterpreted or an unrecognized server object is met)
  • InvalidScalarException (when server data is misinterpreted)
  • EOFDataProcessingException (when the given data is shorter than expected in reference to the given serve objects)
  • InvalidArgumentException (when there is an internal argument error - you should not observe this)
  • InvalidVariableTypeException (when an unrecognized base data type is met)
  • InvalidObjectScalarFieldException (when an unrecognized object-scalar pair is met)

I'm going to try to release new packages when I need since I'm putting-out too many...thanks anyway.

2018-11-05 - Version 0.2.0.1 is out. We've included variables on your queries. We don't have support for not-null variables, but we'll look into it in the future. This change is an api-breaking change since we're including type-matching between variables and subfields. As a consequence, your schema is changed to include types. You can look at example on the hackage page as guidance. With the next version, we will include casting, so you're results are not only text values.

Another note is of our example case were we used show on form response values. We couldn't interpret double quotes, but this is now changed to unpack. You now can use the double quotes in you queries.

Here's a question: I am now removing all \n\r linebreak characters from the query since the textarea form field is putting these into the return value. Is removing all these a problem to anyone and their data or arguments?

2018-10-26 - Version 0.1.0.7 is including schema set-up with json file. This is via the new function processQueryStringWithJson (Yes, I'm supposed to make version 0.1.1.0. I think that it's okay.). You can read about the json file format on the module page. The idea is to make more straightforward of detailing your schema.

2018-10-22 - I owe a big apology to all my 103 downloaders on my first week. I gave you all incorrect instructions on giving your schema: on the fifth list where relationship tables are given, the first two tuple strings are database table names. They are not ServerObject strings nor pseudonym strings. In addition, the first list is supposed to store pseudonyms from being nested object fields. You can check the updated Hackage information to know more. I'm sorry (somebody can maybe find a QA programming internship to learn how can I test my code?)!

On another note, I've added an attribute that I didn't initially list. I've added the revision and error throwing of duplicated queries. Duplicate queries are now supposedly collapsed to a single query with union fields. I appreciate your support.

All these are in the version 0.1.0.5.

2018-10-19 - I appreciate the more downloads, and I also found another bug where parent entities are not returning every children data. I will look into this asap...

...Bugs are fixed. Arguments and type heirarchies are working as expected...thanks for you patience!

2018-10-18 - First Hackage package release is out. Querying database with multiple queries, aliases, and fragments is available while fields, linkages, and heirarchies are given to the user to define. Hopefully, more is to come!

I appreciate the many downloads, but I'm also sorry about the rough start. Since before 0.1.0.3, I've encountered several bugs and several queries were throwing errors. Some of these are now picked out, and I hope that you'll spare your patience to not turn away. I did hurry myself to release this project, but I still hope to have given a worthwhile toolkit to you...thanks for reading!