Releases: pyhoon/pakai-server-b4j
Releases · pyhoon/pakai-server-b4j
Pakai v5.00 beta3
5.00beta3 v4.10
Pakai v4.00 beta9
Merge pull request #36 from pyhoon/v4.00beta V4.00 Confirm bypass rules and merge!
Pakai v4.00
Pakai v4.00 beta8
4.00beta8 Update README.md
Web API Server v3.50
What's New
- Compatible with Web API Client (2.00).b4xtemplate
Web API Server v3.42
What's New
- Fix column names in html and js
- Uncomment journal mode WAL for SQLite
Web API Server v3.40
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
Add files via upload
Web API Server v3.20
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 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
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