This repository has been archived by the owner on Dec 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Release Notes
Derk Norton edited this page May 31, 2022
·
108 revisions
- Updated the package dependencies to the latest versions.
- Updated the dependencies to version
v2.85.0
of thebali-component-framework
project.
- Updated the dependencies to version
v2.84.0
of thebali-component-framework
project.
- Updated the dependencies to version
v2.83.0
of thebali-component-framework
project.
- Updated the dependencies to version
v2.82.0
of thebali-component-framework
project.
- Updated the dependencies to version
v2.81.0
of thebali-component-framework
project.
- Updated the dependencies to version
v2.80.0
of thebali-component-framework
project.
- Updated the dependencies to version
v2.79.0
of thebali-component-framework
project.
- Updated the dependencies to version
v2.78.0
of thebali-component-framework
project.
- Updated the dependencies to version
v2.77.0
of thebali-component-framework
project.
- Updated the dependencies to version
v2.76.0
of thebali-component-framework
project.
- Updated the dependencies to version
v2.75.0
of thebali-component-framework
project.
- Made the
HTTPEngine.encodeSuccess()
function into a method.
- Updated the dependencies to version
v2.74.0
of thebali-component-framework
project.
- Renamed the engines for consistency.
- Updated the dependencies to version
v2.72.0
of thebali-component-framework
project.
- Updated the dependencies to version
v2.71.0
of thebali-component-framework
project.
- Updated the dependencies to version
v2.70.0
of thebali-component-framework
project.
- Updated the dependencies to version
v2.69.0
of thebali-component-framework
project.
- Updated the dependencies to version
v2.65.0
of thebali-component-framework
project.
- Updated the dependencies to version
v2.53.0
of thebali-component-framework
project.
- Updated the dependencies to version
v2.51.0
of thebali-component-framework
project.
- Updated the dependencies to version
v2.50.0
of thebali-component-framework
project.
- Updated the dependencies to version
v2.46.0
of thebali-component-framework
project.
- Updated the dependencies to version
v2.44.0
of thebali-component-framework
project.
- Updated the dependencies to version
v2.43.0
of thebali-component-framework
project.
- Updated the dependencies to version
v2.42.0
of thebali-component-framework
project.
- Updated the dependencies to version
v2.41.0
of thebali-component-framework
project.
- Updated the dependencies to version
v2.40.0
of thebali-component-framework
project.
- Updated the dependencies on other bali projects to latest versions.
- Renamed the
commitDocument
function tosignContract
, and thecheckoutDocument
function tocheckoutContract
to be consistent with other functions in the API. - Restricted the
retrieveDocument
function argument to only allow citations, not names.
- Updated the dependencies on other bali projects to latest versions.
- Updated the dependencies on other bali projects to latest versions.
- Migrated AWS client dependency to v3.
- Updated the dependencies on other bali projects to latest versions.
- Updated the dependencies to the latest stable versions.
- Fixed bug in
DocumentRepository.checkoutDocument()
where the$previous
parameter for the new document wasn't getting set.
- Changed
DocumentRepository.retrieveContract(name)
to retrieve the complete contract, andDocumentRepository.retrieveDocument(identifier)
to take either aName
or aCitation
as theidentifier
. - Removed any return value from
DocumentRepository.commitDocument(name, document)
.
- Updated the dependencies to the latest versions.
- Updated the dependencies to the latest versions.
-
Refactored the
DocumentRepository
separating out the concept of a document from a contract (which is a notarized document). This interface now clearly separates the following:-
document - a
catalog
that has arbitrary attributes and is parameterized with a$type
,$tag
,$version
,$permissions
and a$previous
version. -
citation - a
catalog
that acts as a Merkle pointer to a document and has the following attributes:$protocol
,$tag
,$version
and$digest
. -
contract - a
catalog
that is a notarized document that has the following attributes:$protocol
,$timestamp
,$account
,$document
,$certificate
citation and$signature
.
What were referred to as "documents" are now "contracts", and what were referred to as "draft documents" are now "documents". This makes things much less confusing.
-
document - a
- Updated the dependencies to the latest versions.
- Updated the dependencies to the latest versions.
- Updated the dependencies to the latest versions.
- Updated the dependencies to the latest versions.
- Updated the dependencies to the latest versions.
- Updated the dependencies to the latest versions.
- Updated the dependencies to the latest versions.
- Updated the dependencies to the latest versions.
- Updated the dependencies to the latest versions.
- Updated the dependencies to the latest versions.
- Updated the dependencies to the latest versions.
- Updated the dependencies to the latest versions.
- Updated the dependencies to the latest versions.
- Updated the dependencies to the latest versions.
- Fixed a performance issue with the
ValidatedStorage
class.
- Removed unneeded logging statement from service.
- Changed debug logging level for service output.
- Fixed a bug in the validation of the arguments for the
deleteMessage()
function.
- Changed the semantics of the message functions to use a tag to identify a message instead of a citation.
- Added check for existing message with the same tag for the
addMessage()
function.
- Added check for 'accept' header that is not expected so that any browser should work.
- Fixed bug where HTTP headers with mixed case were not being recognized.
- Changed the document type for HTTP errors to be
/bali/services/Error/v1
so that the type is displayed correctly in a browser.
- Fixed bug in how the
HTTPEngine
class determines whether or not the body of the request is a BDN string.
- Extracted the document specific web service engine functionality into a separate class that inherits
from
HTTPEngine
. - Converted the message management to use a tuple space model with leases.
- Changed API functions to take a
citation
argument instead of atag
andversion
. - Refactored the
LocalStorage
andS3Storage
classes to enforce identical semantics. - Added citation validation to
ValidatedStorage
class.
- Changed message bags to be backed by persistent documents with permissions. Each bag is now identified by both a tag and version. Messages are still identified only by their tag since they cannot be versioned.
- Adjusted the symantics of the PUT and POST methods to match the requirements in the HTTP spec.
- Changed 'bags' to 'messages' since that is what that part of the API focusses on.
- Changed
readName(name)
to return the named document rather than the citation to the document.
- Changed the return status of
204 (no content)
to200 (ok)
to allowPUT
methods to return citations.
- Extended the
DocumentRepository
API to return citations on creation of drafts, documents, and messages.
- Updated the dependency on the
bali-digital-notary
package to v2.10.0.
- Updated the
storage/RemoteStorage
implementation to match the new repository service protocol.
- Moved semantic checking to repository service to address certificate creation bootstrapping problems.
- Added
queueExists(queue)
andmessageCount(queue)
functions to the document repository API.
- Fixed bug in
fetchCitation(name)
where an exception was thrown if the citation does not exist.
- Removed the management of "types" from the repository. Types should be stored as regular documents.
- Updated dependencies on
bali-component-framework
andbali-digital-notary
projects.
- Simplified the create/save function signatures in the storage classes.
- Added missing
Accept: application/bali
header to all requests made by theRemoteStorage
class.
- Removed support for static content from the repository service. The performance was too slow and it was better to provide a different service that accessed the static content directly from the AWS S3 bucket.
- Forced all static resources to be returned as buffers. Some may contain "utf8" encoded strings.
- Fixed bug in
S3Storage
class that corrupted binary objects stored in S3.
- Changed the delete semantics to return a boolean on whether or not the document was deleted rather than the deleted document.
- Fixed several bugs in new static resource code and added unit tests for testing it.
- Added static resource retrieval functions to the storage mechanisms.
- Renamed the storage mechanism classes to be more consistent.
- Updated the dependencies on the
bali-component-framework
andbali-digital-notary
packages to take advantage of the latest bug fixes and features. - Fixed a bug that occurs when a root directory that is missing a "/" at the end of it is passed to the local storage mechanism.
- Updated the dependency on the
bali-component-framework
tov2.3.1
. - Updated the dependency on the
bali-digital-notary
tov2.5.1
.
- Added support for the digital notary that includes an
$account
attribute in each notarized document.
- Refactored the directory structure a bit.
- Fixed several bugs in the exception handling blocks.
- Completely refactored this project to reduce redundant code and validation checks.
- Added a
version
parameter to most API calls to make them better integrated with the Bali element types.
- Fixed semantic issues with the HTTP methods for the queue operations.
- Removed the redundant directory in the S3 bucket paths.
- Incorporated bug fixes from
bali-component-framework
andbali-digital-notary
.
- Updated the dependency on the
bali-component-framework
project tov2.2.2
. - Updated the dependency on the
bali-digital-notary
project tov2.3.0
.
- This is the first release of
v2
of the document repository library. The library is ready for general use. - It's public interfaces should now be stable, though it is far from bug-free.
- From here on out, a minor release (e.g.
v2.x
) should only add new functionality and bug fixes, it should not break existing code that uses it. - Each dot release (e.g.
v2.x.y
) will be for urgent bug fixes. - There will be
v2
releases for the rest of the Bali Nebula™ repositories that depend on the Bali Document Repository™ over the next few months.
NOTE: To view the release notes from v1
of the framework, click here.