protoblast
Advanced tools
Changelog
0.9.4 (2024-10-19)
RequestEvents
class restarting request that is already being handledChangelog
0.9.3 (2024-08-12)
Trail#ifNull(fallback)
methodFunction.getDescendant(name)
also try the lowercase version of the namePledge#getResolvedFunction()
method, which can be passed as an old-style callbackSwift
methods not using the correct schedulersdone
and waterfall
static method for the SwiftPledge
classDevelry.HttpAgent
classes return sockets from createConnection
Develry.HttpAgent
Blast.isAppleWebkit
booleanBlast.environment
string property and isProduction
, isDevelopment
and isStaging
booleansOptional
value-wrapper classPledge#getRejectedReason()
methodObservableOptional
classChangelog
0.9.2 (2024-02-25)
Develry.Request.cache
as soon as a non-GET request is madeDecimal
classes cause an errorObject.setPath()
create arrays by defaultChangelog
0.9.1 (2024-02-19)
Pledge
instances to be cancelledChangelog
0.9.0 (2024-02-15)
String
methods don't return object versions of the stringPledge.done()
resolving with object versions of primitivesBlast.require(path)
use vm
module instead of monkey-patching require
Cache#clear()
methodFunction.postInherit(task)
, which will execute the task after the class has been inheritedBlast.parseClassPath(path)
methodWeakValueSet
classWeakValueSetMap
classBlast.createObjectId()
also available on the server-sidetoISOString
method to AbstractDateTime
classesBlast.didInitialLoad()
methodBlast.executeAfterLoadingCycle()
keep did_initial_load
variable aloneString.parseQuoted(input)
to parse json-like string valuesPlaceholder
and Trail
class to the Develry namespacePledge
class is now a child of Placeholder
and no longer an Informer
Function.create(name, fnc)
rename the given function instead of creating a new one using eval
eval
usage from the methodize
& unmethode
functionsObject.hasOwnProperty.call
calls with Object.hasOwn
Changelog
0.8.18 (2024-01-19)
Magic
class not passing constructor arguments properlychildren
property when creating a new child class in the same namespaceArray#sortTopological(id_path, dependencies_path)
Blast.executeAfterLoadingCycle(task)
which will put Protoblast in an unloaded state if needed and execute the task after the library becomes loaded again.Changelog
0.8.16 (2023-12-21)
String#splitOnce(separator)
breaking when the separator is not foundSeededRng#between(min, max)
methodemit_chunks
option to server-side Request
classLinkedList
and LinkedMap
classesFunction.timebomb()
to be made with an infinite timeoutRequestEvents
class, which is similar to EventSource
but supports POST
requestsChangelog
0.8.15 (2023-11-27)
Deck#first()
and Deck#last()
methodsObject.alike
comparison logic to support custom equality methods and optimized type checkingAbstractNumeric
classes jsonify to a stringError
classes not created via Protoblast can be unserializedFunction#setProperty
use Reflect.ownNames
when given an object, so it'll also work with SymbolsFunction#setProperty
accept functions as values when wrapped in an objectInformer#emit
will now be called synchronously when no listeners are foundSwiftPledge
class, which tries to remain synchronous when possibleSwiftPledge
in function flow methods when trying to remain synchronousPOST
requests on the browser if explicitly requestedSwiftPledge
in Request
class for better cache performancetoJSON
method to AbstractDateTime
classFunction.waterfall
and Pledge.Swift.waterfall
methods