Skip to content

Commit

Permalink
release version 0.9.6 (#1422)
Browse files Browse the repository at this point in the history
  • Loading branch information
whummer committed Jul 13, 2019
1 parent 1c5ce3b commit 214d75a
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Expand Up @@ -5,6 +5,7 @@ LABEL authors="Waldemar Hummer (waldemar.hummer@gmail.com), Gianluca Bortoli (gi

# install basic tools
RUN pip install awscli awscli-local requests --upgrade
RUN apk add iputils

# add files required to run "make install"
ADD Makefile requirements.txt ./
Expand Down
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -500,6 +500,7 @@ localstack web

## Change Log

* v0.9.6: Add API Gateway SQS proxy; fix command to push Docker image; fix Docker bridge IP configuration; fix SSL issue in dashboard infra; updates to README
* v0.9.5: Reduce Docker image size by squashing; fix response body for presigned URL S3 PUT requests; fix CreateDate returned by IAM; fix account IDs for CF and SNS; fix topic checks for SMS using SNS; improve documentation around `@LocalstackDockerProperties`; add basic EC2 support; upgrade to ElasticSearch 6.7; set Last-Modified header in S3; preserve logic with uppercase event keys in Java; add support for nodejs 10.x Lambdas
* v0.9.4: Fix ARNs in CloudFormation deployments; write stderr to file in supervisord; fix Lambda invocation times; fix canonicalization of service names when running in Docker; add support for `@Nested` in Junit5; add support for batch/transaction in DynamoDB; fix output buffering for subprocesses; assign unique ports under docker-reuse; check if topic ARN exists before publish
* v0.9.3: Fix output buffering of child processes; new release of Java libs; add imageTag attribute for Java annotation
Expand Down
2 changes: 1 addition & 1 deletion bin/Dockerfile.base
Expand Up @@ -5,7 +5,7 @@ LABEL authors="Waldemar Hummer (waldemar.hummer@gmail.com)"

# install some common libs
RUN apk add --no-cache autoconf automake build-base ca-certificates curl g++ gcc git groff \
libffi-dev libtool linux-headers make openssl openssl-dev python3 python3-dev \
iputils libffi-dev libtool linux-headers make openssl openssl-dev python3 python3-dev \
py3-pip tar xz zip && \
update-ca-certificates

Expand Down
2 changes: 1 addition & 1 deletion localstack/config.py
Expand Up @@ -95,7 +95,7 @@ def is_linux():
# Make sure to keep this in sync with the above!
# Note: do *not* include DATA_DIR in this list, as it is treated separately
CONFIG_ENV_VARS = ['SERVICES', 'HOSTNAME', 'HOSTNAME_EXTERNAL', 'LOCALSTACK_HOSTNAME', 'LAMBDA_FALLBACK_URL',
'LAMBDA_EXECUTOR', 'LAMBDA_REMOTE_DOCKER', 'LAMBDA_DOCKER_NETWORK', 'USE_SSL', 'LICENSE_KEY', 'DEBUG',
'LAMBDA_EXECUTOR', 'LAMBDA_REMOTE_DOCKER', 'LAMBDA_DOCKER_NETWORK', 'USE_SSL', 'LOCALSTACK_API_KEY', 'DEBUG',
'KINESIS_ERROR_PROBABILITY', 'DYNAMODB_ERROR_PROBABILITY', 'PORT_WEB_UI', 'START_WEB', 'DOCKER_BRIDGE_IP']

for key, value in six.iteritems(DEFAULT_SERVICE_PORTS):
Expand Down
2 changes: 1 addition & 1 deletion localstack/constants.py
Expand Up @@ -2,7 +2,7 @@
import localstack_client.config

# LocalStack version
VERSION = '0.9.5'
VERSION = '0.9.6'

# default AWS region
if 'DEFAULT_REGION' not in os.environ:
Expand Down
7 changes: 3 additions & 4 deletions localstack/utils/analytics/event_publisher.py
Expand Up @@ -7,7 +7,6 @@
from localstack.utils.common import (JsonObject, to_str,
timestamp, short_uid, save_file, FuncThread, load_file)
from localstack.utils.common import safe_requests as requests
from localstack_ext.bootstrap.licensing import read_license_key

PROCESS_ID = short_uid()
MACHINE_ID = None
Expand Down Expand Up @@ -62,8 +61,8 @@ def api_key(self):

def read_api_key_safe():
try:
# TODO: rename to read_api_key
return read_license_key()
from localstack_ext.bootstrap.licensing import read_api_key
return read_api_key()
except Exception:
return None

Expand Down Expand Up @@ -129,7 +128,7 @@ def poll_and_send_messages(params):
try:
event = EVENT_QUEUE.get(block=True, timeout=None)
event = event.to_dict()
endpoint = '%s/events' % API_ENDPOINT
endpoint = '%s/events' % API_ENDPOINT.rstrip('/')
requests.post(endpoint, json=event)
except Exception:
# silently fail, make collection of usage data as non-intrusive as possible
Expand Down

0 comments on commit 214d75a

Please sign in to comment.