Recent Releases of newt
newt - v0.0.9
This release implements the Newt third prototype. It is an interum release to test many of the changes planned for the Newt Project.
This release sees a new simpler YAML syntax and a major refactoring since v0.0.8. The v0.0.8 release was demoed at UCLA Code4Lig meetup in April 2024.
v0.0.8 has three cli.
- newt provides a general tool to manage Newt projects
- ndr is the Newt data router replacing the old newtrouter
- nte is the Newt template engine replacing newmustache
Mustache templates have been dropped in favor of Handlebars templates. Eventually the template engine will be rewritten in TypeScript and compiled with Deno allowing the use of Handlebarjs directly.
The purpose of this release is to determine what code should remain in Go and what code should be rewritten in TypeScript and compiled with Deno 2.2.
Full Changelog: https://github.com/caltechlibrary/newt/compare/v0.0.8...v0.0.9
- HTML
Published by rsdoiel 11 months ago
newt - SoCal Code4Lib Meetup release
This is a proof of concept release showing where the project is at ahead of the SoCal Code4Lib Meetup at USC.
- HTML
Published by rsdoiel almost 2 years ago
newt - newt runner added
This release includes a newt command which functions as a developer tool. It is a pre-release because newtgenerator in only partially implemented.
- HTML
Published by rsdoiel almost 2 years ago
newt - second prototype
This prototype splits the SQL generation function out from the newt command into newtpg command. It adds a proof of concept newtmustache Mustache render engine similar to Pandoc server in concept. Cleaned up some of the YAML. Renamed pandoc_template to template since it will be possible to support other rendering engines. Added attribute render_port to individual routes that specify a template. It is optional if not specified it assume the render engine runs on port 3030 like Pandoc server.
In the Newt YAML file, newt_routes is now routes, there is still a routes_file attribute if you need to read in a separate file (e.g. a CSV file of routes). newt_env is not env.
Added man pages for newt, newtpg and newtmustache.
We're still in the prototype phase, everything could easily change.
- HTML
Published by rsdoiel about 2 years ago
newt - expanded types
This release updates the types support by the Type DSL used to define routes and models in Newt's YAML files.
- HTML
Published by rsdoiel over 2 years ago
newt - SQL generation proof of concept
Add three options to newt for generation SQL for use with Postgres and PostgREST from the added "models" and "namespace" attributes.
-pg-setup
: This is SQL to use up schema and roles for use with PostgREST
-pg-models
: This generates SQL for models as well as default view and function for updates
-pg-models-test
: This generate SQL tests for the models generated by -pg-models.
- HTML
Published by rsdoiel over 2 years ago
newt - Proof of concept
This is exploratory project. Newt is a microservice designed to work with Pandoc server, Postgres+PostgREST (or other JSON API).
- HTML
Published by rsdoiel over 2 years ago
newt - Proof of concept
This is a proof of concept prototype for Newt and building web applications on Postgres+PostgREST+Pandoc server.
- HTML
Published by rsdoiel over 2 years ago