Skip to content

Releases: chuckpreslar/codex

Codex version 0.4.0.

15 Aug 02:07
Compare
Choose a tag to compare
Codex version 0.4.0. Pre-release
Pre-release

Release Notes

  • Introduce nodes, visitors, and managers for table creation and alteration.
  • Major package update to remove unused "tree" directory as it does not represent a package.
  • Replace engine field and Engine method on managers in favor of adapter and SetAdapter respectively on tree managers.
  • BindingNode for SQL parameterization.
  • Update to SelectManager receiver methods, converting arguments to proper nodes.
  • Add Returning method for InsertManager's (geared toward Postgres).

Codex version 0.3.0.

19 Jul 01:12
Compare
Choose a tag to compare
Codex version 0.3.0. Pre-release
Pre-release

Release Notes

  • Add initial MySQL visitor.
  • Implement UNION, INERSECT, and EXCEPT for Select statments.
  • Rename managers SetEngine method to Engine.
  • Make managers engine member private to enforce using Engine method to modify it.
  • Remove near useless type switch in favor of more recognizable type if.
  • Implement Having and Group By for Select Managers.
  • Consistent naming convention for receivers.
  • Consistent returns from factory methods.
  • Select Statement ordering with Ascending and Descending nodes.

Codex version 0.2.0.

09 Jul 21:45
Compare
Choose a tag to compare
Codex version 0.2.0. Pre-release
Pre-release

Release Notes

  • Proper tests for Nodes.
  • Proper tests for Visitors.
  • Visitor's Accept now returns result, error after recovering from a potential panic from the visitors Visit method.
  • Update tree managers to return the same string, error combination the VisitorInterface returns.
  • Remove all panics to allow for visitor to return any errors.
  • Add DEBUG variable to Visitor package for debugging information.
  • Add factory methods for all Nodes and Managers.

Codex version 0.1.0.

08 Jul 02:39
Compare
Choose a tag to compare
Codex version 0.1.0. Pre-release
Pre-release

Release Notes

Initial ToSqlVisitor and PostgresVisitor providing basic SQL compilation for the following:

  • Searching
    • Projecting columns.
    • Filtering results.
    • Limiting results.
    • Skipping results.
    • Joining multiple tables (via INNER JOIN and LEFT OUTER JOIN).
  • Inserting
  • Updating
  • Removal