Repository navigation
Releases
Releases · ClementRingot/Open-RAP-Runtime
v0.4.0
Minor Changes
- 1ea351c: RAP change documents (D119):
changedocuments master,changedocuments dependentand the logging options are checked as on SAP, written by the managed runtime at save and read withcl_chdo_read_tools, filtered by the database (period, object IDs, users, change numbers). - 051cfdc: The copy action of an instance hierarchy (
instance hierarchy … { copy action …; }) is supported: an instance-bound factory action implemented in the behavior pool, also on drafts, named inHierarchy.RecursiveHierarchyActionsof the$metadata(D118). - b04f07c: OData:
dependsOnof a JSON batch, with 424 Failed Dependency when a dependency failed (D120). - b65a0b6: Destinations of remote APIs with OAuth 2.0 client credentials (D122):
DESTINATION_<NAME>_TOKEN_URL,_CLIENT_ID,_CLIENT_SECRET,_CLIENT_AUTH(basicorpost),_SCOPEand_TOKEN_PARAMS; the access token is kept until shortly before it expires and requested again after a401, for the HTTP client and the OData client proxy. - 4d5f7dd: Destinations of remote APIs with an OAuth 2.0 refresh token (D123):
DESTINATION_<NAME>_REFRESH_TOKEN; the refresh token the provider gives in its place is used at once and kept encrypted (AES-256-GCM, a key derived from the refresh token of the environment) in the database of the application (rapt_oauth_refresh_token), so that it survives a restart and is shared by the instances. - 2101661: The outbound authentication methods of ABAP Cloud for the destinations of remote APIs (D124): an X.509 client certificate (
_CLIENT_CERT,_CLIENT_KEY) and a certificate authority of the server (_CA), OAuth 2.0 client authenticationmtls,jwt(private_key_jwt) andnone, OAuth 1.0 (_OAUTH1_*).
Patch Changes
- a01e640: The behavior pools run on
@abaplint/transpilerand@abaplint/runtime2.14.41
(@abaplint/core2.120.126): the addition, subtraction, multiplication andMODof packed numbers
are exact beyond 15 significant digits (D117), autclongcolumn of a table still transpiles; dependency updates (jose, nodemailer,
kysely, fast-xml-parser, PGlite 0.6.1, OpenUI5 1.154.0). - 0b976a8: Stopping the server no longer hangs when a client stops reading a response: the requests in
progress get 2 s to finish, then the remaining connections are cut;rapt devkills a server
that still does not stop after 10 s instead of waiting forever before a rebuild.
v0.3.0
Minor Changes
- 003cf38: Unique ABAP user names (D114): an identifier of the identity provider longer than 12 characters, or whose name is taken, gets a generated name
CB…as on SAP BTP, kept inrapt_abap_user, instead of being cut to 12 characters (two users could sharesy-uname,CreatedByandaspect user). - 391adcc: The gaps of abaplint are fixed in Open RAP Runtime (D80): classic SQL writes of the saver are exact and
DELETE dbtab FROM @wadeletes one row,SUM/AVG/COUNTcan be declared inline,SELECT … ENDSELECTaccepts a field list,LOOP AT … FROM/TOacceptsint8bounds, and an enumerated object converted to text gives the name of its constant. - 1ed6c66: The answers of the OData requests as on SAP BTP (D88):
Preference-Appliedforreturn=minimalandhandling=strict, theETagheader on a204,201 Createdand theLocationfor the draft actionsEditandActivate,204forPrepare. - c9c4615:
rapt abapgit --suffix --outadds the draft tables SAP needs to the renamed copy;scripts/btp-roundtrip.mjswrites the repository of the draft fixture for the SAP BTP trial, with the steps to follow (D84). - 051bb8e:
SAP__Messageson every entity type of a business object, and the capabilities of SAP BTP in the$metadata: delta and deep updates, search and filter restrictions, the controls neither filterable nor sortable (D94). - 17f2862: CDS: aggregate expressions (
MAX,MIN,SUM,AVG … AS,COUNT) withGROUP BYandHAVINGin view entities, checked as on SAP (D105). - 4639281: CDS: elements of to-one associations in the select list of a view entity or a projection (
_Travel.TravelID as TravelNumber), alone or in an expression (D100). - e929ad0: CDS:
BETWEENandIS [NOT] INITIALin conditions, and the WHERE condition of projections (D102). - 51c93f7: CDS: hierarchies (
define hierarchy … as parent child hierarchy) compiled to recursive views with the$nodeattributes, and the OData recursive hierarchy of@OData.hierarchy.recursiveHierarchyserved for the tree tables of OpenUI5 (ancestors,descendants,orderby,Hierarchy.TopLevels) (D108). - f4b5b2b: CDS: inner and left outer joins of tables and CDS entities in view entities (D104).
- 17d7429: CDS: parameters of view entities (
with parameters,$parameters,@Environment.systemField, actual parameters of a data source), read in OData asView(p=…)/Set(D107). - 71bb8b7: CDS:
$session.user,$session.system_languageand$session.client, per request (D103). - 5405d02: CDS:
UNIONandUNION ALLof view entities, checked as on SAP (D106). - 6fd5dc1: CDS: the WHERE condition of view entities, on columns,
$projectionelements and association paths, also applied to the drafts (D101). - a46843e: The command line is now the package
@open-rap/cliof the npm organizationopen-rap:npm install -g @open-rap/cli(the command is stillrapt).open-rap-runtimeis deprecated (D112). - a9039ea:
rapt conformance compare <src> --sap <metadata.xml>compares the$metadataof a service with the one SAP BTP generated for the same sources, on normalized names, and writes the differences (D90). - 3323977: The administrative data of the drafts as on SAP BTP (D87): the navigation
DraftAdministrativeDataleads to the entity setI_DraftAdministrativeDatawith the properties of SAP (DraftEntityType,DraftIsCreatedByMe,DraftIsProcessedByMe, …), and the draft entities haveDraftEntityCreationDateTimeandDraftEntityLastChangeDateTime. The round trip to the trial reads CRLF working copies. - db72604: Draft: the logic of the BO runs on the draft (D81): the determinations on modify after each change,
Prepareruns the validations and determinations it names and returns their messages, and instance actions run on a draft instance. - 2ba698d: Draft: the
SiblingEntitynavigation of the draft protocol (D81), in paths,$filterand$expand; the Editing Status filter of the UI uses it; a single-valued navigation without target answers 204. - 46389c9: Draft: state messages (D81): the messages of the validations run by
Prepareare kept with the draft and read inSAP__Messages(Common.Messages), as SAP Fiori elements expects. - 4240968: The value help of the users of the drafts,
I_DraftAdministrativeUserVH, on the creator and the last changer of the administrative data (D96). - 6a1db74: EML: the draft indicator
%is_draftin the derived types of a draft BO; a creation with it on makes a new draft, a read of the other image works, and a factory action answers the draft it created, also on a draft instance (D110). - 467424f: SAP Fiori elements protocol cases (D79): the requests of Fiori elements are replayed against the service without SAPUI5,
scripts/fe-har-to-cases.mjsturns a HAR of an SAP BTP trial into cases, andrapt dev --fe-checktells where to point a Fiori elements application run locally under your own SAP license. - e1017ad: The controls of the instances as on SAP BTP (D89): the creation by association in
__CreateByAssociationControl,Editof a draft root under__OperationControl, and the actions under operation control advertised in a full representation. The nine scenarios of SAP Fiori elements recorded on the SAP BTP trial now replay without difference. - af09731: JSON batch (OData 4.01, atomicity groups as LUWs), single properties and their raw value (
$value) (D95). - 5b5b822: RAP: late numbering in managed BOs without draft:
%pidand preliminary keys in the interaction phase,adjust_numbersof the saver class in the late save phase, the final keys in the OData responses (D109). - a9577c6: The MCP server of an application is an OAuth 2.0 protected resource in OIDC mode (D113): metadata at
/.well-known/oauth-protected-resource/mcpandresource_metadatain the401, so that Claude or another MCP client signs the user in at the identity provider;OIDC_MCP_SCOPES. - d646f19: The
$metadatacloser to the one of SAP BTP (D92):OnDelete Cascadeon compositions, UUIDs not nullable,PrepareandResumewithout result (Resumeanswers 204), the controls and the draft fields hidden from the filter bar, side effects qualifiedSAP__Field_<field>, actions named with their binding parameter,Common.DraftActivationViaon draft nodes,Common.CreatedBy/ChangedAt…, the labels ofI_DraftAdministrativeData. - c6a2dc9:
cl_abap_char_utilities=>minchar; in standard mode a number range interval that is not configured raisescx_nr_object_not_found, as on SAP (D97). - 41d3f91: The sources SAP BTP must refuse (D91):
fixtures/negative/cases.json, written for the trial byscripts/btp-roundtrip.mjs --negative; ABP012 refuses a system field written (sy-subrc = 0.) andCALL FUNCTION, as ABAP for Cloud Development does. - 2d3f1e9: OData: nested
$expand(5 levels) and$filterwithanyandallon collection navigations, with the access controls of the target (D82). - 9ecb651: Launchpad: the counts of the tiles are read again every
refreshseconds and when the launchpad is shown again; the Object Page marks a mandatory field left empty (D98). - e42b0cc:
rapt abapgit <src> --suffix XYZ --out <dir>writes a copy of a project whose objects all end with the suffix, for a shared SAP system such as the SAP BTP trial (D83);scripts/fe-record-trial.mjsrecords the SAP Fiori elements protocol there, scenario by scenario. - a368fdb: User menu of a standalone application with browser sessions (D115): avatar, name, ABAP name, roles and Sign Out in the shell bar; the titles of the form sections of the Object Page are shown again.
Patch Changes
- 2135ec2: abaplint updated:
@abaplint/core2.120.107,@abaplint/transpilerand@abaplint/runtime2.14.33. - a2710f0: Responsive tables on a phone, as in Fiori Elements V4: the List Report and Object Page tables
place their columns themselves (autoPopinMode) by the@UI.lineItemimportance, the others in
pop-in under each row. - df16630: The roadmap is organized in phases towards fidelity to the SAP BTP ABAP environment, and the known gaps list what is not planned.
- bcf5d81: Roadmap: the objects a project uses and does not have (D94) are told apart: APIs of SAP (released and not provided, deprecated, not released), content under a namespace and other repositories.
- 7e60aa7: A standalone application with browser sessions no longer shows a shell bar above its pages: the
avatar of the user and its menu (sign-out) are in the title of the List Report, Object Page and
Overview Page, as in a SAP Fiori elements application (D116). - 3c4c1e4: Round 2 on the SAP BTP trial: the variant
cds(fixtures/cds) with the CDS views of D100 to D108,scripts/btp-read-trial.mjsto read them on the trial, two negative CDS cases (D111). - d1e01d5: Documentation: why the generated services keep the identifiers of the interfaces of SAP (
SAP__Messages,sap-messages,com.sap.vocabularies.*…) (D93). - b4d0dab:
sy-mandtis100, as$session.client;$session.user_timezoneand$session.user_date, andsy-zonlo,sy-datlo,sy-timloset (D103). - 2626091: Round 2 on the SAP BTP trial (D99): the recordings keep the observed values a question needs, a
strict-handlingscenario and its variant, and the checklist of the session.
v0.2.1
Patch Changes
- 0a1f101: The VS Code extension has its icon, in VS Code and on the Visual Studio Marketplace.
v0.2.0
Minor Changes
- The launchpad of the workspace in development (D75):
rapt launchpad dev <launchpad.json>and
RAP: Start the launchpad in VS Code run every application of the workspace behind the
launchpad, each one rebuilt on save; the commands of VS Code are greyed out until they are
possible. - A Web API or a Fiori application, chosen at the creation (D76):
rapt new --binding-type webapi, the wizards of VS Code (a business object, or a binding alone with the name SAP would
give); a Web API is never in the launchpad (LPD011) and has no floorplan; the UI binding is
preferred when a service has both. - The versions are managed by Changesets (D77): each change carries a changeset, the Version
packages pull request bumps the versions and writes the changelogs, its merge releases. - Published without tokens (D78): npm, the Visual Studio Marketplace and Open VSX trust the
release workflow by trusted publishing (OIDC); npm attests the provenance of each version. - The VS Code extension is published by the publisher
abaper: its ID becomes
abaper.open-rap-runtime-vscode(an earlier.vsixinstalled shows as another extension;
uninstall it, therapt.*settings are kept).
Patch Changes
rapt launchpad dev: a regeneration of the launchpad that throws no longer stops the next ones.
v0.1.2
v0.1.1
v0.1.0
What's Changed
- rapt dev : boucle de développement (PGlite, reconstruction à chaque modification) by @ClementRingot in #1
- Extension VS Code, classes utilitaires, bgPF et e-mail (contient #2 et #3) by @ClementRingot in #4
- rapt dev on Windows: node_modules link compared without drive letter case by @ClementRingot in #5
- Écrire seulement de l'ABAP : tables en source, rapt abapgit, rapt new, données initiales (D42) by @ClementRingot in #6
- VS Code : coloration ABAP / CDS / BDEF et release du .vsix by @ClementRingot in #7
- Entités custom (unmanaged query) et BO managed sur entité custom (D43) by @ClementRingot in #9
- Travel fixture: total recalculated on booking deletion, mandatory fields validated by @ClementRingot in #8
- Fix the CLI on Windows, type feature control as SAP does, LF line endings by @ClementRingot in #10
- Extension : deux façons de créer, commandes grisées, floorplan obligatoire (D63) by @ClementRingot in #11
- Corrige la double barre de défilement sous la barre du launchpad by @ClementRingot in #12
- CLI rapt sur npm :
npm install -g rap-transpiler(D66) by @ClementRingot in #13 - Filtres : dialogue d'aide à la saisie avec conditions (Search and Select / Define Conditions) — D65 by @ClementRingot in #14
- Expressions dans les éléments des vues CDS (D64) by @ClementRingot in #15
Full Changelog: https://github.com/ClementRingot/RAP-Transpiler/commits/v0.1.0