Skip to content

Commit

Permalink
release: 0.1.47
Browse files Browse the repository at this point in the history
  • Loading branch information
ingydotnet committed Mar 25, 2024
1 parent 6874199 commit 83263d8
Show file tree
Hide file tree
Showing 40 changed files with 79 additions and 49 deletions.
2 changes: 1 addition & 1 deletion .profile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ys-local() {
YS() (
set -e
base=$YAMLSCRIPT_ROOT/ys
libyamlscript_version=0.1.46
libyamlscript_version=0.1.47
jar=yamlscript.cli-$libyamlscript_version-SNAPSHOT-standalone.jar
make --no-print-directory -C "$base" jar
java -jar "$base/target/uberjar/$jar" "$@"
Expand Down
2 changes: 1 addition & 1 deletion .version.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Used by util/version-bump to update versions in repo

v_api=0.1.46
v_api=0.1.47

v_perl=$v_api
v_python=$v_api
Expand Down
14 changes: 14 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@

- version: 0.1.47
date: Mon Mar 25 10:28:21 AM PDT 2024
changes:
- release: Fix bug in release script
- core: Switch $ and $$ symbols
- core: Make !yamlscript/v0/ short for !yamlscript/v0/data
- ys: Fix typo in Makefile variable name
- core: Add support with `=>` code mode preamble in data mode
- release: Add -R to copy for macOS/Intel bug fix
- ys: Don't print help text after usage error
- ys: Add current version to --help title
- ys: -e '.foo' -> -e '$$.foo' for simple expressions
- sample: Add more YS code samples

- version: 0.1.46
date: Wed Mar 20 10:55:26 AM PDT 2024
changes:
Expand Down
2 changes: 1 addition & 1 deletion Meta
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
=meta: 0.0.2

name: YAMLScript
version: 0.1.46
version: 0.1.47
abstract: Program in YAML
homepage: https://yamlscript.org
license: mit
Expand Down
2 changes: 1 addition & 1 deletion ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ Make sure `~/.local/bin` is in your `PATH` environment variable.
You can use the following environment variables to control the installation:

* `PREFIX=...` - The directory to install to. Default: `~/.local`
* `VERSION=...` - The YAMLScript version to install. Default: `0.1.46`
* `VERSION=...` - The YAMLScript version to install. Default: `0.1.47`
* `BIN=1` - Only install the `PREFIX/bin/ys` command line tool.
* `LIB=1` - Only install the `PREFIX/lib/libyamlscript` shared library.
* `DEBUG=1` - Print the Bash commands that are being run.
Expand Down
2 changes: 1 addition & 1 deletion clojure/deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
org.clojure/data.json {:mvn/version "2.4.0"},
org.json/json {:mvn/version "20240205"},
net.java.dev.jna/jna {:mvn/version "5.14.0"},
org.yamlscript/yamlscript {:mvn/version "0.1.46"}}}
org.yamlscript/yamlscript {:mvn/version "0.1.47"}}}
4 changes: 2 additions & 2 deletions clojure/project.clj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
;; This code is licensed under MIT license (See License for details)
;; Copyright 2023-2024 Ingy dot Net

(defproject org.yamlscript/clj-yamlscript "0.1.46"
(defproject org.yamlscript/clj-yamlscript "0.1.47"
:description
"YAMLScript is a functional programming language whose syntax is encoded in
YAML."
Expand All @@ -23,7 +23,7 @@
[org.clojure/data.json "2.4.0"]
[org.json/json "20240205"]
[net.java.dev.jna/jna "5.14.0"]
[org.yamlscript/yamlscript "0.1.46"]]
[org.yamlscript/yamlscript "0.1.47"]]

:deploy-repositories
[["releases"
Expand Down
2 changes: 1 addition & 1 deletion common/install.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ SHELL := bash
ROOT := $(shell \
cd '$(abspath $(dir $(lastword $(MAKEFILE_LIST))))' && pwd -P)

YAMLSCRIPT_VERSION := 0.1.46
YAMLSCRIPT_VERSION := 0.1.47

YS := $(wildcard ys)
LIBYAMLSCRIPT := $(firstword $(wildcard libyamlscript.*))
Expand Down
2 changes: 1 addition & 1 deletion common/project.clj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
;; This code is licensed under MIT license (See License for details)
;; Copyright 2023-2024 Ingy dot Net

(defproject yamlscript/docker "0.1.46"
(defproject yamlscript/docker "0.1.47"
:description "Program in YAML"
:dependencies
[#__
Expand Down
2 changes: 1 addition & 1 deletion core/project.clj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
;; This code is licensed under MIT license (See License for details)
;; Copyright 2023-2024 Ingy dot Net

(defproject yamlscript/core "0.1.46"
(defproject yamlscript/core "0.1.47"
:description "Program in YAML"

:url "https://github.com/yaml/yamlscript"
Expand Down
2 changes: 1 addition & 1 deletion core/src/yamlscript/runtime.clj
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
:refer [abspath
get-yspath]]))

(def ys-version "0.1.46")
(def ys-version "0.1.47")

(def ARGS (sci/new-dynamic-var 'ARGS))
(def ARGV (sci/new-dynamic-var 'ARGV))
Expand Down
2 changes: 1 addition & 1 deletion java/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ include ../common/base.mk
include $(COMMON)/binding.mk
include $(COMMON)/java.mk

YAMLSCRIPT_JAVA_JAR := target/yamlscript-0.1.46.jar
YAMLSCRIPT_JAVA_JAR := target/yamlscript-0.1.47.jar

#------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<artifactId>yamlscript</artifactId>

<version>0.1.46</version>
<version>0.1.47</version>

<name>yamlscript</name>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/
public class YAMLScript
{
public static String YAMLSCRIPT_VERSION = "0.1.46";
public static String YAMLSCRIPT_VERSION = "0.1.47";

public static Object load(String ysCode)
{
Expand Down
2 changes: 1 addition & 1 deletion libyamlscript/deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{org.clojure/clojure {:mvn/version "1.11.1"},
org.babashka/sci {:mvn/version "0.8.40"},
org.clojure/data.json {:mvn/version "2.4.0"},
yamlscript/compiler {:mvn/version "0.1.46"}},
yamlscript/compiler {:mvn/version "0.1.47"}},
:aliases
{:lein2deps
{:deps
Expand Down
4 changes: 2 additions & 2 deletions libyamlscript/project.clj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
;; This code is licensed under MIT license (See License for details)
;; Copyright 2023-2024 Ingy dot Net

(defproject yamlscript/libyamlscript "0.1.46"
(defproject yamlscript/libyamlscript "0.1.47"
:description "Shared Library for YAMLScript"

:url "https://yamlscript.org"
Expand All @@ -20,7 +20,7 @@
[[org.clojure/clojure "1.11.1"]
[org.babashka/sci "0.8.41"]
[org.clojure/data.json "2.4.0"]
[yamlscript/core "0.1.46"]]
[yamlscript/core "0.1.47"]]

:plugins
[[lein-exec "0.3.7"]
Expand Down
6 changes: 6 additions & 0 deletions perl-alien/Changes
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@

---
version: 0.1.47
date: Mon Mar 25 10:28:21 AM PDT 2024
changes:
- libyamlscript 0.1.47

---
version: 0.1.46
date: Wed Mar 20 11:08:26 AM PDT 2024
Expand Down
2 changes: 1 addition & 1 deletion perl-alien/Meta
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
base: ../Meta

name: Alien-YAMLScript
version: 0.1.46
version: 0.1.47

language: perl

Expand Down
2 changes: 1 addition & 1 deletion perl-alien/alienfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use alienfile;

my $libyamlscript_version = '0.1.46';
my $libyamlscript_version = '0.1.47';

# Always use a share install
# We cannot use a system install, because we need to know exactly
Expand Down
4 changes: 2 additions & 2 deletions perl-alien/lib/Alien/YAMLScript.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ use warnings;

package Alien::YAMLScript;

our $VERSION = '0.1.46';
our $VERSION = '0.1.47';

use parent 'Alien::Base';

our $libyamlscript_version = '0.1.46';
our $libyamlscript_version = '0.1.47';

die "Alien::YAMLScript $VERSION requires libyamlscript $libyamlscript_version" .
"but you have " . __PACKAGE__->version
Expand Down
6 changes: 6 additions & 0 deletions perl/Changes
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@

---
version: 0.1.47
date: Mon Mar 25 10:28:21 AM PDT 2024
changes:
- libyamlscript 0.1.47

---
version: 0.1.46
date: Wed Mar 20 11:08:26 AM PDT 2024
Expand Down
4 changes: 2 additions & 2 deletions perl/Meta
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
base: ../Meta

name: YAMLScript
version: 0.1.46
version: 0.1.47

language: perl

Expand All @@ -12,7 +12,7 @@ author:

requires:
perl: 5.16.0
Alien::YAMLScript: 0.1.46
Alien::YAMLScript: 0.1.47
FFI::CheckLib: 0.31
FFI::Platypus: 2.08
Cpanel::JSON::XS: 4.37
Expand Down
4 changes: 2 additions & 2 deletions perl/lib/YAMLScript.pm
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ use FFI::CheckLib ();
use FFI::Platypus;
use Cpanel::JSON::XS ();

our $VERSION = '0.1.46';
our $VERSION = '0.1.47';

our $libyamlscript_version = '0.1.46';
our $libyamlscript_version = '0.1.47';


#------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion python/lib/yamlscript/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# This value is automatically updated by 'make bump'.
# The version number is used to find the correct shared library file.
# We currently only support binding to an exact version of libyamlscript.
yamlscript_version = '0.1.46'
yamlscript_version = '0.1.47'

import os, sys
import ctypes
Expand Down
2 changes: 1 addition & 1 deletion python/setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = '0.1.46'
version = '0.1.47'

from setuptools import setup
import pathlib
Expand Down
2 changes: 1 addition & 1 deletion raku/META6.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ "api": 0
, "name": "YAMLScript"
, "version": "0.1.46"
, "version": "0.1.47"
, "description": "Program in YAML"
, "auth": "zef:ingy"
, "provides":
Expand Down
2 changes: 1 addition & 1 deletion raku/lib/YAMLScript.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ unit class YAMLScript;

use NativeCall;

constant YAMLSCRIPT_VERSION = v0.1.46;
constant YAMLSCRIPT_VERSION = v0.1.47;

sub from-j($t) { ::("Rakudo::Internals::JSON").from-json($t); }

Expand Down
4 changes: 4 additions & 0 deletions ruby/ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [0.1.47] - 2024-03-25

- libyamlscript 0.1.47

## [0.1.46] - 2024-03-20

- libyamlscript 0.1.46
Expand Down
2 changes: 1 addition & 1 deletion ruby/lib/yamlscript.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class YAMLScript
# TODO: This value is automatically updated by 'make bump'.
# The version number is used to find the correct shared library file.
# We currently only support binding to an exact version of libyamlscript.
YAMLSCRIPT_VERSION = '0.1.46'
YAMLSCRIPT_VERSION = '0.1.47'

# A low-level interface to the native library
module LibYAMLScript
Expand Down
2 changes: 1 addition & 1 deletion ruby/lib/yamlscript/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

class YAMLScript
VERSION = "0.1.46"
VERSION = "0.1.47"
end
8 changes: 4 additions & 4 deletions rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "yamlscript"
version = "0.1.46"
version = "0.1.47"
edition = "2021"
description = "Program in YAML"
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion rust/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ use serde::Deserialize;
use crate::error::LibYAMLScriptError;

/// The name of the yamlscript library to load.
const LIBYAMLSCRIPT_FILENAME: &str = "libyamlscript.so.0.1.46";
const LIBYAMLSCRIPT_FILENAME: &str = "libyamlscript.so.0.1.47";

/// A wrapper around libyamlscript.
pub struct YAMLScript {
Expand Down
8 changes: 4 additions & 4 deletions www/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ or:

```text
$ ys --version
YAMLScript 0.1.46
YAMLScript 0.1.47
```


Expand Down Expand Up @@ -255,9 +255,9 @@ For Python you would do:

```bash
$ pip install yamlscript
Successfully installed yamlscript-0.1.46
$ curl -sSL yamlscript.org/install | VERSION=0.1.46 install
Installed ~/.local/lib/libyamlscript.so - version 0.1.46
Successfully installed yamlscript-0.1.47
$ curl -sSL yamlscript.org/install | VERSION=0.1.47 install
Installed ~/.local/lib/libyamlscript.so - version 0.1.47
```

For some other language, use that language's library installer.
Expand Down
2 changes: 1 addition & 1 deletion www/src/install
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

set -e -u -o pipefail

LIBYAMLSCRIPT_VERSION=0.1.46
LIBYAMLSCRIPT_VERSION=0.1.47
VERSION=${VERSION:-$LIBYAMLSCRIPT_VERSION}
export VERSION

Expand Down
2 changes: 1 addition & 1 deletion ys/deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
org.babashka/sci {:mvn/version "0.8.41"},
babashka/process {:mvn/version "0.5.21"},
clj-commons/clj-yaml {:mvn/version "1.0.27"},
yamlscript/core {:mvn/version "0.1.46"}},
yamlscript/core {:mvn/version "0.1.47"}},
:aliases
{:lein2deps
{:deps
Expand Down
Loading

0 comments on commit 83263d8

Please sign in to comment.