Skip to content

Releases

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 04 Dec 12:56
5c54f84

Minor Changes

  • 1ea351c: RAP change documents (D119): changedocuments master, changedocuments dependent and the logging options are checked as on SAP, written by the managed runtime at save and read with cl_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 in Hierarchy.RecursiveHierarchyActions of the $metadata (D118).
  • b04f07c: OData: dependsOn of 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 (basic or post), _SCOPE and _TOKEN_PARAMS; the access token is kept until shortly before it expires and requested again after a 401, 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 authentication mtls, jwt (private_key_jwt) and none, OAuth 1.0 (_OAUTH1_*).

Patch Changes

  • a01e640: The behavior pools run on @abaplint/transpiler and @abaplint/runtime 2.14.41
    (@abaplint/core 2.120.126): the addition, subtraction, multiplication and MOD of packed numbers
    are exact beyond 15 significant digits (D117), a utclong column 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 dev kills a server
    that still does not stop after 10 s instead of waiting forever before a rebuild.

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 29 Nov 22:33
e501534

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 in rapt_abap_user, instead of being cut to 12 characters (two users could share sy-uname, CreatedBy and aspect 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 @wa deletes one row, SUM/AVG/COUNT can be declared inline, SELECT … ENDSELECT accepts a field list, LOOP AT … FROM/TO accepts int8 bounds, 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-Applied for return=minimal and handling=strict, the ETag header on a 204, 201 Created and the Location for the draft actions Edit and Activate, 204 for Prepare.
  • c9c4615: rapt abapgit --suffix --out adds the draft tables SAP needs to the renamed copy; scripts/btp-roundtrip.mjs writes the repository of the draft fixture for the SAP BTP trial, with the steps to follow (D84).
  • 051bb8e: SAP__Messages on 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) with GROUP BY and HAVING in 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: BETWEEN and IS [NOT] INITIAL in conditions, and the WHERE condition of projections (D102).
  • 51c93f7: CDS: hierarchies (define hierarchy … as parent child hierarchy) compiled to recursive views with the $node attributes, and the OData recursive hierarchy of @OData.hierarchy.recursiveHierarchy served 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 as View(p=…)/Set (D107).
  • 71bb8b7: CDS: $session.user, $session.system_language and $session.client, per request (D103).
  • 5405d02: CDS: UNION and UNION ALL of view entities, checked as on SAP (D106).
  • 6fd5dc1: CDS: the WHERE condition of view entities, on columns, $projection elements and association paths, also applied to the drafts (D101).
  • a46843e: The command line is now the package @open-rap/cli of the npm organization open-rap: npm install -g @open-rap/cli (the command is still rapt). open-rap-runtime is deprecated (D112).
  • a9039ea: rapt conformance compare <src> --sap <metadata.xml> compares the $metadata of 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 DraftAdministrativeData leads to the entity set I_DraftAdministrativeData with the properties of SAP (DraftEntityType, DraftIsCreatedByMe, DraftIsProcessedByMe, …), and the draft entities have DraftEntityCreationDateTime and DraftEntityLastChangeDateTime. 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, Prepare runs the validations and determinations it names and returns their messages, and instance actions run on a draft instance.
  • 2ba698d: Draft: the SiblingEntity navigation of the draft protocol (D81), in paths, $filter and $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 Prepare are kept with the draft and read in SAP__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_draft in 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.mjs turns a HAR of an SAP BTP trial into cases, and rapt dev --fe-check tells 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, Edit of 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: %pid and preliminary keys in the interaction phase, adjust_numbers of 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/mcp and resource_metadata in the 401, so that Claude or another MCP client signs the user in at the identity provider; OIDC_MCP_SCOPES.
  • d646f19: The $metadata closer to the one of SAP BTP (D92): OnDelete Cascade on compositions, UUIDs not nullable, Prepare and Resume without result (Resume answers 204), the controls and the draft fields hidden from the filter bar, side effects qualified SAP__Field_<field>, actions named with their binding parameter, Common.DraftActivationVia on draft nodes, Common.CreatedBy/ChangedAt…, the labels of I_DraftAdministrativeData.
  • c6a2dc9: cl_abap_char_utilities=>minchar; in standard mode a number range interval that is not configured raises cx_nr_object_not_found, as on SAP (D97).
  • 41d3f91: The sources SAP BTP must refuse (D91): fixtures/negative/cases.json, written for the trial by scripts/btp-roundtrip.mjs --negative; ABP012 refuses a system field written (sy-subrc = 0.) and CALL FUNCTION, as ABAP for Cloud Development does.
  • 2d3f1e9: OData: nested $expand (5 levels) and $filter with any and all on collection navigations, with the access controls of the target (D82).
  • 9ecb651: Launchpad: the counts of the tiles are read again every refresh seconds 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.mjs records 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/core 2.120.107, @abaplint/transpiler and @abaplint/runtime 2.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.lineItem importance, 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.mjs to 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-mandt is 100, as $session.client; $session.user_timezone and $session.user_date, and sy-zonlo, sy-datlo, sy-timlo set (D103).
  • 2626091: Round 2 on the SAP BTP trial (D99): the recordings keep the observed values a question needs, a strict-handling scenario and its variant, and the checklist of the session.

v0.2.1

Choose a tag to compare

@github-actions github-actions released this 13 Nov 14:08
0dfb672

Patch Changes

  • 0a1f101: The VS Code extension has its icon, in VS Code and on the Visual Studio Marketplace.

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 13 Nov 12:59
284efd1

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 .vsix installed shows as another extension;
    uninstall it, the rapt.* settings are kept).

Patch Changes

  • rapt launchpad dev: a regeneration of the launchpad that throws no longer stops the next ones.

v0.1.2

Choose a tag to compare

@github-actions github-actions released this 12 Nov 20:44
d182a8f

Full Changelog: v0.1.1...v0.1.2

v0.1.1

Choose a tag to compare

@github-actions github-actions released this 12 Nov 19:03
8599508

Full Changelog: v0.1.0...v0.1.1

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 12 Nov 14:43
9c77303

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