- Fixed default
rawTypesPattern
inserveStaticFiles()
to remove "text". That should never have gotten in there.
- URL fix for CRAN submission.
- Improved examples in function documentation.
- Added native CORS functionality.
- Added a
FUN
parameter tohandleErrors()
so users can define their own function to deal with error responses.
- Removed
httpuv_~()
function wrappers in favor of importing the functions directly from httpuv. serveStaticFiles()
now works.
Lots of refactoring with an eye toward:
-
core functionality only for an initial release
-
consistent, predictable naming
-
more documentation and examples
-
Renamed
App
object back toBeakr
for internal consistency. -
Renamed
beakr()
tonewBeakr()
to avoid confusion. -
Renamed
http_get()
, et al to tohttpGET()
et al. -
Renamed
kill()
to `startServer(). -
Added
httpuv_kstopAllServers()
. -
Removed
.addListener()
and added functionality inside ofon()
function. -
Removed the following functions as superflous for an initial release:
cors()
,on()
,include()
,kill_all()
,list_active()
,logger()
,use()
,websocket()
-
Improved documentation and examples throughout.
- Prepare for CRAN x3
- renamed http-methods to
http_get()
,http_post()
,http_put()
,http_delete()
. - renamed error-methods to
new_error()
,error_handler()
- renamed other utils and internal methods
- Fixed
static()
function to serve static files.
- Prepared for CRAN x2
- Updated README to avoid CRAN notes
- Updated http-methods functions to avoid CRAN suggestions
- Updated
createBeakr()
->beakr()
- Renamed
Beakr
class object toApp
to align with other popular webframeworks (Express.js, Flask) - Renamed
handleErrors()
tohandler()
- Renamed
onEvent()
toon()
- Prepare for CRAN
- Update the docs and export objects
- Fix deprecated local_examples/
- Minor documentation tweaks.
- Added
onEvent()
event listening - Fixed beakr instance information view
- Added
beakr
instance names - Added support for more internal functionality
- Added logging capability
logger()
.
- Renamed http methods to upper case:
get()
==>GET()
, etc.. - Renamed
killall()
tokillAll()
. - Restored documentation
@examples
.
- Renamed
listen()
tostartBeakr()
. - Internal refactoring and cleanup.
- Changed
request
,response
, anderror
object names toreq
,res
,err
, as more consistent with popular frameworks - Added fancy beakr prints
- CORS functionality
- Daemonized instances
- Proper JSON erorr handling
- Added other features,
kill()/killall()
,active()
- Massive bug fixes
- Initial Release