Skip to content

Releases: pyhoon/pakai-server-b4j

Pakai v5.00 beta3

12 Jun 21:01
Compare
Choose a tag to compare
Pakai v5.00 beta3 Pre-release
Pre-release
5.00beta3

v4.10

Pakai v4.00 beta9

03 Jun 07:21
e646d8f
Compare
Choose a tag to compare
Merge pull request #36 from pyhoon/v4.00beta

V4.00
Confirm bypass rules and merge!

Pakai v4.00

03 Jun 07:26
e646d8f
Compare
Choose a tag to compare

Features:

  • Use Server Handlers
  • Improved API documentation
  • Built-in web front-end with CRUD examples
  • Supports JSON and XML formats payload and response

Pakai v4.00 beta8

30 May 13:44
Compare
Choose a tag to compare
4.00beta8

Update README.md

Web API Server v3.50

24 Apr 08:14
Compare
Choose a tag to compare

What's New

  1. Compatible with Web API Client (2.00).b4xtemplate

Web API Server v3.42

23 Apr 21:23
cfbc68a
Compare
Choose a tag to compare

What's New

  • Fix column names in html and js
  • Uncomment journal mode WAL for SQLite

Web API Server v3.40

23 Apr 14:50
67c7685
Compare
Choose a tag to compare

Whats's New

  • change code for initializing MiniORM object (support for new version of MiniORM)
  • update InitDatabase sub
  • rename DBEngine sub to DBType
  • fix support for custom api name in Utility module
  • clean unused code
  • remove unused items for SQLite in config.example

Web API Server v3.30

09 Mar 21:04
40be2a8
Compare
Choose a tag to compare
Add files via upload

Web API Server v3.20

16 Jan 18:03
17c5008
Compare
Choose a tag to compare

What's New:

  • Changed in UI and Theme
    • Moved CSS and JS in main.html to separate files (main.css and main.js)
    • Colour changed using custom CSS in main.css instead of Bootstrap variables
    • Replace label for collapsible button with endpoint description instead of showing the url link
    • Same for authentication indicator is put next to the description - showing Basic or Token when applicable
  • New BuildMethods sub is used to build API documentation programmatically
    • Now works when building project straight in Release mode
    • ReadHandlers sub is no longer required
    • However, BuildMethods sub can be use together with ReadHandlers sub to override its generated properties
    • All commented hashtags are now removed for a cleaner template
    • Note that commented hashtags are still working in Debug mode and can be used to generate static help.html for production in old ways
  • New commented hashtag (e.g ' #POST) *Note: all commented hashtags are case insensitive
    • Allow to use any name for naming Method sub in API handlers
    • Not necessary to start the Method name with a Verb e.g CreateNewCategory instead of PostCategory
    • The hashtag must be put on the same line with sub definition
  • Support for multi-line json body format (for POST and PUT endpoints)
    • (old way) HTML syntax in one line (i.e using <br> and &nbsp; tags)
    • (new) String Literals
    • (new) JSON Map *must be valid
  • New Utility module to generate JS files
    • Works during Debug or Release mode
    • It is executed by calling CreateJSFiles sub when InitServer is executed
    • The files are generated based on SimpleResponse settings
  • New Configurable sub for additional configuration
    • This helps to simplify a bit on configs in Main module
    • Developer only need to focus on 3 subs (in Main module) in most use cases
      • AppStart
      • Configurable
      • CreateDatabase

Web API Server v3.10

10 Dec 14:03
d59d2c2
Compare
Choose a tag to compare

What's New:

  • Fix error in Main module (line #129) when selecting MySQL
  • New ServerUrl in ServerConfigurations type
  • ConfigurePort sub replaces ConfigureSSL
  • Remove ApplySettings sub
  • Updated HelpHandler
    • New VerbSection type to simplify some methods signature
    • GenerateVerbSection now accepting a single Verbsection type
    • GenerateDocItem now accept a single Map
    • GenerateLink sub updated using ServerUrl
    • GenerateNoApiLink sub added for adding non api handler to documentation
    • ReadHandlers sub updated
    • JavaScript updated
      • fade-out and fade-in animation on bootstrap alert when submitting the endpoint again
      • html elements using id instead of button id
      • Some code for basic and token authentication support
      • Standardize coding format (removed ending semicolons and replaced single quote with double quotes)
  • help.html loads server url based on config.ini during production