Skip to content

Commit

Permalink
object load and object save
Browse files Browse the repository at this point in the history
  • Loading branch information
lmajano committed Aug 9, 2024
1 parent 7ec5deb commit b591f06
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 14 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ on:
default: false
type: boolean

# Manual Trigger
workflow_dispatch:

env:
MODULE_ID: bx-compat
SNAPSHOT: ${{ inputs.snapshot || false }}
Expand Down Expand Up @@ -180,14 +183,9 @@ jobs:
steps:
- name: Checkout Development Repository
uses: actions/checkout@v4
if: env.LTS == 'false'
with:
ref: development

- name: Checkout LTS Repository
uses: actions/checkout@v4
if: env.LTS == 'true'

- name: Setup Gradle
uses: gradle/gradle-build-action@v3
with:
Expand All @@ -205,12 +203,7 @@ jobs:
- name: Bump Version
run: |
if [ $LTS == 'true' ]
then
gradle bumpPatchVersion --stacktrace --console=plain
else
gradle bumpMinorVersion --stacktrace --console=plain
fi
gradle bumpMinorVersion --stacktrace --console=plain
git pull
- name: Commit Version Bump
Expand Down
9 changes: 7 additions & 2 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

- Module should coerce null values to empty string if the `queryNullToEmpty` is set to true, which is the default
- `objectLoad(), and objectSave()` aliases for `objectSerialize()` and `objectDeserialize()` respectively.

## [1.1.0] - 2024-06-29

### Fixed

- change of interface for cache provider returning arrays now since beta3
Expand All @@ -20,6 +25,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- First iteration of this module

[Unreleased]: https://github.com/ortus-boxlang/bx-compat/compare/v1.0.0...HEAD

[Unreleased]: https://github.com/ortus-boxlang/bx-compat/compare/v1.1.0...HEAD
[1.1.0]: https://github.com/ortus-boxlang/bx-compat/compare/v1.1.0...v1.1.0
[1.0.0]: https://github.com/ortus-boxlang/bx-compat/compare/06e6a42cf95887e081e639073f36b481eb334097...v1.0.0
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Gradle Properties
version=1.1.0
group=io.boxlang
boxlangVersion=1.0.0-beta3
boxlangVersion=1.0.0-beta9
jdkVersion=21
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/**
* [BoxLang]
*
* Copyright [2023] [Ortus Solutions, Corp]
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the
* License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS"
* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/
package ortus.boxlang.modules.compat.bifs.system;

import ortus.boxlang.runtime.bifs.BoxBIF;
import ortus.boxlang.runtime.bifs.global.system.ObjectDeserialize;

@BoxBIF
public class ObjectLoad extends ObjectDeserialize {

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/**
* [BoxLang]
*
* Copyright [2023] [Ortus Solutions, Corp]
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the
* License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS"
* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/
package ortus.boxlang.modules.compat.bifs.system;

import ortus.boxlang.runtime.bifs.BoxBIF;
import ortus.boxlang.runtime.bifs.global.system.ObjectSerialize;

@BoxBIF
public class ObjectSave extends ObjectSerialize {

}

0 comments on commit b591f06

Please sign in to comment.